Reputation: 219
I am deploying my own private blockchain using the substrate code. In which how to set the token decimals and token symbol while deploying it?
Upvotes: 1
Views: 494
Reputation: 1082
These parameters are set in the node's chain_spec.rs
in the template code and an example from polkadot code that ingests a JSON file for a specific chain (examples)
To get this generated for you automatically that you can then customize, build the node and then follow the flow outlined in the cumulus workshop to get a plain chainspec, edit as you see fit, and then generate a custom final one that you can use when starting your nodes.
Upvotes: 1