masaun / automated-chainlink-oracle-caller-for-oil-price-with-gelato

Automated Chainlink Oracle Caller for Oil Price with Gelato🍦

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. 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】


About

Automated Chainlink Oracle Caller for Oil Price with Gelato🍦


Languages

Language:Solidity 60.6%Language:JavaScript 39.4%