Skip to main content

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


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)

Uploaded Source

Built Distribution

empiric_network-0.7.3-py3-none-any.whl (16.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page