safe-global / safe-core-sdk

The Safe{Core} SDK allows builders to add account abstraction functionality into their apps.
https://docs.safe.global/sdk/overview
MIT License
252 stars 196 forks source link

feat: Initialize new safe (`initCode`) #707

Closed yagopv closed 7 months ago

yagopv commented 7 months ago

What it solves

Resolves https://github.com/safe-global/safe-core-sdk/issues/699

How this PR fixes it

This PR add support to deploy a Safe (counterfactual) by using the initCode field of the UserOperation sent to the bundler