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.0.tar.gz
(10.8 kB
view hashes)
Built Distribution
Close
Hashes for empiric_network-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 510a4cf1389a66eff64a72d17d1d6af42bb4456a5f65b2c5bc24503a8e930b58 |
|
MD5 | f54a802c40efd3dce8a2ea944c2e60f1 |
|
BLAKE2b-256 | 614881682430cee5b84e1840cbaaff596987379216a00420885eca4944a6c0e9 |