0

i would like to know how to interact with a Safe smart contract and execute the 'execTransaction' providing raw data to all the required fields. The main issue here is how to calculate the signature and execute the tx for a multiSend transaction. You have examples of how you can do it with 1 transaction and using the safeSdk and safe APIs but there isn't any complete example (createTransaction, addData, sign transaction and execute) of how can be done using only etherjs or web3 libraries. Lets assume that you need only 1 signature for the execution. Thank you

1 Answer 1

1

Could you add some context why you want to avoid the use of the Safe{Core} SDK, as it is a tool that facilitates all the interaction with Safe contracts, speeding the development and offering a better user experience when working on tasks like yours. The SDK uses ethers.js and web3.js internally, so you can just extract the code from it and copy-paste it in your code base.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.