From 3fd02365e5129caaf3bb6182e3546d66fc5b8b9f Mon Sep 17 00:00:00 2001 From: Amiya Behera Date: Sat, 27 Apr 2024 15:56:43 +0530 Subject: [PATCH] chain spec readme --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index fba4b5e..6848498 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,20 @@ trunk serve ### Chain Specification +```bash ./target/release/node-template build-spec > chain_spec.json +``` + +### Raw Chain Spec + +Generating a Raw JSON Chain Specification File + +One final step before deploying the Tanssi appchain is converting the JSON specification file to a raw format, which is a compact, less-readable version of the same file, required to initialize a node. + +```bash +./target/release/node-template build-spec --chain=chain_spec.json --raw > raw_chain_spec.json +``` + ### Multi-Node Local Testnet