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_address, private_key, publisher)
client.publish(timestamp, asset, price)

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pontis-0.2.6.tar.gz
Algorithm Hash digest
SHA256 c95c5ccf95acf2c7e014ed0a9beb8f74e6e777e9c2c868c6c7de749bf9a999f0
MD5 92360a411400c487503462a004e33ba2
BLAKE2b-256 714fe141c1a66361a14a51c2451e206b8ca36a4166acfb1af8617f4c26000019

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pontis-0.2.6-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.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e47c567e9fb3e8091049ab72a89c6cd20c47f5db8b6ddc6de0e2e68b863b8730
MD5 07e5e4bdac0df1fad6ece54a18aba7e8
BLAKE2b-256 2eeba0afe5f980b71ab54ab63d5d152fd8aec84ee4ff2c867a17e1400c9ebd8c

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