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

Uploaded Source

Built Distribution

pontis-0.4.5-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pontis-0.4.5.tar.gz
  • Upload date:
  • Size: 5.3 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.5.tar.gz
Algorithm Hash digest
SHA256 d7c5ddea97d82778d0f68d50a297f2771139e315485f99811cb2ec983971550e
MD5 902b53725b33c4ed200463e8574a4abc
BLAKE2b-256 867c4028c0bac22a8f39c7a9d8ad0bf373f8426273e70e1eccb0dcb141249db5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pontis-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 7.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 326ae1abccf16122b0879271da09e0fb7bc72d5d84a3022ac9a74a32fa59f5fa
MD5 f14292d4a00f677e22b5099c710a364b
BLAKE2b-256 30c11533f7e11372a39654d82cc0ce7b3aef1c2bb984fa7a7cd12d81376b407c

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