How to verify a contract on Telos EVM
Teloscan is live and readily available to verify a contract source code.
If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.
The tEVM is generally compatible with any smart contract written in Solidity.
Important Note: Be sure to validate throughout the smart contract development lifecycle to ensure that the contract is functioning as expected.
It is always recommended to thoroughly test any contract on your local machine (local development environment), and on the Telos testnet before deploying the production version to the Telos mainnet.
Due to the nature of the Telos EVM's implementation, certain versions of Solidity are not supported. Currently version 0.7.0 up to 0.8.6 should be functional.
Teloscan is live and readily available to verify a contract source code. Unverified source code will be verified on sourcify.dev which has supported integrations via Remix, Truffle, and Hardhat. Once the code has been verified, it will show in the Telos EVM Explorer on Teloscan. The source code can be viewed in the 'Contract' tab.
An example of verified code on Teloscan:
Steps to verify code
Teloscan uses Sourcify (a decentralised automated contract verification service on Ethereum-based blockchains), which makes publishing and verifying source code easy.
Follow these steps to verify a contract:
- Choose network from dropdown menu
- Input contract address
- Upload all bytecode metadata and contract files that you want to verify via the dropzone
Together with the compilation metadata, everyone can re-compile the smart contract and be sure that the source code is exactly the same as at deploy time, including every comment.