Contact Us

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.

Please fill out the contact form below and we will reply as soon as possible.

  • Submit a Support Request
  • Home
  • EVM

How to verify a contract on Telos EVM

Teloscan is live and readily available to verify a contract source code.

Written by Yknot Blockchain Solutions

Updated at March 17th, 2022

Contact Us

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.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
  • FAQs
  • Decentralized Exchanges (DEX)
  • EVM
  • Telos Web Wallet
  • Security
  • Educational
  • NFT
+ More

EVM Compatibility 

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.

 

Code Verification

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:

https://www.teloscan.io/address/0xd2504a02fabd7e546e41ad39597c377ca8b0e1df


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:

  1. Choose network from dropdown menu
  2. Input contract address
  3. 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.


Delete

Warning

A verified contract simply stipulates that the source code can be scanned and verified via the explorer for any bugs/exploits/backdoors/etc. Beware that it does not automatically imply that there are not any bugs. Developers who have obvious back doors won't want to upload and verify their source code. Note that the green checkmark to imply that the code is audited against these, just that the code as you see it is verified.


sourcify evm telos tevm verify code teloscan smart contracts bugs exploits backdoors

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • List of token contract addresses on TEVM
  • How to deposit TLOS on the Telos EVM
  • Ways to get TLOS onto / off the Telos EVM
  • Using dapps on the tEVM
Facebook Logo Twitter Logo Telos ESG crypto youtube

©2021 Telos
Telos - For a faster, fairer future!

Telos Technical Roadmap Privacy policy Legal

Definition by Author

0
0
Expand