rustuptool to manage the Rust toolchain. It's the default way of installing Rust and we highly recommend doing it that way. However, if you prefer a different method, please check the "Other installation methods" section on the official Rust website.
rustupenter the following commands in your shell:
nightlyversion, together with some additional components:
cargowhich is also used for compiling Rust code. Make sure
cargois installed correctly and visible in your shell environment:
binaryenpackage, which is used to optimize the WebAssembly bytecode of the contract. Most likely
binaryenis available from your default package manager:
binaryenpresent you can install
cargo contractis an add-on to
cargothat extends it with commands helpful in the development of smart contracts. You can check what can be done with it by invoking
cargo contract --help. We will very soon use it to create our very first ink! smart contract.