Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ in the [Substrate Developer Hub Parachain
Template](https://github.com/substrate-developer-hub/substrate-parachain-template/)
repository. The parachain template is generated directly at each Polkadot
release branch from the [Node Template in
Substrate](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/bin/node-template)
Substrate](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/bin/solochain-template-node)
upstream

It is usually best to use the stand-alone version to start a new project. All
Expand Down Expand Up @@ -37,7 +37,7 @@ After you build the project, you can use the following command to explore its
parameters and subcommands:

```sh
./target/release/node-template -h
./target/release/solochain-template-node -h
```

You can generate and view the [Rust
Expand All @@ -54,19 +54,19 @@ The following command starts a single-node development chain that doesn't
persist state:

```sh
./target/release/node-template --dev
./target/release/solochain-template-node --dev
```

To purge the development chain's state, run the following command:

```sh
./target/release/node-template purge-chain --dev
./target/release/solochain-template-node purge-chain --dev
```

To start the development chain with detailed logging, run the following command:

```sh
RUST_BACKTRACE=1 ./target/release/node-template -ldebug --dev
RUST_BACKTRACE=1 ./target/release/solochain-template-node -ldebug --dev
```

Development chains:
Expand All @@ -86,7 +86,7 @@ similar to the following:
$ mkdir my-chain-state

// Use of that folder to store the chain state
$ ./target/release/node-template --dev --base-path ./my-chain-state/
$ ./target/release/solochain-template-node --dev --base-path ./my-chain-state/

// Check the folder structure created inside the base path after running the chain
$ ls ./my-chain-state
Expand Down