Forked from Joystream/joystream https://github.com/Joystream/joystream

Mokhtar Naamani 1864b6ab4d update banner.svg 6 years ago
res 09e4d7dbd2 athens chainspec 6 years ago
src 913dbfd17a display correctly encoded ed25519 Authority address 6 years ago
.editorconfig 411f6f59bd Initial commit 6 years ago
.gitignore 7a0c74d776 ignore runtime folder symlink 6 years ago
Cargo.lock 5720c045fc update latest substrate v1.0 branch 6 years ago
Cargo.toml 5720c045fc update latest substrate v1.0 branch 6 years ago
README.md aaf72c6a02 update README 6 years ago
banner.svg 1864b6ab4d update banner.svg 6 years ago
build-clean-start.sh 8ed9e40e19 improved readme 6 years ago
build-runtime.sh 2c42a4c094 substrate upgrade: refactor to work with latest joystream runtime 6 years ago
build.rs 86db2a8e8b import from new node-template 6 years ago
init-wasm.sh 4d875c0015 Add init.sh script and improve readme 6 years ago

README.md

 Nodes for Joystream

Joystream Full Node

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.

Binary releases

Downloads are available in releases.

Building from source

Initial setup

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

Building

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

Running a public node

Run the node and connect to the public testnet

cargo run --release

Installing a release build

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

Development

Running a local development node

cargo run --release -- --dev

Cleaning development chain data

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