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
242 stars 177 forks source link

[SDK Refactoring] Extend `safe-kit` to use 4337 #880

Open dasanra opened 1 week ago

dasanra commented 1 week ago

Context / issue

We want the possibility to have a simplified safe-kit by start that can be extended by actions as the developer needs.

Proposed solution

We should follow Viems .extend pattern to get a similar behavior. Approach is already tested in the playground.

https://github.com/safe-global/safe-core-sdk/pull/877/files#diff-8a36df7cf98f6727c0b889acb40814d59c8a500df6ea29d0ad5ee91948b8c278R51-R72