https://github.com/masaun/automated-chainlink-oracle-caller-for-oil-price-with-gelato
Automated Chainlink Oracle Caller for Oil Price with Gelato🍦
https://github.com/masaun/automated-chainlink-oracle-caller-for-oil-price-with-gelato
chainlink gelatonetwork solidity truffle web3js
Last synced: 6 months ago
JSON representation
Automated Chainlink Oracle Caller for Oil Price with Gelato🍦
- Host: GitHub
- URL: https://github.com/masaun/automated-chainlink-oracle-caller-for-oil-price-with-gelato
- Owner: masaun
- Created: 2020-09-11T00:04:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-27T01:08:53.000Z (about 5 years ago)
- Last Synced: 2024-10-18T20:39:34.457Z (12 months ago)
- Topics: chainlink, gelatonetwork, solidity, truffle, web3js
- Language: Solidity
- Homepage:
- Size: 65.4 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automated Chainlink Oracle Caller for Oil Price with Gelato🍦
***
## 【Introduction of Automated Chainlink Oracle Caller for Oil Price with Gelato🍦】
- This is the smart contract for retriving oil price every specified minutes automatically.
- This smart contract will bring the way of commodity price into commodity related DeFi product in the future. (This smart contract assume that it is utilized bycommodity related DeFi product in the future)
- This smart contract utilize the Chainlink for retriving oil price and the Gelato for realizing automation for executing smart contract.
***
## 【Setup】
1. Npm install
```
$ npm install
```
2. Migrate
```
$ npm run migrate:rinkeby
```
## 【Test】(※ `Rinkeby test network` )
- Testing for only OilPriceOracle contract
```
$ npm run test:rinkeby-oil
```- Testing for all contract
```
$ npm run test:rinkeby
```
***
## 【References】
- [Chainlink 💹]
- Price Feed (Sample code)
https://docs.chain.link/docs/get-the-latest-price
- Price Feed (GUI)
https://feeds.chain.link/- Contract Address (Rinkeby): `Oil/USD`
https://docs.chain.link/docs/reference-contracts#rinkeby- ChainLink Hackathon:
https://hack.chain.link
https://chainlink-hackathon.devpost.com
- [Gelato🍦]:
- Document:
https://docs.gelato.network/creating-an-automated-dapp- Document (Contract address on Rinkeby testnet)
https://docs.gelato.network/contract-addresses- Sample dApp:
https://gnosis.gelato.exchange
( https://medium.com/@gelatonetwork/walkthrough-automatically-swapping-erc20-tokens-on-gnosis-protocol-4166ec8b263e )- Workshop:
https://www.youtube.com/watch?v=D5SyFrhg1E4&feature=youtu.be- Website:
https://gelato.network/
- Blog:
https://medium.com/@gelatonetwork/ethereums-automation-protocol-gelato-network-launches-on-mainnet-88647aa10d65
- Repo:
https://github.com/gelatodigital/gelato-network
https://github.com/gelatodigital/gelato-kyber
https://github.com/gelatodigital/gelato-chi
- Discord:
https://discord.com/channels/592041321326182401/745688295891009676
https://discord.com/channels/733646962045222912/733646962573836350