Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Course exercise on how to setup a blockchain oracle for Ethereum. In this case, it uses stock prices.

Notifications You must be signed in to change notification settings

gb-blockchain-1920/stockOracle_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Stock Oracle

In class exercise, creating a oracle for stock prices.

Aaron Lu - 101278524

Operating Instructions

  1. Deploy the stockPriceOracle.sol file on a ganache server using Remix IDE and ganache-cli -d
  2. Get an API key from Alpha Vantage and save it to a file in the front-end folder name .env. The contents should have
REACT_APP_STOCK_API_KEY=<your-api-key-here>
  1. In the front-end folder, run the React build using npm start
  2. http://localhost:3000/ now has a basic distributed application that can act as a oracle!

About

Course exercise on how to setup a blockchain oracle for Ethereum. In this case, it uses stock prices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published