Building & Running Locally

  1. Add nightly toolchain and wasm support

rustup toolchain install nightly
rustup target add wasm32-unknown-unknown --toolchain nightly

3. Clone and build the project. (this can take up to an hour)

git clone https://github.com/Watr-Protocol/watr.git
cd watr
cargo build --release

4. Run the node (this will start a watr node and relaychain node with default configuration) for configuration flags please review the documentation

./target/release/watr-node --chain ./chain-specs/devnet-raw.json

Last updated