Wraps any async sign function as a BaseProviderWallet so it can be used
with ETHAccount and EVMAccount. Intended for embedded/smart-wallet signers
(e.g. Privy) that are not backed by a standard ethers.js wallet or Web3 provider.
The caller must supply:
address — the account's on-chain address (SA for smart wallets)
provider — a standard JSON-RPC provider for balance/chain queries
signMessage — the signing function (e.g. smartWalletClient.signMessage)
Wraps any async sign function as a BaseProviderWallet so it can be used with ETHAccount and EVMAccount. Intended for embedded/smart-wallet signers (e.g. Privy) that are not backed by a standard ethers.js wallet or Web3 provider.
The caller must supply: