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

Uploaded Source

Built Distribution

pontis-0.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pontis-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5f71cdc40bd830a9ad916bc4818bb577bbfb723d74f389967d43145c8c5051e1
MD5 64f670a1f0a5baf1308603ddd626b222
BLAKE2b-256 8c31a513aa95bc8a8b2afd22192fd576588f95fae64d469ff3e635588e7aaf25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pontis-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d03a7cbf91c576dcc2ddd42a0536c16a2b2c9b7ff3abd30615dd4971c1a6c3fc
MD5 16e8b95b131fbe2a076ae5919dc365da
BLAKE2b-256 9bc60c7a902573a54f1fa9ae02a104074050f03e37370df5924fbb1489843447

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