aptos-labs / aptos-wallet-adapter

A monorepo modular wallet adapter for Aptos applications
https://aptos-labs.github.io/aptos-wallet-adapter/
Apache License 2.0
88 stars 97 forks source link

[core] Added transaction input support for `signTransaction` #414

Closed hardsetting closed 1 month ago

hardsetting commented 1 month ago

Part of a PR series to enable transaction input when using signTransaction

Previously, the only supported input type was an AnyRawTransaction instance. The problem with this is that we're requiring the dapp to generate the transaction (and possibly payload) right before calling signTransaction. This requires async calls which don't play well with certain browsers and popups.