Tellor Docs V2
  • The Basics
    • Welcome
    • Fundamentals
    • Contracts Overview
    • Contracts Reference
  • Getting Data
    • Introduction
    • Creating a Query
    • Reading Data
      • Tellor Playground
    • Funding a Feed
    • Tellor Functions
  • Reporting Data
    • Introduction
    • Becoming a Reporter
      • Staking / Unstaking
      • Submitting Values
    • Getting Paid
    • Setting up New Chains
  • Disputing Data
    • Introduction
    • Monitoring
    • How to Dispute
    • Voting/Resolution
  • Vulnerability Disclosure
Powered by GitBook
On this page
  • Telliot Configuration
  • Add your EVM chain
Edit on GitHub
  1. Reporting Data

Setting up New Chains

How to setup Tellor / report data on a new chain

PreviousGetting PaidNextIntroduction

Last updated 2 years ago

Tellor is easy to deploy on any EVM chain.

For instructions on how to deploy the smart contracts:

Telliot Configuration

To configure telliot for your new EVM chain make sure you have first. To show your current configuration:

telliot config show

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:

 {
      "type": "Chain",
      "name": "Ethereum Testnet Kovan",
      "chain": "ETH",
      "network": "kovan",
      "chain_id": 42,
      "currency": {
        "type": "EVMCurrency",
        "name": "Kovan Ether",
        "symbol": "KOV",
        "decimals": 18
      }
    }

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:

- type: RPCEndpoint
  chain_id: 42
  network: kovan
  provider: Infura
  url: wss://kovan.infura.io/ws/v3/{INFURA_API_KEY}
  explorer: https://kovan.etherscan.io

After your new chain has been added, you can now read the section, and you'll be set to report.

For non-EVM chains, feel free to and see if it's something we can do!

https://medium.com/tellor/how-to-deploy-tellor-on-an-evm-chain-c0243c60a98f
configured your telliot
Usage
reach out