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
253 stars 196 forks source link

[Passkeys] Swap and remove passkey owners #851

Closed dasanra closed 3 months ago

dasanra commented 3 months ago

Context / issue

Currently, the methods CreateRemoveOwnerTx and CreateSwapOwnerTx only accept an address as a parameter.

Proposed solution

We need to update both CreateRemoveOwnerTx and CreateSwapOwnerTx methods to accept a passkey as an additional parameter.