Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bcts-telliotfeeds

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bcts-telliotfeeds

Tools for interacting with Tellor Protocol smart contracts.

  • 1.0.3
  • PyPI
  • Socket score

Maintainers
1

Background

Reporting tools and datafeeds for Tellor oracles.

The package telliot-feeds version 0.1.14 forked from:
https://github.com/tellor-io/telliot-feeds

Initial Setup

Prerequisites

The following tools are expected to be installed on your system to run this project:

  • Python 3.9.x
  • Pip 23.3.x
  • Git

Setup

python3.9 -m venv tenv
source tenv/bin/activate
pip3.9 install .

Test

Install development requirements:

pip3.9 install -r requirements-dev.txt

Run automated testing in all environments:

tox

Run py39 testing:

tox -e py39

Run style testing:

tox -e style

Run typing typing:

tox -e typing

Publish

  1. Create the $HOME/.pypirc file:
[pypi]
  username = __token__
  password = pypi-AgEIcHlw... (your PyPI token)
  1. Build distribution:
python3.9 -m build
  1. Deploy distribution to PyPI repository:
twine upload dist/*

Usage

Using Docker

  1. Create & start container in the background:
docker compose up -d
  1. Execute commands in a running Docker container:
docker exec -it telliot sh

Configuration

  1. Create the default configuration files:
telliot config init

The default configuration files are created in a folder called telliot in the user's home folder.

  1. View your current configuration:
telliot config show

Using Telliot

  1. Add Reporting account:
telliot account add fantomacct1 5d18c4aabe8f0ee841e2e0ee504c7d9ec98d2aa9edb2e44d5e8825ec0670f896 4002
  1. Check Reporting account:
telliot account find
  1. Using StakingToken smart contract address provided below, mint 1000 TTRB tokens to the fantomacct1 account:
    0x8e4E5eDab27Df5a93B25AC3a62b80beec1CfEBd0

  2. Report data with the fantomacct1 account to the Tellor Oracle:

telliot report -a fantomacct1 -ncr -qt trb-usd-spot

Contributing

Bug reports and pull requests are welcome on GitHub at:
https://github.com/SELISEdigitalplatforms/l3-solidity-bcts-tellor

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc