-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
A-compatibilityArea: compatibilityArea: compatibilityA-extensionsArea: extensionsArea: extensionsC-castCommand: castCommand: castC-forgeCommand: forgeCommand: forgeT-featureType: featureType: feature
Milestone
Description
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
--browserflag 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
0xc0de4c0ffee, CodeSandwich and e1ghtball
Metadata
Metadata
Assignees
Labels
A-compatibilityArea: compatibilityArea: compatibilityA-extensionsArea: extensionsArea: extensionsC-castCommand: castCommand: castC-forgeCommand: forgeCommand: forgeT-featureType: featureType: feature
Type
Projects
Status
Ready For Review