Background
If a device is lost, the user must replace the passkey signer while keeping the same wallet address and balances.
What to build
A rotate_signer(old_key, new_key) contract entrypoint (owner-authed) that swaps the registered P-256 key atomically, plus an SDK flow that registers a new credential and calls it.
Key files
contracts/invisible_wallet/src/lib.rs
sdk/src/useInvisibleWallet.ts
Acceptance criteria
Drips Wave · Complexity: Advanced · 200 points
Background
If a device is lost, the user must replace the passkey signer while keeping the same wallet address and balances.
What to build
A
rotate_signer(old_key, new_key)contract entrypoint (owner-authed) that swaps the registered P-256 key atomically, plus an SDK flow that registers a new credential and calls it.Key files
contracts/invisible_wallet/src/lib.rssdk/src/useInvisibleWallet.tsAcceptance criteria