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.3.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for empiric_network-0.7.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae348055ffabcc0c048e82496ac84cd67504abb0e5b7b3b4bbd58e4e4e8821e |
|
MD5 | 90769a7ea13cc84fea000c8fcff2963b |
|
BLAKE2b-256 | 7e993f266f6f905aece82a11e0e32612e7eacb76ccdaee85b0d42d2c2dec1ab0 |