Skip to content

Latest commit

 

History

History

price

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Price Oracle Server

The price oracle server serves up price data for helium token(s) acquired from the pyth.network and stores it in an S3 bucket.

The supported tokens are:

  • HNT
  • HST
  • MOBILE
  • IOT

Note that currently only HNT-USD prices are available.

The price oracle server:

  • Requests price for HNT token at a regular interval (60s) from pyth via solana RpcClient. In case of failure it uses the previously fetched price and stores the same with an updated timestamp.
  • Stores and uploads price_report to an S3 bucket.