An open API service indexing awesome lists of open source software.

https://github.com/pcaversaccio/chainlink-price-feed

Retrieve the ETH/USD price feed from Chainlink's oracle using Infura.
https://github.com/pcaversaccio/chainlink-price-feed

chainlink ethereum oracle web3

Last synced: over 1 year ago
JSON representation

Retrieve the ETH/USD price feed from Chainlink's oracle using Infura.

Awesome Lists containing this project

README

          

# Ethereum Price Feeds from Chainlink
The file `getLatestPriceETHUSD.js` retrieves the ETH/USD price feed from [Chainlink](https://chain.link/)'s oracle using [Infura](https://infura.io/). First, run `npm i` and thereafter `node getLatestPriceETHUSD.js`.

## Price Feed ETH/USD Contract Addresses
### Mainnet
address = `0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419`
### Rinkeby
address = `0x8A753747A1Fa494EC906cE90E9f37563A8AF630e`
### Kovan
address = `0x9326BFA02ADD2366b30bacB125260Af641031331`

## Reference:
[1] https://docs.chain.link/docs/ethereum-addresses