Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 708 Bytes

README.md

File metadata and controls

51 lines (35 loc) · 708 Bytes

Solidity Template V2

Prerequisites

  1. Install dependencies:

    npm ci
  2. Create .env file based on .env.example:

    INFURA_KEY="<string?>"
    MNEMONIC_DEV="<string?>"
    MNEMONIC_PROD="<string?>"
    FORKING_NETWORK="<main | sepolia?>"
    ETHERSCAN_API_KEY="<string?>"
  3. Compile contracts:

    npm run compile

Development

Run tests

npm run test

Coverage report

npm run coverage

Deploy contracts

npm run deploy ./ignition/modules/lock.ts -- --parameters ./ignition/parameters.json --network <network-name>

Run code analyzers

npm run codestyle