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

Uploaded Source

Built Distribution

pontis-0.2.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pontis-0.2.0.tar.gz
  • Upload date:
  • Size: 3.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.2.0.tar.gz
Algorithm Hash digest
SHA256 2a37beb73747b05592af2ff33dc09ea980fc95e0a71c036b25caeac2d9494823
MD5 770da2fafc66b9b5eb02a82cdfecc899
BLAKE2b-256 959f4485d0ca1e6f53e99314c64c39b9d8c58651ac3fe991b548941788ddc28c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pontis-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b1847a36d28e6ff03a027d57cd64732526c478cfa96056538a10966f88b1529
MD5 6ed4a310c720bb0c457e56a0b02c3c66
BLAKE2b-256 c54627c1676759cfe8694b537b1a6b1cab35955fb63ccade17ba6c55515a549f

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