Skip to content

Passkey signer rotation without wallet redeployment #278

@Miracle656

Description

@Miracle656

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

  • New key authorizes after rotation, old key rejected
  • Wallet address unchanged
  • Test: rotation requires current-signer auth

Drips Wave · Complexity: Advanced · 200 points

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions