https://github.com/NodleCode/chain
A repo for the Nodle blockchain node ⛓
https://github.com/NodleCode/chain
Last synced: 9 months ago
JSON representation
A repo for the Nodle blockchain node ⛓
- Host: GitHub
- URL: https://github.com/NodleCode/chain
- Owner: NodleCode
- License: gpl-3.0
- Created: 2020-01-06T22:17:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T07:21:49.000Z (about 2 years ago)
- Last Synced: 2024-04-12T23:55:22.709Z (about 2 years ago)
- Language: Rust
- Size: 1010 MB
- Stars: 185
- Watchers: 21
- Forks: 46
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Support: support/Cargo.toml
Awesome Lists containing this project
README
# Nodle Chain
A Blockchain node for the Nodle Parachain to connect and secure the next trillion things.
> Built on [Substrate](https://substrate.dev).
[**Read the documentation**](https://nodlecode.github.io/chain/nodle_parachain/index.html)
# Live networks
## Eden
Syncing Nodle's Parachain (codename: `eden`) is done easily via:
```
cargo run --bin nodle-parachain --release -- --chain eden
```
There are a few more chains available, such as `eden-testing` or `dev`.
# Development
## Building
```
cargo build
```
## Testing
```
cargo test --all
```
## Installing
```
cargo install
```
## Run a local parachain and relay chain
Assuming that `polkadot` is in `/usr/local/bin` and that you installed [`polkadot-launch`](https://github.com/paritytech/polkadot-launch) you can simply use this command:
```
cargo build --release -p nodle-parachain && polkadot-launch launch.json
```
# Usage
## With docker
1. Build the image: `docker build -t nodle/chain -f ./Dockerfile .`.
2. Run it:
`docker run -v ~/.local/path_to_parachain_data_dir:/data -p 9944:9944 -p 9933:9933 -p30333:30333 -it nodle/chain --chain=eden-testing --base-path=/data --rpc-methods=safe --rpc-cors all --rpc-external -- --rpc-external`.