• Stars
    star
    1,423
  • Rank 33,073 (Top 0.7 %)
  • Language
    Rust
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Joystream Monorepo

Joystream

This is the main code repository for all Joystream software. In this mono-repo you will find all the software required to run a Joystream network: The Joystream full node, runtime and all reusable substrate runtime modules that make up the Joystream runtime. In addition to all front-end apps and infrastructure servers necessary for operating the network.

Overview

The Joystream network builds on the substrate blockchain framework, and adds additional functionality to support the various roles that can be entered into on the platform.

Development

The following tools are required for building, testing and contributing to this repo:

If you use VSCode as your code editor we recommend using the workspace settings for recommend eslint plugin to function properly.

After cloning the repo run the following initialization scripts:

# Install development tools
./setup.sh

# build local npm packages
yarn build:packages

# Build joystream/node docker image
yarn build:node:docker

# start a local development network
yarn start

Software

Substrate blockchain

Server Applications - infrastructure

Front-end Applications

  • Pioneer v2 - Main UI for accessing Joystream community and governance features
  • Atlas - Media Player

Tools and CLI

Testing infrastructure

Running a local full node

git checkout master
WASM_BUILD_TOOLCHAIN=nightly-2022-05-11 cargo build --release
./target/release/joystream-node -- --pruning archive --chain joy-mainnet.json

Learn more about joystream-node.

A step by step guide to setup a full node and validator on the Joystream testnet, can be found here.

Integration tests

# Make sure yarn packages are built
yarn build:packages

# Build the test joystream-node
RUNTIME_PROFILE=TESTING yarn build:node:docker

# Run tests
./tests/network-tests/run-full-tests.sh

Contributing

We have lots of good first issues open to help you get started on contributing code. If you are not a developer you can still make valuable contributions by testing our software and providing feedback and opening new issues.

A description of our branching model will help you to understand where work on different software components happens, and consequently where to direct your pull requests.

We rely on eslint for code quality of our JavaScript and TypeScript code and prettier for consistent formatting. For Rust we rely on rustfmt and clippy.

The husky npm package is used to manage the project git-hooks. This is automatically installed and setup when you run yarn install.

When you git commit and git push some scripts will run automatically to ensure committed code passes lint, tests, and code-style checks.

During a rebase/merge you may want to skip all hooks, you can use HUSKY_SKIP_HOOKS environment variable.

HUSKY_SKIP_HOOKS=1 git rebase ...

RLS Extension in VScode or Atom Editors

If you use RLS extension in your IDE, start your editor with the BUILD_DUMMY_WASM_BINARY=1 environment set to workaround a build issue that occurs in the IDE only.

BUILD_DUMMY_WASM_BINARY=1 code ./joystream

Authors

See the list of contributors who participated in this project.

License

All software under this project is licensed as GPLv3 unless otherwise indicated.

Acknowledgments

Thanks to the whole Parity Tech team for making substrate and helping in chat with tips, suggestions, tutorials and answering all our questions during development.

More Repositories

1

atlas

Whitelabel consumer and publisher experience for Joystream
TypeScript
100
star
2

hydra

A Substrate indexing framework
TypeScript
49
star
3

pioneer

Governance app for Joystream DAO
TypeScript
44
star
4

community-repo

A repo for community contribution and documentation
TypeScript
19
star
5

substrate-node-joystream

Joystream Full Node
Rust
15
star
6

founding-members

A repo to store information about the Founding Member program.
JavaScript
14
star
7

youtube-synch

YouTube Synchronization
TypeScript
11
star
8

substrate-forum-module

An on-chain forum.
Rust
11
star
9

joystream-org

JavaScript
9
star
10

parity-codec-go

Port of parity-codec
Go
8
star
11

tinygo-wasm-substrate

Go
7
star
12

orion

Atlas backend
TypeScript
7
star
13

query-node-joystream

Query node for the Joystream Platform
TypeScript
6
star
14

old-joystream-manual

User manual for joyd and joycli
5
star
15

joystream-api-examples

API examples
TypeScript
4
star
16

atlas-resources

Design resources for Atlas
HTML
4
star
17

storage-node-joystream

Colossus - Storage node for Joystream
JavaScript
4
star
18

handbook

3
star
19

substrate-utils

Utilities for working with Substrate framework
Rust
3
star
20

jip

Joystream Improvement Proposal (JIP) Repo
2
star
21

onchain-git-poc

[PoC] Onchain git collaboration
Go
2
star
22

query-resolver-toolkit

TypeScript
2
star
23

audits

Repo for organizing & collaborating on audits.
2
star
24

sdk

Core functionality needed to create Joystream apps
2
star
25

substrate-token-minting-module

Transferrable capacity constrained token minting.
Rust
2
star
26

design

Design standards, gudielines and systems for Joystream project
2
star
27

runtime-state-export-tools

Scripts for exporting runtime state
TypeScript
2
star
28

dashboard-api

1
star
29

ethereum-bridge

Bridging functionality between Ethereum's ERC20 tokens and Joystream network
1
star
30

decommissioned_handbook

The Joystream Handbook
1
star
31

substrate-ui-joystream

JavaScript
1
star
32

substrate-versioned-store-permissions-module

Permissioned access to the versioned store
Rust
1
star
33

mock_demo_node

Demo project: mocking Parity substrate modules
Rust
1
star
34

status-endpoint-joystream

Status endpoint for the Joystream network
TypeScript
1
star
35

substrate-hiring-module

Hiring for on-chain organisations.
Rust
1
star
36

substrate-versioned-store-module

A version data store Substrate module
Rust
1
star
37

storage-benchmarking-tool

TypeScript
1
star
38

joystream-content-system

A repo containing information and resources about the Joystream content system
JavaScript
1
star
39

substrate-module-template

Substrate runtime module template
Rust
1
star
40

substrate-recurring-reward-module

Recurring periodic minting of rewards for recipients.
Rust
1
star
41

substrate-blog-module

A reusable blog module for Substrate.
Rust
1
star
42

manifesto

Joystream Manifesto
TeX
1
star
43

communications

Public communications from Joystream Project
1
star
44

old-joystream-testnets

1
star
45

argo-bridge

Cross-chain token bridge between Joystream and EVM blockchains
TypeScript
1
star