Setting up the development environment
info
The environment will be setup for you automatically if you use Fluence CLI
To build Marine modules you need to install a CLI tool called marine that uses the Rust wasm32-wasi target and Marine environment to compile Wasm modules.
First, install Rust and supplementary tools:
sh
sh
To be able to compile Rust in Wasm, install the wasm32-wasi compilation target:
sh
sh
To be able to use generate subcommand of marine, install the cargo-generate tool:
sh
sh
Then, install marine and mrepl:
sh
sh