CA…

Choose a wallet

Sotto Wallet is preferred when it is installed. Any EIP-6963 wallet works for the admin panel.

Connecting shares your public address with this site. Read the privacy policy.
1 December 2026 · Sotto

First mainnet test: every mechanic, with real funds

On 1 December we ran every Sotto mechanic on Elysium mainnet through a Node.js script, the extension and the website, fixed nine bugs live, and asked an outside observer to undo the privacy.

On 1 December 2026, the day the contracts went live, we ran every user-facing Sotto mechanic on Elysium mainnet with real money, in small amounts. Then an auditor who had not seen our logs tried to reconstruct what we had done from public data alone. Later that day we ran a speed pass. Everything here comes from our public test repository, linked at the end.

In short

  • Every private mechanic worked on mainnet through all three paths: a Node.js script, the browser extension and the website.
  • No contract problem was found. Nine off-chain bugs were found, fixed live with regression tests, and run again. The second Node.js round passed 27 of 27 steps.
  • The observer recovered no token, amount or recipient from any private transfer. It did link meme round trips through exact public amounts and traced every perps account. We shipped eight privacy fixes.
  • The speed pass brought most private actions from several seconds to under one second.

What we tested

  • Deposits of WHYPE and USDC, and balances of every token from one note tree.
  • A hidden-asset transfer: a private send whose transaction names no token.
  • Withdrawals to a public address, and to a fresh address with a small gas drop.
  • Private swaps in both directions.
  • Meme buys and sells, including a two-hop route for a launch quoted in MONTRA, and quick buys and sells with pre-proved tickets.
  • Session funding: native HYPE to a fresh session address.
  • Perps on Hyperliquid: funding a one-time account from the pool, an ETH market order opened and closed, and the money returned to a new private note.

Each mechanic ran at least twice through each of three paths: Node.js (a script on our server, with private identities derived from one test wallet), the extension (the real extension, driven by Playwright) and the website (its trading terminals, connected to the extension through Sotto Connect).

How we ran it

Each step moved at most 0.2 WHYPE or 10 USDC. Perps used 12.5 USDC, the smallest amount that clears Relay's first-funding fee of about 1.24 USDC and still meets Hyperliquid's $10 minimum order. Release builds offer standard perps amounts of 100, 500, 1,000 and 5,000 USDC. The markets were MONDESKS (meme), MARBLE (two-hop meme) and ETH (perps).

For every action we kept the time from click to inclusion, the gas, the relayer fee and a progress timeline. This run's log publishes timings, gas figures and outcomes, but no transaction hashes or wallet addresses. The final test is the first run with every hash public and linked to the explorer.

Results

Click to inclusion, over the public RPC:

Action Node.js Extension / site
Ticket buy or sell 1.9–5.1 s 6.5–8 s
Swap, proof made at the click 4–6 s 8–10 s
Private transfer 2.5–5.5 s —
Withdrawal 2.2–3.2 s —
Perps order fill 0.9–3.5 s —
Perps funding to "ready" 1.2–3.8 min —
Perps return to a private note 13–30 s —

On the relayer's side, a request reached inclusion in a median of 0.48 s for transfers, 0.55 s for tickets, 1.38 s for withdrawals and 1.46 s for swaps. None of those transactions reverted. The rest went to route quoting (about 2.3 s), the proof and submit (about 2 s) and inclusion (about 1 s). Perps funding also includes a deliberate random 15–300 s delay before the bridge keeper forwards the money.

  • Hidden-asset transfer. The transaction's token field was zero, and the receipt carried no USDC address or topic, in both rounds.
  • Gas drop. 0.0007 HYPE reached the fresh address 2.5 s after the withdrawal and paid for that address's own USDC transfer.
  • Perps. 12.5 USDC left the pool. Relay took 1.2388 USDC as its new-account fee and credited 11.2612 USDC on Hyperliquid. An ETH long of 0.0064 was opened and closed, and 11.247 USDC came back as a private note of 11.0165 USDC in 13.5–14.4 s.

Most FAIL rows in the extension and website runs were the test driver waiting for UI that had changed or missing a toast; where the action still happened, the next row shows it. The rest were real bugs. The whole run cost about 0.16 HYPE-equivalent (about $11) in third-party fees, gas and slippage.

Nine bugs, found and fixed live

All nine were off-chain. Each fix has a regression test, and only the affected service was rebuilt, so the log records both the failure and the re-run.

  1. Relayer gas price. Valid transfers were refused when the base fee rose above a cached gas price. The simulation now runs at twice the cached price; the roughly 70 relayed transactions after the fix all passed.
  2. Extension network. The built-in Elysium network still pointed at the pre-launch deployment. It now uses the mainnet one.
  3. Swallowed fee quote. During a relayer outage, a failed gas-fee quote fell back to paying in the meme token. It now surfaces as an error.
  4. Relay quotes. Relay's quote API needs a key, and until it was set, no wallet could fund perps. An opt-in fallback now uses Relay's keyless endpoint.
  5. Slow meme pages. A cold meme page took 40–57 s. Its lookups now run in parallel with caching: 1.5–2.6 s cold.
  6. Stuck perps return. A return interrupted while "sending" stayed stuck. Retry now works, and brought 11.243 USDC back into the pool in 10 s.
  7. Busy proxy. Our Hyperliquid proxy's "busy" answers failed actions at once. Reads now retry with backoff; exchange actions do not.
  8. Request storm. The site's perps page made 404 proxy requests per minute. One shared load brought that to 67.
  9. Public RPC limits. Reads now retry longer. A private RPC is the real fix.

