You can either use Forge:
bunx settlemint scs foundry build
or Hardhat:
bunx settlemint scs hardhat build
With Forge:
bunx settlemint scs foundry test
or Hardhat:
bunx settlemint scs hardhat test
To format your contracts, run
bunx settlemint scs foundry format
You can deploy your contracts to a local network. First, run
bunx settlemint scs hardhat network
then:
bunx settlemint scs hardhat deploy local -m ignition/modules/main.ts
To deploy your contracts to the platform network, first log in using the SDK:
bunx settlemint login
You only need to run this login
command once.
Then, you can deploy your contracts using the following command:
bunx settlemint scs hardhat deploy remote -m ignition/modules/main.ts
To get info about the tasks, run:
bunx settlemint scs --help