Installation

The installation steps for this will be similar to the CW-20/ERC-20 tutorial.

Follow the steps to set up a local development chain or connect to the Source Chain Testnet before continuing.

Rust

Assuming you have never worked with rust, you will first need to install some tooling. The standard approach is to use rustup to maintain dependencies and handle updating multiple versions of cargo and rustc, which you will be using.

Installing Rust in Linux and Mac

First, install rustup (opens new window). Once installed, make sure you have the wasm32 target:

rustup default stable
cargo version
# If this is lower than 1.49.0+, update
rustup update stable

rustup target list --installed
rustup target add wasm32-unknown-unknown

Last updated