Download the software development kit
1) Install Rust
To develop and compile contracts for the Partisia Blockchain, you need to install Rust along with the wasm32 target. To install Rust for you platform follow the instructions on https://rustup.rs/.
Now add the wasm32 target:
rustup update rustup target add wasm32-unknown-unknown
- Get Visual Studio with C++ build tools - In Visual Studio Installer choose Desktop development with C++.
- Install Linux Subsystem for Windows
2) Download Partisia Contract SDK
The archive contains the Rust project files and the SDK. The archive contains the
partisia-contract tool, the SDK and some example contracts.
If you are working with a WSL shell on Windows you can locate files within WSL in the folder named
From now on we assume you have extracted the archive to
Open a terminal and go to the
3) Install the cargo
cd cargo-partisia-contract cargo install --path .
Test that it worked by executing:
cargo partisia-contract --version. This should print the version of the command.