From 83ed2d45b9e281100b91ebfa3a0509bd17bbb6a1 Mon Sep 17 00:00:00 2001 From: Jimmy Chu Date: Mon, 17 May 2021 11:52:36 +0800 Subject: [PATCH] Added instructions for custom-types (#183) --- README.md | 15 ++++++++++++++- runtime/types.json | 3 +++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 runtime/types.json diff --git a/README.md b/README.md index 250ca09..60938cf 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A fresh FRAME-based [Substrate](https://www.substrate.io/) node, ready for hacki ## 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: ### 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 ``` +### 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 If you want to see the multi-node consensus algorithm in action, refer to diff --git a/runtime/types.json b/runtime/types.json new file mode 100644 index 0000000..23c563b --- /dev/null +++ b/runtime/types.json @@ -0,0 +1,3 @@ +{ + "AccountInfo": "AccountInfoWithDualRefCount" +}