Skip to main content

Core package for Pontis oracle on Starknet

Project description

Pontis Oracle

About

For more information, see the project's repository here.

Usage

Publishing a Price Feed

First, please register with the Pontis team. Currently being a data publisher is permissioned, while we build out the safeguards that will allow us to enable anyone to be a data publisher in the future. Reach out to @JonasNelle on Telegram to inquire about becoming a data publisher.

Once you have chosen your publisher_id and have a public/private key pair that is registered, you can start publishing prices!

Simply install this package and run:

from pontis.publisher.client import PontisPublisherClient

client = PontisPublisherClient(oracle_controller_address, private_key, publisher)
client.publish(key, value, timestamp)

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

pontis-0.4.9.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

pontis-0.4.9-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file pontis-0.4.9.tar.gz.

File metadata

  • Download URL: pontis-0.4.9.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for pontis-0.4.9.tar.gz
Algorithm Hash digest
SHA256 9eadb9be25e9f2a257ac44fac5f270ec364254da6981b3a03aa5d30fdd131090
MD5 f875677a7cb78b6fe50cb7809c908548
BLAKE2b-256 dd21b62f26ed7289462b02336e6120358230e6cea033c1029aaf8b4268f39496

See more details on using hashes here.

File details

Details for the file pontis-0.4.9-py3-none-any.whl.

File metadata

  • Download URL: pontis-0.4.9-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for pontis-0.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 becfd8158b9ed98fe8354a8a37f11ca2567f1b4721716bcf026063258de56d0e
MD5 f378d035c80c52e9a72a6ea5a6056ca1
BLAKE2b-256 39d02cd0cad5d1468bfde18f01b9ccd6d32e03c45bbbeffa626101c317e8f18c

See more details on using hashes here.

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