Skip to main content

Build and deploy system contracts

Build

Please refer to the build instructions outline here.

Post build check

  • The contracts (both .wasm and .abi files) are built into their corresponding build/contracts/<contract name> folder.

Deployment

To deploy a contract, simply use the clio set contract [OPTIONS] command, pointing to the appropriate directory for that specific contract.

Deploy sysio.bios

clio set contract testerbios /path/to/sysio.contracts/build/contracts/sysio.bios/ -p testerbios

Deploy sysio.msig

clio set contract testermsig /path/to/sysio.contracts/build/contracts/sysio.msig/ -p testermsig

Deploy sysio.system

clio set contract testersystem /path/to/sysio.contracts/build/contracts/sysio.system/ -p testersystem

Deploy sysio.token

clio set contract testertoken /path/to/sysio.contracts/build/contracts/sysio.token/ -p testertoken

Deploy sysio.wrap

clio set contract testerwrap /path/to/sysio.contracts/build/contracts/sysio.wrap/ -p testerwrap