Skip to content

Example project on how to use oracles with solidity smart contracts. One using chainlink data feeds and another creating our own oracle server.

Notifications You must be signed in to change notification settings

lucasvieira94/smart-contract-oracles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Contract Oracles

This project implements a contract to explain Chainlink Data Feed usage and another one to build a custom oracle that can be provided with any data.

To test:

npx hardhat test

To run oracle server:

node scripts/oracleServer.js

To deploy Currency Oracle on Rinkeby Network:

npx hardhat deploy --network rinkeby

To deploy get current price:

npx hardhat getprice --network rinkeby

About

Example project on how to use oracles with solidity smart contracts. One using chainlink data feeds and another creating our own oracle server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published