Compile
Last updated
Last updated
The Compile Tab is designed to simplify the compilation process for smart contracts. It ensures compatibility with different Solidity versions and Ethereum Virtual Machine (EVM) configurations, giving developers flexibility and control.
1. Select Contract Type
At the top, you will find options for different contract types such as ERC20, ERC721, ERC1155, Stablecoin, Real-World Asset, Governor, and Custom.
Click on the desired contract type to load the associated code template.
2. Configure Solidity Compiler
Compiler Dropdown:
Choose the Solidity compiler version compatible with your contract requirements (e.g., 0.8.22
or 0.8.19
).
The dropdown allows you to select the compiler version for compatibility with various blockchain networks.
EVM Version Dropdown:
Select the EVM version (e.g., London, Istanbul) to ensure the contract complies with the target blockchain specifications.
3. View and Edit Code
The main editor displays the Solidity code for your selected contract template.
You can modify the code directly in the editor to customize parameters such as:
Token Name
Symbol
Premint Amount
Additional contract functionality.
4. Compile the Contract
Once you have configured the settings and edited the code:
Click the Compile button to generate the bytecode and ABI (Application Binary Interface).
A progress indicator will show the compilation status.
Successful Compilation:
If the contract compiles successfully, the interface will display the output.
Errors or warnings will be highlighted in the editor for easy debugging.