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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pontis-0.2.4.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.2.4.tar.gz
Algorithm Hash digest
SHA256 042e0f22a2eff5f34e97c2dd301b75281f0b59f36692f89c43207b0688f99e87
MD5 d34dac13e79734f319ff03beb7b7a8ab
BLAKE2b-256 4a0998a55a61aa5627e12b83e36f95e9291d81e580787e4c75074e6f48363a07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pontis-0.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b5ef2355b9cbd1984f387563c24a7f871fcb665b7be3260ddedb1adf1192e5a6
MD5 479f83edb6c0f309949954d1b9185b25
BLAKE2b-256 ff6a49b083c133698c4d56376e99deb2a70693e2564a0d0075d133c8b0d88518

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