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

Uploaded Source

Built Distribution

pontis-0.4.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pontis-0.4.3.tar.gz
  • Upload date:
  • Size: 5.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.4.3.tar.gz
Algorithm Hash digest
SHA256 47aebf06726adc2628a1cc0da918856ff8ea70e997ffee4a6d3489f8db30fa23
MD5 636e379ddb0964e19854202bb48951c9
BLAKE2b-256 d4545a9a01744547456e3bbe1e5c323532e2a71eb742588e37321c3e918e8e70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pontis-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 7.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.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a224ecfe06861410e90a3f61fecc5d58ff5d997a5f329ac68f2fbe0cd4087b0d
MD5 baccda9bdc6f02a1d5bd7a20b5b74b56
BLAKE2b-256 39535cef9cd47b4608df74592e449fd6fac9c7cc058f200dbd431ed2229a51da

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