Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xx-labs/xxchain
xx network Substrate based blockchain node
https://github.com/xx-labs/xxchain
Last synced: about 1 month ago
JSON representation
xx network Substrate based blockchain node
- Host: GitHub
- URL: https://github.com/xx-labs/xxchain
- Owner: xx-labs
- License: gpl-3.0
- Created: 2021-09-23T21:21:16.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-28T17:57:11.000Z (6 months ago)
- Last Synced: 2024-08-02T03:07:39.082Z (4 months ago)
- Language: Rust
- Size: 6.67 MB
- Stars: 17
- Watchers: 2
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blockchain-rust - xx-network
README
# xx network Substrate based blockchain node
### Rust Setup
First, complete the [basic Rust setup instructions](./doc/rust-setup.md).
### Build
Recommended OS to build the `xxnetwork-chain` binary is Ubuntu 20 or above.
The makefile provides build commands, of which the most important are:```sh
make build-prod # Build production ready node binary
make build-release # Build release node binary
make build # Build all packages
```### MacOS users: setup to compile for Linux
Before being able to build for linux on macOS, the following extra steps are needed:
```sh
rustup target add x86_64-unknown-linux-gnu # Install linux GNU rust target
brew tap SergioBenitez/osxct # Tap this project with brew
brew install x86_64-unknown-linux-gnu # Install cross-compile tools for GNU
```Then, the target for the rust compiler needs to be specified on any build command with `--target=x86_64-unknown-linux-gnu`.
### Test
The makefile provides the `test-pallets` command which runs unit tests for all custom pallets, as follows:
```sh
chainbridge
claims
staking
swap
xx-cmix
xx-economics
xx-team-custody
```### Benchmarking
Included is a script that automatically runs the benchmarking code and calculates extrinsic weights for relevant pallets.
This can be executed with:
```sh
sh ./scripts/benchmark.sh
```### Code Review
A code review was performed by ChainSafe. It focused mostly on the modifications to the Staking pallet
and the custom made xx network pallets for cmix, economics and team custody.
The report can be found [here](./doc/ChainSafe%20xxchain%20Code%20Review.pdf).