Create a Flare Time Series Oracle (FTSO)

Job ID: 31611500

Budget: $250 – $750 USD

Build a FTSO price Oracle using API of Crypto exchanges to grab prices of assets then calculate an average for each asset then submit the results to the Flare Network.

Must know how to work with API of exchanges to grab prices such as the API endpoints listed below. Must be able to research and learn how to properly setup the price oracle to work with the Flare Network.

1. Some of the API endpoints:

FLR/USD
https://www.bitrue.com/kline-api/publicUSDT.json?command=returnTicker

XRP/USD
https://www.bitrue.com/kline-api/publicUSDT.json?command=returnTicker
https://api.binance.com/api/v3/ticker/price?symbol=XRPUSDT
curl "https://api.huobi.pro/market/detail/merged?symbol=xrpusdt"
https://openapi-v2.kucoin.com/api/v1/market/stats?symbol=XRP-USDT
https://www.gate.io/docs/developers/apiv4/en/#retrieve-ticker-information
https://ftx.com/api/markets/XRP/USD


LTC/USD
https://www.bitrue.com/kline-api/publicUSDT.json?command=returnTicker
https://api.coinbase.com/v2/prices/LTC-USD/spot
https://api.binance.com/api/v3/ticker/price?symbol=LTCUSDT
curl "https://api.huobi.pro/market/detail/merged?symbol=ltcusdt"
https://openapi-v2.kucoin.com/api/v1/market/stats?symbol=LTC-USDT
https://www.gate.io/docs/developers/apiv4/en/#retrieve-ticker-information
https://ftx.com/api/markets/LTC/USD
https://www.bitstamp.net/api/v2/ticker/ltcusd
https://api-pub.bitfinex.com/v2/ticker/tLTCUSD


DOGE/USD
https://api.coinbase.com/v2/prices/DOGE-USD/spot
https://www.bitrue.com/kline-api/publicUSDT.json?command=returnTicker
https://api.binance.com/api/v3/ticker/price?symbol=DOGEUSDT
curl "https://api.huobi.pro/market/detail/merged?symbol=dogeusdt"
https://openapi-v2.kucoin.com/api/v1/market/stats?symbol=DOGE-USDT
https://www.gate.io/docs/developers/apiv4/en/#retrieve-ticker-information
https://ftx.com/api/markets/DOGE/USD


XLM/USD
https://api.coinbase.com/v2/prices/XLM-USD/spot
https://www.bitrue.com/kline-api/publicUSDT.json?command=returnTicker
https://api.binance.com/api/v3/ticker/price?symbol=XLMUSDT
curl "https://api.huobi.pro/market/detail/merged?symbol=xlmusdt"
https://openapi-v2.kucoin.com/api/v1/market/stats?symbol=XLM-USDT
https://www.gate.io/docs/developers/apiv4/en/#retrieve-ticker-information


ADA/USD
https://api.coinbase.com/v2/prices/ADA-USD/spot
https://www.bitrue.com/kline-api/publicUSDT.json?command=returnTicker
https://api.binance.com/api/v3/ticker/price?symbol=ADAUSDT
curl "https://api.huobi.pro/market/detail/merged?symbol=adausdt"
https://openapi-v2.kucoin.com/api/v1/market/stats?symbol=ADA-USDT
https://www.gate.io/docs/developers/apiv4/en/#retrieve-ticker-information

BCH/USD
https://api.coinbase.com/v2/prices/BCH-USD/spot
https://www.bitrue.com/kline-api/publicUSDT.json?command=returnTicker
https://api.binance.com/api/v3/ticker/price?symbol=BCHUSDT
curl "https://api.huobi.pro/market/detail/merged?symbol=bchusdt"
https://openapi-v2.kucoin.com/api/v1/market/stats?symbol=BCH-USDT
https://www.gate.io/docs/developers/apiv4/en/#retrieve-ticker-information
https://ftx.com/api/markets/BCH/USD


ALGO/USD
https://api.coinbase.com/v2/prices/ALGO-USD/spot
https://www.bitrue.com/kline-api/publicUSDT.json?command=returnTicker
https://api.binance.com/api/v3/ticker/price?symbol=ALGOUSDT
https://api.huobi.pro/market/detail/merged?symbol=algousdt
https://openapi-v2.kucoin.com/api/v1/market/stats?symbol=ALGO-USDT
https://www.gate.io/docs/developers/apiv4/en/#retrieve-ticker-information

2. Divide assets to show price of additional pairing:
FLR/XRP price
https://www.bitrue.com/kline-api/publicXRP.json?command=returnTicker
FLR/LTC price
FLR/DOGE
FLR/XLM
FLR/ADA

This video below explains what I'm trying to create. Basically a price Oracle.
https://www.youtube.com/watch?v=AMIQ6Wj8pOc

more info:
https://flare.xyz/putting-songbird-in-flight/

Price submission every 2 minutes to the FTSO end points.

3. Create an interfacing for delegating to our FTSO.
Related categories: JavaScript Oracle Blockchain Ethereum Solidity