A blockchain oracle platform built with Hardhat and Solidity.
-
Install dependencies by running:
pnpm install
-
Running modes:
To build the project for production deployment, use:
pnpm run build
To start the development mode, use:
pnpm run dev
To deploy the project to a local blockchain, use:
-
Deploy the
Address Record
contract first.pnpm run contract:deploy-addressRecord
-
Set the
Address Record
contract address to theapps/blockchain/.env
file. -
Deploy the
Oracle
contract.pnpm run contract:deploy
-
-
Code quality checks by running:
pnpm run lint pnpm run format-check
-
To format the entire codebase via prettier:
pnpm run format