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
| Parameter | Type |
|---|---|
base | PublicKey |
seed | string |
tokenMint | PublicKey |
tokenProgram | PublicKey |
Returns
Promise<{ accountSeed: string; address: PublicKey; }>
The multisig address, and the account seed (the seed hashed with the mint).