Skip to content

feat(wallets): add passkey, browser extension wallets and WalletConnect support for signing operations #8693

@duncancmt

Description

@duncancmt

Component

Cast, Forge

Describe the feature you would like

Users are requesting to be able to sign transactions using browser wallets, mobile signers and pass keys.

Foundry would host an HTTP server w/ a Viem interface and open the browser window, users can then connect their wallet. We send one or more transactions to sign to the browser, user signs them with their browser wallet/ passkey / etc and we submit the transaction in Foundry.

The implementation should look roughly as follows:

  • HTTP server bridge, when the --browser flag is used, Foundry spins up a local server and opens the default browser window.
  • Web interface, should support major popular wallets including Porto.sh, should ideally support WalletConnect but can be a follow-up.

Additional context

An initial implementation was proposed in #10823; this can be used as a starting point

Ref: https://github.com/ithacaxyz/porto/blob/main/examples/cli/index.mts

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Ready For Review

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions