Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price feed for USDC token #79

Merged
merged 9 commits into from
Jul 1, 2024
7 changes: 7 additions & 0 deletions mainnet/collections.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,12 @@
"power": 2,
"name": "BTCUSD",
"tolerance": 500000
},
{
"jobIDs": [17, 18, 19, 20, 21],
"aggregationMethod": 2,
"power": 5,
"name": "USDCUSD",
"tolerance": 500000
}
]
40 changes: 40 additions & 0 deletions mainnet/jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,45 @@
"name": "btcusd_cryptocompare",
"selector": "[USD]",
"url": "https://min-api.cryptocompare.com/data/price?fsym=BTC&tsyms=USD"
},
{
"weight": 1,
"power": 5,
"selectorType": 0,
"name": "usdcusd_stablecoin_stats",
"selector": "USDC.kraken.USDC_USD.price",
"url": "https://stablecoinstats.com/api/tickers"
},
{
"weight": 1,
"power": 5,
"selectorType": 0,
"name": "usdcusd_gemini",
"selector": "last",
"url": "https://api.gemini.com/v1/pubticker/usdcusd"
},
{
"weight": 1,
"power": 5,
"selectorType": 0,
"name": "usdcusd_coinbase",
"selector": "data.amount",
"url": "https://api.coinbase.com/v2/prices/USDC-USD/spot"
},
{
"weight": 1,
"power": 5,
"selectorType": 0,
"name": "usdcusd_kraken",
"selector": "result.USDCUSD.c[0]",
"url": "https://api.kraken.com/0/public/Ticker?pair=USDCUSD"
},
{
"weight": 1,
"power": 5,
"selectorType": 0,
"name": "usdcusd_bitstamp",
"selector": "last",
"url": "https://www.bitstamp.net/api/v2/ticker/usdcusd/"
}
]
Loading