Skip to main content
Version: 1.17.1

Function: deriveTokenMultisigAddress()

deriveTokenMultisigAddress(base: PublicKey, seed: string, tokenMint: PublicKey, tokenProgram: PublicKey): Promise<{ accountSeed: string; address: PublicKey; }>

Defined in: cct/solana/token-pool/operations/create-token-multisig.ts:143

Derives the multisig account createTokenMultisig creates for a seed: an account with seed under the mint authority (base), so the same seed always yields the same address.

Parameters​

ParameterType
basePublicKey
seedstring
tokenMintPublicKey
tokenProgramPublicKey

Returns​

Promise<{ accountSeed: string; address: PublicKey; }>

The multisig address, and the account seed (the seed hashed with the mint).