-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Right now, if the Safe UI goes down, web3 is fked. Which is not good. There are some alternates like den and protofire's safe UI, but all of these (and the safe UI itself) use a centralized transaction service which essentially broadcasts your transaction to the public waaayyy ahead of time.
I don't like this.
We should have a CLI tool that allows people to create and send safe transactions.
Example API
# This will prompt something similar to https://github.com/morpho-org/safer, where it will ask you how many transactions you want to make, on what chain, etc
mox msig tx --interactive
# This will create a transaction from moccasin account xx
mox msig tx --account xx --prompt-metamask --calldata --safe-address yy...
# This will sign a message
mox msig sign --msg yyy
Output
The output of finally signing a message could basically be the signature with a note saying like "add these signatures together and slap on the end of this calldata"
Or we could have like a:
mox msign tx --broadcast --rpc-url xxxx --prompt-metamask --data yyy --prompt-signatures
> Signature 1
....
> Signature 2
....
> Signature 3
...
Or something? Eh, it's probably best to just have like --signatures 0xshadslfjslkfdjalhsdfslkfj
and pass all the signatures from each user.
References
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request