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.core.entry import construct_entry
from pontis.publisher.client import PontisPublisherClient
client = PontisPublisherClient(private_key, publisher_address)
entry = construct_entry(key, value, timestamp, publisher)
client.publish(entry)
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.10.tar.gz
.
File metadata
- Download URL: pontis-0.4.10.tar.gz
- Upload date:
- Size: 10.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 | 57ac5de2b22d2085affb3fbe6207f58f46b8a9e163b1b737e9bc74854d7d4f55 |
|
MD5 | 45caea80e2f37d754105293823dd3ba5 |
|
BLAKE2b-256 | 33df3a0b88df1369546537396930dc9cd2b449d4ab9393544c2da058defeee6b |
File details
Details for the file pontis-0.4.10-py3-none-any.whl
.
File metadata
- Download URL: pontis-0.4.10-py3-none-any.whl
- Upload date:
- Size: 18.8 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 | 3b5fef11340c33af9177fc49d3c4f713fea4d0f27d1d1dd5dbd585d68f0cf555 |
|
MD5 | d7b74810204fbf890c819eade444ef61 |
|
BLAKE2b-256 | ca598e86c2f1aea779e61a8d3052b98434ba6747f5ca5916e474d74a499a83b2 |