Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 813 Bytes

basic-usage.md

File metadata and controls

67 lines (43 loc) · 813 Bytes

Basic Usage

Build

You can either use Forge:

btp-scs foundry build

or Hardhat:

btp-scs hardhat build

Test

With Forge:

btp-scs foundry test

or Hardhat:

btp-scs hardhat test

Format

To format your contracts, run

btp-scs foundry format

Deploy to local network

You can deploy your contracts to a local network. First, run

btp-scs hardhat network

then:

btp-scs hardhat deploy local -m ignition/modules/main.ts

Deploy to platform network

You can also deploy your contracts to the network running on the platform by executing the following command:

btp-scs hardhat deploy remote -m ignition/modules/main.ts

Help

To get info about the tasks, run:

btp-scs --help