Skip to main content

Contains examples and plugins for reporting to the TellorX Oracle.

Project description

telliot-feed-examples

Setup

  1. navigate to your home directory:
    cd ~/
    
  2. get the code:
    git clone https://github.com/tellor-io/telliot-feed-examples.git
    
  3. install python 3.8
    • if using ubuntu 18 or 20:
    sudo apt-get update
    sudo apt-get install python3.8 python3-pip
    
  4. create virtual environment:
    python3 -m venv env
    source env/bin/activate
    
  5. install dependencies:
    pip3 install -r requirements-dev.txt
    
  6. generate default telliot configs:
    telliot config init
    
  7. generate default AMPL configs:
    python src/telliot_feed_examples/config.py
    
  8. add your private key to ~/telliot/main.yaml
  9. add your node api key to ~/telliot/endpoints.yaml
  10. add your AMPL api keys to ~/telliot/ampl.yaml

Report legacy id 41 on Rinkeby

  1. run bash script:
    source scripts/report_id_41.sh
    
  2. enter a value (example: 1234.1234)
  3. press [ENTER] to confirm

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telliot_feed_examples-0.0.1.tar.gz (188.3 kB view hashes)

Uploaded Source

Built Distribution

telliot_feed_examples-0.0.1-py3-none-any.whl (24.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page