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

[Passkeys] Detect Shared Signer owner #875

Open DaniSomoza opened 1 week ago

DaniSomoza commented 1 week ago

What it solves

Resolves #862

How this PR fixes it

updated getPasskeyOwnerAddress() to read the Shared signer storage in the Safe account if the Shared Signer passkey contract address is included in owners.

Added the Shared Signer contract to use the getConfiguration method.

Example: this Swap Owner & deploy Passkey Signer transaction