safe-global / safe-smart-account

Safe allows secure management of blockchain assets.
https://safe.global
GNU Lesser General Public License v3.0
1.8k stars 880 forks source link

Enable EIP-4337 module. #786

Open faisal-anwar825 opened 4 days ago

faisal-anwar825 commented 4 days ago

I am trying to implement a relay in my safe so that the gas fee required for transaction is deducted from the safe itself. I am using pimlico for this but when i try to perform the transaction according to the docs provided i get this error.

Incompatibility detected: The EIP-4337 module is not enabled in the provided Safe Account. Enable this module (address: 0xa581c4A4DB7175302464fF3C06380BC3270b4037) to add compatibility.

I have explored docs but couldn't find anything related to how to enable this module. Found a way to enable it using transaction builder app in safe UI but for that i need the mastercopy address of v1.4.1 for Sepolia chain.

Can you provide the mastercopy address or an alternative method to enable this module. any link to docs?

Malikrehman00107 commented 4 days ago

following.

mmv08 commented 4 days ago

I am trying to implement a relay in my safe so that the gas fee required for transaction is deducted from the safe itself. I am using pimlico for this but when i try to perform the transaction according to the docs provided i get this error.

Incompatibility detected: The EIP-4337 module is not enabled in the provided Safe Account. Enable this module (address: 0xa581c4A4DB7175302464fF3C06380BC3270b4037) to add compatibility.

I have explored docs but couldn't find anything related to how to enable this module. Found a way to enable it using transaction builder app in safe UI but for that i need the mastercopy address of v1.4.1 for Sepolia chain.

Can you provide the mastercopy address or an alternative method to enable this module. any link to docs?

The expected addresses can be found in the changelog or the safe-deployments package