Open
Description
Component
Forge
Describe the feature you would like
I am building safe-utils to help automate the proposal of Safe transactions through Foundry.
One common use case of governance multisigs is Safe signers who use Ledger wallets.
The issue is that Ledger removed blind signing, so the eth_sign
method invoked by vm.sign
does not work.
This feature request proposes introducing a new vm.signTypedData
similar to cast wallet sign --data
. Since foundry already has JSON encoding/decoding cheatcodes, we could rely on the user to correctly construct the data parameters, and only pass them to the VM method.
Additional context
No response
Metadata
Metadata
Assignees
Type
Projects
Status
Todo
Activity
[-]Add vm.signTypedData[/-][+]Add vm.signTypedData to Foundry[/+]Workaround foundry-rs/foundry#10281
nadtech-hub commentedon Apr 9, 2025
✋
[-]Add vm.signTypedData to Foundry[/-][+]feat(`cheatcodes`): add `vm.signTypedData` cheatcode to Foundry[/+]Haxry commentedon Apr 15, 2025
@zerosnacks if it's avialable, may i take it ?
grandizzy commentedon Apr 15, 2025
sounds good @Haxry thank you!
7 remaining items