Core package for zk-native Empiric Network
Project description
Empiric Network
About
For more information, see the project's repository here.
Usage
Publishing a Price Feed
First, please register with the Empiric 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 @EmpiricNetwork 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 empiric.core.entry import construct_entry
from empiric.publisher.client import EmpiricPublisherClient
client = EmpiricPublisherClient(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
empiric-network-0.7.4.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for empiric_network-0.7.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a15f7a3000803f3e35355b75b366329da56fb74e534c90d8cdde764282481b9 |
|
MD5 | 3b28c8331135fea7b4104431215c3564 |
|
BLAKE2b-256 | 11743d137ce8f8a3a35b4d3d1c8320bec5fda6a21da383a5f3079e26385a1017 |