Tellor Docs
Search…
Setting up New Chains
How to setup Tellor / report data on a new chain
Tellor is easy to deploy on any EVM chain.
For instructions on how to deploy the smart contracts: https://medium.com/tellor/how-to-deploy-tellor-on-an-evm-chain-c0243c60a98f

Telliot Configuration

To configure telliot for your new EVM chain make sure you have configured your telliot first. To show your current configuration:
1
telliot config show
Copied!

Add your EVM chain

Edit the chains file

The chains configuration file allows you to add a chain to your telliot configuration. For this example we will be adding the Kovan testnet chain. Edit the ~/telliot/chains.json and add the following:
1
{
2
"type": "Chain",
3
"name": "Ethereum Testnet Kovan",
4
"chain": "ETH",
5
"network": "kovan",
6
"chain_id": 42,
7
"currency": {
8
"type": "EVMCurrency",
9
"name": "Kovan Ether",
10
"symbol": "KOV",
11
"decimals": 18
12
}
13
}
Copied!

Edit the endpoints file

Next we'll edit the ~/telliot/endpoints.yaml file to configure Telliot to use our Kovan endpoint. If you don't have an endpoint, a free one is available at Infura.io. Simply replace INFURA_API_KEY with the one provided by Infura.
Add the following to your endpoints file:
1
- type: RPCEndpoint
2
chain_id: 42
3
network: kovan
4
provider: Infura
5
url: wss://kovan.infura.io/ws/v3/{INFURA_API_KEY}
6
explorer: https://rinkeby.etherscan.io
Copied!
After your new chain has been added, you can now read the Usage section, and you'll be set to report.
For non-EVM chains, feel free to reach out and see if it's something we can do!