Component
Forge
Describe the feature you would like
Currently, it is not possible to run a script that uses multiple broadcasts with various accounts (those that use the overloaded vm.broadcast function that takes a private key) with cast wallets. You can provide a single wallet in the form of a keystore to the command that executes the script (--keystore) but there's no way to use multiple wallets with one script.
That is unless there's a way to derive the private key in Solidity (such as with vm.deriveKey) from a cast wallet that I'm not aware of.
I'm not sure as to what form this would take. Perhaps another overloaded vm.broadcast that takes the path to the JSON keystore?
Additional context
No response
Component
Forge
Describe the feature you would like
Currently, it is not possible to run a script that uses multiple broadcasts with various accounts (those that use the overloaded
vm.broadcastfunction that takes a private key) withcastwallets. You can provide a single wallet in the form of a keystore to the command that executes the script (--keystore) but there's no way to use multiple wallets with one script.That is unless there's a way to derive the private key in Solidity (such as with
vm.deriveKey) from acastwallet that I'm not aware of.I'm not sure as to what form this would take. Perhaps another overloaded
vm.broadcastthat takes the path to the JSON keystore?Additional context
No response