Concepts

Key rotation

One address for life, a new key behind it after every transaction.

The vault

Your QUEEPER address is a small smart contract, the vault. Its funds never move to a new address: only the key allowed to control it changes. The vault address depends only on its first key, so it is identical on every supported chain.

What happens on a swap

  1. 01Build

    The wallet prepares the calls: approve, swap through the router, and a gas tank top-up if needed.

  2. 02Sign

    Key n signs the calls, the vault nonce, a deadline and the address of key n+1.

  3. 03Execute

    The vault checks the signature, runs every call, then sets key n+1 as its only owner. All in one transaction.

vault.execute(calls, nextOwner, deadline, signature)
  ├─ verify signature of current owner (key n)
  ├─ run calls atomically
  └─ owner = nextOwner (key n+1), emit OwnerRotated

If any call fails, the whole transaction reverts and the key does not change. Key n is exposed only by a transaction that also retires it.

Where keys come from

Every key is derived from your recovery phrase on a dedicated path, one index per rotation. The wallet always knows the next key, and restoring the phrase restores every key and the vault address.

Off-chain signatures

Sites can ask the vault to sign a message (ERC-1271, used for logins and permits). That reveals the current key without moving funds, so the wallet flags it and offers a rotation with one click.