In class exercise, creating a oracle for stock prices.
Aaron Lu - 101278524
- Deploy the
stockPriceOracle.sol
file on a ganache server using Remix IDE andganache-cli -d
- 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>
- In the
front-end
folder, run the React build usingnpm start
http://localhost:3000/
now has a basic distributed application that can act as a oracle!