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

Uploaded Source

Built Distribution

pontis-0.4.7-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pontis-0.4.7.tar.gz
  • Upload date:
  • Size: 9.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.4.7.tar.gz
Algorithm Hash digest
SHA256 5446e475744eccc8725f70e5e2f2c4701300cdab154a3640a918a6dbd3aa9604
MD5 5004dbcebf380d5707b1192e2f5f7b5c
BLAKE2b-256 aff58b5b2de262457d452e4f2033d51867071a7488a916b6703a8f7b8ade2c80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pontis-0.4.7-py3-none-any.whl
  • Upload date:
  • Size: 17.7 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f5caff1e5098fad42265ba10a0922dc9b3ab1924a707f2ec720ced87262280d9
MD5 0d3538a0c309a361ea8c7ce2f04d7d48
BLAKE2b-256 ed63293032c02e9994bd3f283edaf0c46306b66a4f6476d83e7e985315225149

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