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.
- Host: GitHub
- URL: https://github.com/pcaversaccio/chainlink-price-feed
- Owner: pcaversaccio
- License: wtfpl
- Created: 2021-01-21T20:47:50.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T00:00:22.000Z (over 3 years ago)
- Last Synced: 2025-03-19T03:55:56.320Z (over 1 year ago)
- Topics: chainlink, ethereum, oracle, web3
- Language: JavaScript
- Homepage: https://docs.chain.link/docs
- Size: 126 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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