Install tools for development¶
Before we can start developing smart contracts, we need to setup the environment.
Rust and Cargo¶
$rustup target add wasm32-unknown-unknown
Cargo Concordium is the tool for developing smart contracts for the Concordium blockchain. It can be used for compiling and testing smart contracts, and enables features such as building contract schemas.
Cargo Concordium is distributed as part of the Concordium software package. The tool should be placed in your PATH.
For a description of how to use the Cargo Concordium run:
$cargo concordium --help
To deploy smart contract modules and interact with the chain, make sure that you are running a node.