Skip to main content

Utils

Utility commands for working with Lighthouse.

associate-evm

Associate your wallet with SEI EVM chain.

$ lighthouse utils associate-evm

snapshot

Take a snapshot of holders of an NFT collection

$ lighthouse utils snapshot <address>
  • <address>: The address of the NFT collection.

Options

  • -s --supply <supply>: The total supply of the collection.
  • -so --start-token-id <token_id>: The starting token id.
  • -e --exclude-contracts: Exclude contract addresses from the snapshot.
  • -o --output <output>: The output file path.
  • -c --count: Output how many tokens each holder owns
  • -d --duplicate: Output duplicate holders (default: false)
  • -st --show-token-id: Show token id in the output (default: false)

ownerof

Get the owner of an NFT token(s).

$ lighthouse utils ownerof <address> <token_ids>
  • <address>: The address of the NFT collection.
  • <token_ids>: Token ID(s) separated by commas

minterof

Get the minter of an NFT token(s).

$ lighthouse utils minterof <address> <token_ids>
  • <address>: The address of the NFT collection.
  • <token_ids>: Token ID(s) separated by commas

mintersof

Get the minters of an NFT collection.

$ lighthouse utils mintersof <address>
  • <address>: The address of the NFT collection.

Options

  • --delay <delay>: Delay between requests in milliseconds (default: 100)

view-nft

View NFT information.

$ lighthouse utils view-nft <address> <token_id>
  • <address>: The address of the NFT collection.
  • <token_id>: Token ID

transfer-nft

Transfer an NFT token.

$ lighthouse utils transfer-nft <address> <to> <token_id>
  • <address>: The address of the NFT collection.
  • <to>: The address to transfer the NFT to.
  • <token_id>: Token ID

Options

  • -g --gas-price <gas_price>: Gas price to use for transaction (default: 0.1)

transfer-evm-nft

Transfer an EVM NFT token.

$ lighthouse utils transfer-evm-nft <address> <to> <token_id>
  • <address>: The address of the NFT collection.
  • <to>: The address to transfer the NFT to.
  • <token_id>: Token ID

Options

  • -g --gas-price <gas_price>: Gas price to use for transaction (default: 0.1)

mint

Mint new NFTs from an existing NFT collection. Only free minting is supported.

$ lighthouse utils mint <address> <group_name> <amount>
  • <address>: The address of the NFT collection.
  • <group_name>: The name of the mint group.
  • <amount>: The amount to mint.

Options

  • -g --gas-price <gas_price>: Gas price to use for transaction (default: 0.1)