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.
git clone https://github.com/Joystream/substrate-node-joystream.git
Initialise the WASM build environment:
cd substrate-node-joystream/
./init-wasm.sh
Clone the joystream runtime into the substrate-node-joystream directory:
git clone https://github.com/Joystream/substrate-runtime-joystream.git
Build the WASM runtime library:
./build-runtime.sh
Build the node (native code):
cargo build --release
Run the node and connect to the public testnet
cargo run --release
This will install the executable joystream-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 --release -- --dev
When making changes to the runtime library remember to purge the chain after rebuilding the node to test the new runtime.
cargo run --release -- purge-chain --dev