subsembly spec

Spec files

Overview

A command used for generating chain specification files and converting them into raw one.

Syntax

subsembly spec [to] [src] [raw] [wasm]

Parameters

  • --to - optional parameter, determines initialisation path for the new chain specification file, defaults to current directory

  • --src - optional parameter, determines source specification file to convert to raw, defaults to current directory

  • --raw - optional parameter, determines path to save converted raw chain specification file. Defaults to {path-of-src}/raw-chain-spec.json

  • --wasm - optional parameter, determines path to the compiled hex encoded wasm binary. Defaults to build/subsembly-wasm

Examples

Generating new spec file:

circle-info

It is recommended to put all your spec files inside spec-files/ folder in root directory

$ subsembly spec
Successfully generated new custom spec file!

Both commands will produce the same output:

Converting spec file to raw:

Either of these commands will produce the same output:

circle-exclamation

Last updated