[Master of Ceremony only]

Warning The environment variable IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet is required for mainnet configuration. Ensure this is set before running any commands.

7. Generate the Stardust Objects Snapshot

The Master of Ceremony creates the Stardust Objects Snapshot based on the Address Swap Map, the Address Swap Split Map and the Hornet full snapshot obtained in the previous steps. The Stardust Objects Snapshot is a BCS-encoded vector of Objects that represent the migrated state. More info here.

iota-genesis-builder iota --address-swap-split-map-path <address swap split map file path> --address-swap-map-path <address swap map file path> --snapshot-path <hornet full snapshot file path> --target-network mainnet
git add .
git commit -m "commit Stardust Objects Snapshot"
git push