Skip to main content

CI Docs codecov Discord Chat Twitter Follow

Telliot Core

Telliot is a command line tool and software development kit (SDK) for interacting with the Tellor protocol.

Documentation for this package lives in this README. The telliot-core site pages are placeholders that link back here, and general Tellor client documentation (datafeeds, spot prices, reporting) lives in the telliot-feeds docs.

To become a Tellor reporter, begin by installing the telliot-feeds package.

Install

pip install telliot-core

Requires Python >=3.12,<3.13.

Development

Prerequisites: Python 3.12 and uv.

uv sync    # create .venv and install all dev tools from uv.lock

Run the unit tests (a local Hardhat node is required for the ape fixtures):

npm ci && npx hardhat node
uv run pytest

Check typing and style:

uv run mypy --strict src --implicit-reexport --ignore-missing-imports --disable-error-code misc
uv run pre-commit run --all-files

Once all those pass, make your pull request to main, link any related issues, tag desired reviewers, and watch the #telliot-core channel in the community discord for updates.

Adding support for a new chain

  1. Add chain ID & explorer URL to telliot_core.directory.ContractInfo.get_abi().
  2. Add chain ID & name to telliot_core.apps.core.NETWORKS.
  3. Add chain info to telliot_core.model.chain.default_chains_list.
  4. Add endpoint info to telliot_core.model.endpoints.default_endpoint_list.
  5. Add deployed oracle contract and autopay info to telliot_core.data.contract_directory.json:
    • Add address for tellor360-autopay.
    • Add address for tellor360-oracle.
    • Add address for trb-token.
    • Add address for tellor-governance.
  6. Follow steps to support a new chain in telliot-feeds.

New release checklist

  1. Ensure all tests are passing on main.
  2. Update version in src/telliot_core/__init__.py.
  3. On GitHub, draft a new release with a tag matching the version (Example: v0.4.3), titled "Release 0.4.3", with auto-generated release notes, and check "This is a pre-release".
  4. Publishing the release runs the Publish workflow, which ships the package to Test PyPI. Test the new version there (pip install -i https://test.pypi.org/simple/ telliot-core==<version>).
  5. Edit the release and uncheck "This is a pre-release", then publish again; the workflow releases the final package to PyPI.
  6. Bump version in __init__.py to the next development version.

Metadata

Release files for telliot-core 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telliot-core 0.5.0
File Size Uploaded Provenance Actions
telliot_core-0.5.0.tar.gz 62.4 kB Without provenance Details for telliot_core-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telliot-core 0.5.0
File Interpreter ABI Platform Actions
telliot_core-0.5.0-py3-none-any.whl Python 3 none any Details for telliot_core-0.5.0-py3-none-any.whl

Total release size: 135.7 kB

Release files / telliot_core-0.5.0.tar.gz

Download URL telliot_core-0.5.0.tar.gz
Size 62.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a677886eda9cb23414b4398bdcc41ae1715f9c5ef277b2a01b8d866eb248c179
BLAKE2b-256 checksum
How to use checksums
34f8bb8726aebefdbadce53b392393df6e2fb3521383c28989c356da9e6fdd11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / telliot_core-0.5.0-py3-none-any.whl

Download URL telliot_core-0.5.0-py3-none-any.whl
Size 73.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd6ac6d66ea1da91f462fd4ff7e535391c2667d21d16925341dcc2126feb0e6b
BLAKE2b-256 checksum
How to use checksums
f9e9295f5eecdcb748a6ae303ac9a1cf48e8968175678a875658e1756d324aee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for telliot-core 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page