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
243 stars 178 forks source link

[api-kit] Update delegates endpoint #786

Closed dasanra closed 1 month ago

dasanra commented 2 months ago

Description

The API team is deprecating the v1 delegates endpoint and suggesting a new system to add, get and remove delegates. The signature process is the biggest change.

We need to update to v2 delegates endpoint and support the new signing method they request. Currently is only available on staging.

Proposed solution

Is possible that we don't need to change the API of the current methods in the api-kit as the signing is managed internally.

Additional context