telos docs
Search…
Developing Smart Contracts on Telos EVM
How to execute transactions and deploy smart contracts on the Telos EVM
This section is aimed at jumpstarting new Telos EVM (tEVM) users. If you are totally new to developing on an EVM, we recommend reading the official Ethereum docs to get started.

Telos testnet and mainnet development

Transitioning from other EVMs to the Telos EVM is a seamless experience. You can use any of your favorite tools during development (Hardhat, Remix, Truffle, etc.) and simply configure the correct network settings when you are ready to deploy. The table below provides the necessary information for the mainnet and testnet.
Setting
Mainnet
Testnet
Chain ID
40
41
Websocket support is coming soon!

Example contract deployment

This example demonstrates how to deploy a simple Solidity contract on the Telos EVM testnet using Remix.
  1. 1.
    Add the Telos EVM network as a custom RPC network in Metamask.
  2. 2.
    Open Remix. An example project with the following structure will be created for you. (We will only be working with the 1_Storage.sol contract.)
  3. 3.
    Compile the 1_Storage.sol contract. Click on the 1_Storage.sol contract to open it in the editor. Navigate to the Solidity compiler tab and click on the "Compile 1_Storage.sol" button.
  4. 4.
    Deploy the compiled contract. Navigate to the "Deploy & Run Transactions" tab and change the environment to "Injected Web3". Make sure that you have selected the Telos EVM testnet in your Metamask and press the "Deploy" button. A page refresh might be required after enabling Metamask in order to select the "Injected Web3" option. A more in-depth description of how to deploy smart contracts using Remix can be found here.
Last modified 17d ago