Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
madara setup command
Browse files Browse the repository at this point in the history
  • Loading branch information
onchezz committed Feb 12, 2024
1 parent 653f456 commit 2c0e443
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/ch03-02-01-madara.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ cargo build --release
**Single-Node Development Chain**

This command will start the single-node development chain with non-persistent
run madara setup:

```bash
./target/release/madara setup --chain dev --from-local ./configs
```

state:

```bash
Expand All @@ -80,13 +86,6 @@ RUST_BACKTRACE=1 ./target/release/madara -ldebug --dev
![running madara node example](./img/ch03-02-01-madara-1.png)
If everything works correctly, we can go to the next step and create our own genesis state!

### Create your chain specification

First, run this command to create a plain chain spec

```bash
./target/release/madara build-spec > ./infra/chain-sepcs/chain-spec-plain.json
```

By default, the chain will run with the following config :

Expand Down

0 comments on commit 2c0e443

Please sign in to comment.