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.1.tar.gz
(10.8 kB
view hashes)
Built Distribution
Close
Hashes for empiric_network-0.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0bbae0608e6fdc2d6ccf32aa91198aa147cdd5af7d8c1fa4f245266761f9e78 |
|
MD5 | 265b2ae2e06794e74448b22db5b1d736 |
|
BLAKE2b-256 | aeaf5ed30378e497e9aff32d27b1bac3316f8bb8249f5b904db18d44d0a7cbb0 |