Skip to content

Commit

Permalink
Merge pull request #22 from Cerebellum-Network/feature/update-runtime…
Browse files Browse the repository at this point in the history
…s-readme

updated the README for runtimes
  • Loading branch information
Andrei Navoichyk authored May 19, 2023
2 parents 977e8d3 + a87af5c commit d33db8d
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,23 +72,28 @@ $ ls ./my-chain-state/chains/dev
db keystore network
```

### Custom Chain Spec
### Runtimes

The node supports 2 runtimes.

#### Runtime `cere`

Runtime `cere` uses by default in Cere Mainnet/Testnet/QAnet. You can start the node with it by running the command:
```bash
./target/release/cere --chain=./target/release/customSpecRaw.json
```
Runtime `cere` uses by default in Cere Mainnet/Testnet/QAnet. You can start the node with it by:
1. Running the node connected to [Cere Mainnet](#mainnet), [Cere Testnet](#testnet) or [Cere QAnet](#qanet)
2. Running the node with a custom spec. Be sure that [id](https://github.com/Cerebellum-Network/blockchain-node/blob/dev-cere/node/service/src/chain_spec.rs#L265) **does not** start with `cere_dev`
```bash
./target/release/cere --chain=./target/release/customSpecRaw.json
```

#### Runtime `cere-dev`

Runtime `cere-dev` uses by default in Cere Devnet. You can start the node with it by running the command:
```bash
./target/release/cere --chain=./target/release/customSpecRaw.json --force-cere-dev
```
Runtime `cere-dev` uses by default in Cere Devnet. You can start the node with it by:
1. Running the node connected to [Cere Devnet](#Devnet)
1. Running the [Single-Node Development Chain](#Single-Node-Development-Chain)
1. Running the node with a custom spec. Be sure that [id](https://github.com/Cerebellum-Network/blockchain-node/blob/dev-cere/node/service/src/chain_spec.rs#L265) **starts** with `cere_dev` and you pass `--force-cere-dev` parameter
```bash
./target/release/cere --chain=./target/release/customSpecRaw.json --force-cere-dev
```

### Connect to Cere Networks

Expand Down

0 comments on commit d33db8d

Please sign in to comment.