Build a Flare Time Series Oracle for the Songbird Network(FTSO)
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 Songbird Network as a hash.
1. Some of the API endpoints where price data can be collected for each trading pair:
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
more info:
https://www.npmjs.com/package/@flarenetwork/ftso_price_provider_kick_off_package
this has more information about the FTSO, the folder "priceProviderMockContracts" shows mock up contract of a price provider.
https://gitlab.com/flarenetwork/flare-smart-contracts/-/tree/master/contracts/ftso
Configuration of Songbird Node.
https://gitlab.com/flarenetwork/node-config
https://songbird-explorer.flare.network/address/0x6d323e71E141cE2d7b752313C8A654a9C9d1b377/transactions
3. Create an interfacing for delegating to our FTSO.
1. Some of the API endpoints where price data can be collected for each trading pair:
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
more info:
https://www.npmjs.com/package/@flarenetwork/ftso_price_provider_kick_off_package
this has more information about the FTSO, the folder "priceProviderMockContracts" shows mock up contract of a price provider.
https://gitlab.com/flarenetwork/flare-smart-contracts/-/tree/master/contracts/ftso
Configuration of Songbird Node.
https://gitlab.com/flarenetwork/node-config
https://songbird-explorer.flare.network/address/0x6d323e71E141cE2d7b752313C8A654a9C9d1b377/transactions
3. Create an interfacing for delegating to our FTSO.