Repository for the Curing Your Blockchain Blues workshop. This includes a contract suite that interacts with an off-chain resource and includes upgradable contracts.
To get setup, cd into the Oracle directory and run
npm i
To run the listener circuit, first fire up a local network
npx hardhat node
Then, setup the listener
npx hardhat run ./scripts/deploy.ts --network localhost
Finally, test the off-chain communication circuit
npx hardhat test --network localhost
To get setup, cd into the Upgradeability directory and run
npm i
Then run
npx hardhat test