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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pontis-0.4.4.tar.gz
.
File metadata
- Download URL: pontis-0.4.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e23cd3bb441e856bec1b9ed3d0130bfab9460ce0e53fb05fce0d8069e7479b2 |
|
MD5 | 299abae0071b94724feedaee40fdd95c |
|
BLAKE2b-256 | 346a082ef0c9cde23ad61c1fd239253837b60a08e67d1799f0c2f519320919fa |
File details
Details for the file pontis-0.4.4-py3-none-any.whl
.
File metadata
- Download URL: pontis-0.4.4-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1716180b106f5dd8de8ab8c734ac4effb371c8ff483787f875cb7bc5a5abcdfd |
|
MD5 | e802a7f7f23ccd1629e11c0b3406f95e |
|
BLAKE2b-256 | 04cd4f4a2a610c83008fa5bbe062c9df39286068055adc45ddb5e8e7247f6996 |