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_proxy_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.3.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

pontis-0.3.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pontis-0.3.0.tar.gz
Algorithm Hash digest
SHA256 982cd30ff5c85c213332a0cc694fe30d60dd587dbe663180866fd6d84ce97c82
MD5 09e0a146ebd1c4b9bda0270bd6d87b10
BLAKE2b-256 21775169714b2c9346a957b26771eeea97533e28dd8655806cc5fb17d8cf5e61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pontis-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69b329638db13ee81e6887b6d385ced6b120685e6b930f6c30598cad40e90b37
MD5 dd2651eba0526063402910617546d305
BLAKE2b-256 bfbd19cdfb058d256ca16af315d5e89d83df9b2f5b196b15bc6de34cf59dc82e

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