@lightprotocol/stateless.js - v0.22.1-alpha.1
    Preparing search index...

    Function deriveAddressV2

    • Derives an address from a seed using the v2 method (matching Rust's derive_address_from_seed)

      Parameters

      • addressSeed: Uint8Array

        The address seed (32 bytes)

      • addressMerkleTreePubkey: PublicKey

        Merkle tree public key

      • programId: PublicKey

        Program ID

      Returns PublicKey

      Derived address