Watr Developer Portal
  • Home
  • Quickstart
    • Block Explorer
    • Creating a Polkadot Wallet
    • Requesting Watr Tokens
    • Connecting to Testnet
    • Keystore Setup
    • Submitting a Transaction
    • Building & Running Locally
  • Builders
    • Adding an Asset
    • Substrate Contracts
    • Ethereum Contracts
      • Deploy ERC-20 Contracts
      • Interact with ERC-20 Contract
      • Polkadot/Ethereum Address Translation
      • Add Watr to Metamask Wallet
      • Send WATR to/from Metamask Wallet
      • Launch local Ethereum block explorer
      • Remix
    • Watr SS58 Spec
  • Running A Node
    • Node Types
    • Standard Requirements
    • Deployment
Powered by GitBook
On this page
  1. Quickstart

Building & Running Locally

PreviousSubmitting a TransactionNextBuilders

Last updated 2 years ago

  1. Ensure

  2. 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

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