On first run, the peer will generate a subnet bootstrap and persist it to:
stores/peer1/subnet-bootstrap.hex
Share that hex with joiners.
3) Fund the peer on MSB
In the peer logs you’ll see:
Peer MSB address: trac1...
On your MSB funded/admin node, transfer TNK to that address (any amount that covers fees for a few txs).
Why: MSB rejects txs from addresses that don’t exist in MSB state or can’t pay fees.
4) Deploy the subnet (one-time per subnet)
In the peer terminal:
This broadcasts an MSB operation that registers the subnet bootstrap + subnet channel.
5) Execute a demo contract operation
The default demo app is “Tuxemon”. It supports a single tx type:
catch
In the peer terminal:
Then query your local subnet state:
You can print your pubkey via:
6) Start a second peer (join the existing subnet)
Use the subnet bootstrap from stores/peer1/subnet-bootstrap.hex.
Fund peer2’s printed Peer MSB address the same way.
Notes
If you put flags on a new line without \, zsh will treat them as a new shell command.
confirmed=false reads the local (unconfirmed) subnet view. confirmed=true reads the subnet’s signed view. These are subnet-specific, not “MSB finality”.