Metadata-Version: 2.1
Name: pontis
Version: 0.4.12
Summary: Core package for Pontis oracle on Starknet
Home-page: https://github.com/42labs/Pontis
Author: Jonas Nelle
Author-email: jonas.a.nelle@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: ==3.7.*
Description-Content-Type: text/markdown

# Pontis Oracle

## About

For more information, see the project's repository [here](https://github.com/42labs/Pontis).

## Usage

### Publishing a Price Feed

First, please register with the Pontis 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 @JonasNelle 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 pontis.core.entry import construct_entry
from pontis.publisher.client import PontisPublisherClient

client = PontisPublisherClient(private_key, publisher_address)
entry = construct_entry(key, value, timestamp, publisher)
client.publish(entry)
```
