Allowlist
Allowlist commands (merkle tree)
format-wallets
Format wallet addresses with sei or 0x and lowercase, remove duplicates and save to a new file.
$ lighthouse allowlist format-wallets <file-path>
<file-path>
: Path to .json or .txt file containing wallet addresses
Options
-o --overwrite
: Overwrite the original file with the formatted wallets (default: false)-n --new-file <new-file-path>
: Save the formatted wallets to a new file-g --generate-merkle-root
: Generate a merkle root for the formatted wallets
merkle-root
Generate a merkle root for a list of wallet addresses.
$ lighthouse allowlist merkle-root <file-path>
<file-path>
: Path to .json containing formatted wallet addresses
merkle-proof
Generate a merkle proof for a wallet address.
$ lighthouse allowlist merkle-proof <file-path> <wallet-address>
<file-path>
: Path to .json containing formatted wallet addresses<wallet-address>
: Wallet address to generate a merkle proof for