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

Uploaded Source

Built Distribution

pontis-0.3.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pontis-0.3.2.tar.gz
Algorithm Hash digest
SHA256 ef4f975badb512869b9adf97b7bdc69ed8ac63bafe4267444d8b617f312b7464
MD5 36f79e72a098111dd8dbd9eb41f33308
BLAKE2b-256 e72412e591283a79771e7d66cadfb118c1cba71d8a3afe033b8b25d4f2f3c5c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pontis-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dcb94462cfb1927c21468d021362c4f437872d9b8a5975aa6e9e7682d861599e
MD5 4f7bf47c240f66724c1954a117dd3133
BLAKE2b-256 d740080764914d900fa6d1737a5bc439e221f5a550f4531fd6f63a27c4326a09

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