Joystream node built on top of Substrate.
Follow the instructions below to download the software or build it from source. Further instructions for windows and mac can be found here. Linux should be similar to mac.
Downloads are available in releases.
If you want to build from source you will need the Rust toolchain, openssl and llvm/libclang.
Initialise the WASM build environment:
./init-wasm.sh
Checkout the correct release branch if you are planning to connect to one of the public testnets.
Build the WASM runtime library:
./build-runtime.sh
Build the node (native code):
cargo build
Run the node and connect to the public testnet
cargo run
This will install node to your ~/.cargo/bin
folder, which you would normally have in your $PATH
environment.
cargo install --path ./
Now you can run
joystream-node
cargo run -- --dev
When making changes to the runtime library remember to purge the chain after rebuilding the node to test the new runtime.
cargo run -- purge-chain --dev
./test-all.sh
Check out ./test-proposals.sh
on how to run tests for a specific module.