@softseco/confidential-transfers - v3.3.0
    Preparing search index...

    @softseco/confidential-transfers - v3.3.0

    TypeScript SDK for Token-2022 confidential transfers on Solana, built on @solana/kit 8. Encrypted balances and amounts, in a handful of async functions: configureAccount, deposit, applyPendingBalance, transfer, withdraw and decryptBalance. Runs in Node and, since 3.1.0, in the browser (see the Web apps guide).

    const { token } = await configureAccount({ rpc, rpcSubscriptions, payer, owner: alice, mint });
    await deposit({ rpc, rpcSubscriptions, payer, owner: alice, mint, amount: 1000n, decimals });
    await applyPendingBalance({ rpc, rpcSubscriptions, payer, owner: alice, mint });
    await transfer({ rpc, rpcSubscriptions, payer, owner: alice, mint, destinationOwner: bob.address, amount: 600n });
    const balance = await decryptBalance({ rpc, owner: alice, mint }); // 400n

    Self-audited, not independently audited.

    Web apps
    Auditors
    applyPendingBalance
    confidentialActivityToCsv
    configureAccount
    decryptBalance
    decryptTransferAmountAsAuditor
    deposit
    deriveAeKey
    deriveAuditorElgamalKeypair
    deriveConfidentialKeys
    deriveConfidentialKeysWithSeed
    deriveElGamalKeypair
    findExtraAccountMetaListPda
    getAuditorElgamalPubkey
    getElGamalPubkeyAddress
    getTransferHookProgram
    initConfidentialTransfers
    isConfidentialTransfersError
    listConfidentialActivity
    pdaWalletPublicSeed
    recoverProofAccounts
    resolveTransferHookAccounts
    transfer
    withdraw
    ApplyPendingBalanceInput
    ApplyPendingBalanceResult
    ConfidentialActivity
    ConfidentialActivityCsvOptions
    ConfidentialActivityKind
    ConfidentialKeypairs
    ConfidentialTransfersErrorCode
    ConfidentialTransfersErrorDetails
    ConfigureAccountInput
    ConfigureAccountResult
    DecryptBalanceInput
    DecryptTransferAmountAsAuditorInput
    DepositInput
    DepositResult
    DerivedElGamalKeypair
    InitConfidentialTransfersOptions
    ListConfidentialActivityInput
    RecoverProofAccountsInput
    RecoverProofAccountsResult
    ResolvedAccount
    ResolveTransferHookAccountsInput
    SendOptions
    TransferInput
    TransferResult
    WithdrawInput
    WithdrawResult
    ConfidentialTransfersError