lisk-sdk
lisk-sdk copied to clipboard
Update lisk init command to take networkID as input
Description
Update lisk init
command to take networkID
(1 byte) as input and ask rest of chainID
(3 bytes) separately from the user which can help users to identify correct chainID with networkID for their sidechain as well as we can do some validation for networkID as well.
Possible questionnaire related to chainID
,
- Choose networkID:
- mainnet
00
- testnet
01
- betanet
02
- alphanet
03
- devnet
04
- custom
// custom should check that it is smaller than 0x80
- mainnet
- Choose chainID without networkID in hex representation. Remaining chainID must be 3 bytes (6 characters):
000001
Acceptance Criteria
- Should have all the relevant unit tests covering the feature