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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pontis-0.6.3.tar.gz.
File metadata
- Download URL: pontis-0.6.3.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdc34976ebaeeb35178c9e1188abe881c693b1602791c49dcd902aa5d637e37d
|
|
| MD5 |
06af83236c07084dd1321ffbf84f19f3
|
|
| BLAKE2b-256 |
4d7723f395539b0107fdd02352963de5a9ef4431f09cdbe7ab0aa3052bbafa7c
|
File details
Details for the file pontis-0.6.3-py3-none-any.whl.
File metadata
- Download URL: pontis-0.6.3-py3-none-any.whl
- Upload date:
- Size: 17.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 |
a517140c927c274ae11ef9c1eaad105a895640df7a6cbd261c3c53f2d1222214
|
|
| MD5 |
2497751b1acfdda28d8667429be279fd
|
|
| BLAKE2b-256 |
13b37cd39f64ad4a354ae1642a33d4d9de5fe5d2431644e35e830b47ec6d021e
|