Last updated:
0 purchases
bctsagtelliotcore 1.0.1
Background
Command line tool and SDK for interacting with the Tellor Protocol.
The package telliot-core version 0.3.0 forked from:
https://github.com/tellor-io/telliot-core
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 .
NPM ganache dependency required:
npm install ganache --global
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
Create the $HOME/.pypirc file:
[pypi]
username = __token__
password = pypi-AgEIcHlw... (your PyPI token)
Build distribution:
python3.9 -m build
Deploy distribution to PyPI repository:
twine upload dist/*
Usage
Configuration
Create the default configuration files:
telliot-core config init
The default configuration files are created in the folder ~/telliot/ or $HOME/telliot/.
View your current configuration:
telliot-core config show
Contributing
Bug reports and pull requests are welcome on GitHub at:
https://github.com/BCTSAG/tellor
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.