I'm trying to modify the genesis.bin
parameters but there isn’t specific documentation.
But I can see modify-genesis
as an available sub-command but can’t figure out how to use it to modify Cluster type
and Creation time
.
I've figured this out. I am answering my own question hoping that someone will find it helpful.
solana-ledger-tool --ledger ledger-directory/ modify-genesis --cluster-type development --hashes-per-tick "sleep" OUPUT_DIRECTORY
development
, devnet
, mainnet-beta
, testnet
Int
value if you want some number else Sleep
for None
.Cluster
type to Development
and Hashes per Tick
to None
You can verify the same using the below command.
solana-ledger-tool --ledger OUPUT_DIRECTORY genesis
For more options, you can use --help to get full details.
solana-ledger-tool modify-genesis --help
solana-ledger-tool --help
will show all the available subcommands for solana-ledger-tool
. Then, supposing you want to use the modify-genesis
subcommand, you can then run solana-ledger-tool modify-genesis --help
to see the additional help and available arguments for modify-genesis
.
There are good resources that could help out, have you tried:
I shared this links because you said there were no resources btw..
solana-ledger-tool
Commented
Dec 13, 2022 at 11:44