safe-core-sdk
safe-core-sdk copied to clipboard
Build Multi-Step Gnosis Safe Transactions without Tx Service
Context / issue
I'd like to iteratively build complex multi-step Gnosis Safe transactions and safely preview their side effects from forked mainnet without having to rely on the transaction service.
In general I'd like to use the multisig signer within the safe-ethers-provider
directory as the signer for the contracts that I'll be interacting with. This interactions.ts is a good example of the way I'd like to interact with the contracts with out having to construct a transaction similar to what is displayed here.
Another example of a similar feature can be seen here.
Why is this feature needed?
safe-ethers-provider
is a great too for building complex transactions in an easy and simple way. However, the reliance on the transaction service limits the versatility of the tool and makes it difficult to simulate on a forked network.
Proposed solution
- Allow for the building of complex multi-step Gnosis Safe Transactions that are queued up to be submitted.
- Remove reliance on the transaction service when simulating the batch transactions. This can likely be achieved by separating out the transaction service until it's necessary to be submitted; the submission to the tx service should be both the last and separate step.
Alternatives
Please add a clear and concise description of any alternative solutions or features you have considered. A solution closely resembling the desired functionality
Additional context
N/A