Skip to main content

Contains examples and plugins for reporting to the TellorX Oracle.

Project description

Telliot Feed Examples

Project documentation:

Installation and Configuration:

Examples

Report legacy ID 41 on Rinkeby

  1. Make sure that Telliot is configured for Rinkeby (chain_id=4)

  2. Report using the CLI:

    telliot-examples report uspce
    
  3. Enter value when prompted.

AMPL Feed Examples

First, make sure you have the required configurations:

  1. Generate default AMPL configs:
    python src/telliot_feed_examples/config.py
    
  2. Add AMPL api keys (BraveNewCoin/Rapid & AnyBlock) to ~/telliot/ampl.yaml

Report legacy ID 10 once

  1. Report using the CLI:
    telliot-examples report legacyid
    
  2. When prompted, type 10 and press [ENTER].

Report legacy ID 10 each day after midnight UTC

  1. Run a script:
    python scripts/report_usd_vwap.py
    

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.2.tar.gz (188.3 kB view hashes)

Uploaded Source

Built Distribution

telliot_feed_examples-0.0.2-py3-none-any.whl (25.9 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