metaplex-foundation / umi

A Solana Framework for JS Clients.
https://umi.typedoc.metaplex.com
MIT License
155 stars 48 forks source link

Add signAndSendTransaction method to Signer interface #128

Open fabioberger opened 4 months ago

fabioberger commented 4 months ago

Hi there,

The Solana Wallet Standard defines a signAndSendTransaction method which has the signer both sign and send the transaction to the network. Most wallets have added support for this method, and it is also available via sendTransaction in Wallet Adapter.

Would you be open to adding the signAndSendTransaction method to the Signer interface in UMI?

Thanks in advance

4lve commented 4 months ago

The signer shouldn't send transactions as that job is a part of the rpc