Skip to content

[feature] Add signAllTransactions method for Solana in AppKit #539

@99sudarshan

Description

@99sudarshan

What problem does this new feature solve?

Currently, AppKit provides methods like signTransaction for signing individual transactions. However, many dApps require users to sign multiple transactions in sequence (e.g., batch operations in DeFi, multi-step approvals, or swapping with permit). To improve user experience and streamline these workflows, we propose adding a signAllTransaction method that accepts an array of transactions and signs them in a single batch or sequential manner, depending on the wallet’s capabilities.

Describe the solution you'd like

  • Batch token transfers or NFT mints.
  • Multi-signature workflows requiring several transactions.
  • Initializing and interacting with complex DeFi protocols (e.g., creating a pool + depositing liquidity).
  • Reducing the number of wallet approval prompts when multiple transactions are required.
  • transactions: Array of Transaction objects from @solana/web3.js.

  • Returns an array of signed Transaction objects in the same order.

Additional Context

Solana’s @solana/wallet-adapter-base defines signAllTransactions as an optional method; many wallets implement it. AppKit should expose this functionality to dApps built with React and React Native.

This addition would align AppKit with Solana wallet standards and simplify development of dApps that need to sign multiple transactions in one flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions