Added instructions for custom-types (#183)

main
Jimmy Chu 2021-05-17 11:52:36 +08:00 committed by GitHub
parent c0b81651a8
commit 83ed2d45b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -6,7 +6,7 @@ A fresh FRAME-based [Substrate](https://www.substrate.io/) node, ready for hacki
## Getting Started ## Getting Started
Follow the steps below to get started with the Node Template, or get it up and running right from your browser Follow the steps below to get started with the Node Template, or get it up and running right from your browser
in just a few clicks using [Playground](https://playground.substrate.dev/) :hammer_and_wrench: in just a few clicks using [Playground](https://playground.substrate.dev/) :hammer_and_wrench:
### Using Nix ### Using Nix
@ -70,6 +70,19 @@ Start the development chain with detailed logging:
RUST_LOG=debug RUST_BACKTRACE=1 ./target/release/node-template -lruntime=debug --dev RUST_LOG=debug RUST_BACKTRACE=1 ./target/release/node-template -lruntime=debug --dev
``` ```
### Connect with Polkadot-JS Apps Front-end
Once the node template is running locally, you can connect it with **Polkadot-JS Apps** front-end
to interact with your chain. [Click here](https://polkadot.js.org/apps/#/explorer?rpc=ws://localhost:9944) connecting the Apps to your local node template.
Due to recent Substrate upgrade, paste the following custom types JSON in **Setting** > **Developer**
```json
{
"AccountInfo": "AccountInfoWithDualRefCount"
}
```
### Multi-Node Local Testnet ### Multi-Node Local Testnet
If you want to see the multi-node consensus algorithm in action, refer to If you want to see the multi-node consensus algorithm in action, refer to

View File

@ -0,0 +1,3 @@
{
"AccountInfo": "AccountInfoWithDualRefCount"
}