Completium
Completium-cli installation and usage
Completium is a set of tools to support smart contract development with the Archetype language. We installed completium in the previous section, but it must be initialised.
ccli initThis will create the local configuration and default accounts.
Sandbox
A sandbox is a local simulated blockchain for testing and development purposes.
Completium-cli uses the oxheadalpha/flextesa container with a single node and bootstrapped accounts. With Docker running, ensure you have an up-to-date sandbox container:
docker pull oxheadalpha/flextesa:latestStart the blockchain sandbox:
ccli start sandboxUseful commands
Start/stop the sandbox container (a new blockchain will be created at each restart)
ccli start sandbox
ccli stop sandboxSwitch environments (sandbox, ghostnet...)
ccli switch endpointSwitch account (used for next call):
ccli switch accountOther commands will explained throughout the tutorial. You can always refresh your memory with ccli help.
Last updated