@softseco/arcantis - v1.0.0-rc.3
    Preparing search index...

    Function configureAccount

    • Configure the owner's token account for confidential transfers, in one transaction: create the associated token account if needed, make room for the extension, set the owner's ElGamal key and an encrypted zero balance, and verify the pubkey-validity proof.

      Parameters

      Returns Promise<ConfigureAccountResult>

      const { token } = await configureAccount({ rpc, rpcSubscriptions, payer, owner: alice, mint });