WIP
- Install rustup by running the following command:
curl https://sh.rustup.rs -sSf | sh
- Configure your current shell to reload your PATH environment variable so that it includes the Cargo bin directory by running the following command:
source ~/.cargo/env
- Configure the Rust toolchain to default to the latest stable version by running the following commands:
rustup default stable
rustup update
- Add the nightly release and the nightly WebAssembly (wasm) targets by running the following commands:
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
- Verify your installation by running the following commands:
rustc --version
rustup show
- Clone the
laguna-chain
repo by running the following command:
git clone https://github.com/Laguna-Chain/laguna-chain.git
- Change to the root of the
laguna-chain
directory by running the following command:
cd laguna-chain
- Compile the chain by running the following command:
cargo build --release
Building with the --release
flag results in optimized artifacts.
- To start the chain, run the following command:
./target/release/laguna-node --dev