Before launch, two independent security reviews had run, with a proof of concept for every finding above Low. The first found no Critical issues; its High findings were relayer gas griefing through a malicious token, and a wallet that trusted the relayer's fee quote. The second found no Critical or High issues. Every finding was fixed in the deployed code.

The outside-observer audit

The audit had three phases. First, a blind observer reconstructed the run from Elysium chain data, Hyperliquid's public API, the code and a runtime capture of the website, and wrote it down before opening our logs. Then every claim was scored against ground truth. Then came fixes.

What held:

  • Hidden-asset transfers revealed no token, amount or recipient. Their calldata is 9,380 bytes, the same as a withdrawal's.
  • Deposit note keys are one-time.
  • The observer missed all 8 transfers between different identities: a payment looked exactly like a wallet merging its own notes.
  • Hyperliquid and Relay never saw a user IP, and the website made zero third-party requests.

What did not hold:

  • Exact public swap amounts link trades. Swap amounts are public to 18 decimals, so selling exactly what you bought, selling a leftover later, or withdrawing an exact swap output can be matched. All 9 meme round trips were linked. More users do not fix this.
  • Perps accounts are traceable end to end: pool funding, Relay, a new Hyperliquid account, its trades, the return note. Relay's public ledger links each hop within seconds. Position size and profit are public on Hyperliquid. The account stays unlinked from your main wallet only as long as the pool hop holds.
  • A ticket bug. A second install of the same seed restarted the ticket counter at 0, so two tickets shared a key.
  • Client network leaks. The extension checked fresh withdrawal addresses and polled perps addresses on the public RPC from the user's IP, and sent swap quotes straight to KyberSwap and Montra.

The observer made 33 linkage claims: 31 right, 2 wrong. Every "certain" claim was right; both errors were timing guesses broken by two wallets acting at once. The test itself was attributable to us for a reason outside the protocol: project wallets funded the test wallets, and test addresses were swept back to them.

Eight fixes, none needing a contract change, all implemented with regression tests the same day:

  1. Ticket keys are random, never from a counter that can restart.
  2. No RPC check of a fresh withdrawal address.
  3. Public exits are rounded down to 2–3 significant digits, with a warning when a typed amount equals a known public amount.
  4. Swap quotes go through our server; perps state comes from the bridge keeper.
  5. The keeper stores only what a restart needs, deletes finished jobs and encrypts its file.
  6. Plain perps copy: the trades are public and visibly funded from the pool.
  7. A fixed gas-note size, and the same proving delay for buy tickets as for sell tickets.
  8. Referrer-Policy: no-referrer and a CSP on every page of the website.

What stays public

Transfers inside the pool hide the sender, the recipient, the amount and the token. Deposits and withdrawals are public: address, token, amount, time. Only the link between them is hidden, and only among other users. Swaps and meme trades are public trades by Sotto's adapter: who traded is hidden, the amounts are not, which is why exits are rounded. Perps positions are public on Hyperliquid: Sotto hides whose they are, not what they are.

The speed work that followed

We measured click to inclusion again, from a PC in Central Europe to services in Asia (round trip about 0.27 s):

Action Path Before After
Quick buy with a ticket Website 6.9–16.4 s 0.75 s
Private swap USDC→HYPE Website 13.6 s 0.86 s
Private swap HYPE→USDC / USDC→HYPE Extension 8.8 s 0.77 / 0.82 s
Withdraw Extension 6.4 s 0.73 s
Private send Website — 0.64 s

The relayer's own median, received to included, went from 0.54–0.62 s to 0.36–0.44 s. The main changes: forms prove while you edit them, so the click only relays; the relayer sends with one RPC call, polls receipts every 25 ms and streams "sent" and "included" on the same request; browsers skip the CORS preflight; and a quote book refreshes quotes every 3 s through our servers, so a ticket click does not wait for a quote.

We did not reach 0.3 s. From Europe, the floor of this design is about 0.65 s: one round trip (0.27 s), the relayer (about 0.30 s) and one block (about 0.09 s). The relayer keeps simulating every transaction, because skipping that would reopen the gas-drain attack from the first security review.

Tickets had a launch problem. A ticket may be proved only after 30 plus a random 0–30 pool inserts since the note it spends, which in a near-idle pool means an hour or more. So a quick buy with no ticket ready now uses a swap proved while the token is on screen, and the click still only relays. The final test measured that path.

Read the raw data