Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 923 Bytes

README.md

File metadata and controls

50 lines (35 loc) · 923 Bytes

Oracle

A blockchain oracle platform built with Hardhat and Solidity.

Getting Started

  1. Install dependencies by running:

    pnpm install
  2. 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:

    1. Deploy the Address Record contract first.

      pnpm run contract:deploy-addressRecord
    2. Set the Address Record contract address to the apps/blockchain/.env file.

    3. Deploy the Oracle contract.

      pnpm run contract:deploy
  3. Code quality checks by running:

    pnpm run lint
    pnpm run format-check
  4. To format the entire codebase via prettier:

    pnpm run format