Mokhtar Naamani b28e31f149 update readmes after importing landing repo 4 years ago
..
bin 7e61263d85 move node to monorepo 5 years ago
res 7e61263d85 move node to monorepo 5 years ago
src 7e61263d85 move node to monorepo 5 years ago
Cargo.toml 7fa0703f6e update dependency path, integrate node into workspace 5 years ago
README.md b28e31f149 update readmes after importing landing repo 4 years ago
build.rs 7e61263d85 move node to monorepo 5 years ago
validator-node-banner.svg 2a532261d6 update README 5 years ago

README.md

Joystream Node Build Status

Build Status

Development Development Branch Build Status

More detailed build history on Travis CI

Validator

 Nodes for Joystream

Joystream node is the main server application that connects to the network, synchronizes the blockchain with other nodes and produces blocks if configured as a validator node.

To setup a full node and validator review the advanced guide from the helpdesk.

Pre-built Binaries

The latest pre-built binaries can be downloads from the releases page.

Building from source

Clone the repository and install build tools:

git clone https://github.com/Joystream/joystream.git

cd joystream/

./setup.sh

Building

cargo build --release

Running a public node on the Rome testnet

Run the node and connect to the public testnet.

cargo run --release -- --chain ./rome-tesnet.json

The rome-testnet.json chain file can be ontained from the release page

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 joystream-node --path node/

Now you can run

joystream-node --chain rome-testnet.json

Local development

This will build and run a fresh new local development chain purging existing one:

./scripts/run-dev-chain.sh

Unit tests

cargo test

Coding style

We use cargo-fmt to format the source code for consistency.

It should be available on your machine if you ran the setup.sh script, otherwise install it with rustup:

rustup component add rustfmt

Applying code formatting on all source files recursing subfolders:

cargo-fmt