petty
Open the app

Grand theft, downgraded.

A safe with a daily limit for your bag on Solana. A stolen hot key takes the limit and nothing else.

Opens the app on mainnet. Testnet, where tokens are worth nothing, is one switch away.

    Every line opens a transaction.

    On 24 November the key of wallet GV6U…dC52 sold 21,522 SOL of one coin in 71 minutes. Before that it spent five and a half minutes burning dust accounts for 7.3 SOL of rent.

    source drain-timeline.csv
    1,598 transactions from a public RPC
    93% of the transactions in the window

    The tape records what the key did. It does not say who held the key, and accounts of that day differ.

    transactions a minute, UTC. marks under the line: minutes with sales of the main coin

    Turn it down until theft is boring.

    The pocket key can move a set share of the bag each day. Set the share and see what that key could have taken from the same wallet.

    0.1% a day
    21,522 SOL sold40 SOL
    key could take 40 SOLstays in the bag 21,482 SOL
    the key's 25 sales of this coin, in order. dark: what a capped key could have matched, best prices first
    How this is counted

    One coin, one period. The limit is a share of the 87.49M tokens the key sold. We let it sell that share at the best prices the key actually got that day, across its 25 sales. A real thief would do worse.

    At a period boundary a key can spend two limits back to back. This number is one of them.

    One key for the pocket. One stays home.

    It works like a bank card and the account behind it. The card has a daily limit. The account does not travel.

    pocket key
    Lives in a hot wallet. Moves up to the limit each day. If it leaks, the limit is the damage.
    home key
    Kept offline. Moves everything, changes the limit, revokes the pocket key.
    the safe
    A Squads v4 vault with a spending limit on the pocket key. No new on-chain program.
    Mainnet and testnet

    Make it petty.

    The app opens a real safe on Squads v4 in four steps and one signature. It runs on mainnet. It is new, so try it on testnet first: one switch in the header, and the tokens there are worth nothing.

    No step asks for a private key. Not now, not then.

    1. Name the home keyA hardware wallet, or two of three signers for a large bag. Only its address is needed.
    2. Choose the pocket keyThe hot wallet you already use.
    3. Set the pocket limitA share of the bag, fixed as an amount per day.
    4. Sign onceThe safe is created, the limit is set and the bag moves in, in one transaction that is shown to you first.
    Not open yet

    Steal this wallet.

    We will publish the private key of a hot wallet with real money behind it. Anyone can use it. The daily limit is all it can move.

    • It opens after the limit holds on testnet, for SPL Token and Token-2022.
    • If the hot key can exceed the limit in any way, the key stays private.
    • The home key of that safe will be two of three, with public signers. The team could move the pot. We say so here first.
    • Until then there are no counters to show.
    petty badge example

    91%of this bag is locked, in this example

    pocket key limit
    0.1% a day
    safe
    no address yet
    explorer
    opens with the first safe
    printed
    on this page

    A badge anyone can check.

    A public card for a bag in a safe: how much is locked and how much the pocket key can move in a day. Holders read the address, not the thread.

    Example, not a live safe

    What it does not do.

    Read this part before the rest.

    outside the safe
    Tokens you never moved in, LP positions, staking, perps. Not covered.
    stolen home key
    It takes everything. Keep it on a hardware wallet, or use two of three.
    SOL
    Only the SOL that sits in the safe under its own limit.
    other chains
    Solana only.
    period boundary
    A key can spend one limit at the end of a period and another at the start of the next.
    risky tokens
    Mints with a permanent delegate, a transfer hook, a transfer fee or a freeze authority are not accepted.
    money back
    No yield, no insurance, no refunds. PETTY limits a loss. It does not undo one.
    audits
    The safe runs on the Squads v4 program. Audits of Squads cover Squads. They are not audits of PETTY, and the code of this app has had no outside review.