# X Article: How Sotto works For an X Article (long-form) on https://x.com/Sotto_Privacy. - **Cover:** `D:\PRIVAT\brand\sotto\posts\media-new\article-cover-how-sotto-works.png` (1500×600, the 5:2 cover X asks for). - **Images inside the article** (one series, same style as the cover, none reused from posts): `media-new/article/10-one-pool.png` under section 1, `20-proofs-relayer.png` under 2, `30-speed.png` under 3, `40-exits.png` under 4, `50-more-than-swaps.png` under 5, `60-verify.png` under 6, `70-quantum.png` under 7. Cover: `media-new/article/00-cover.png`. - **Publish only once the quantum-resistant notes update is live in production** (one `sotto1` address with the ML-KEM key, self-notes, hybrid notes to others). Before that, sections 1 and 7 describe something users don't have yet. Paste the title, then the body. Headings are X Article headings. Links are written in full so they paste cleanly. --- **Title:** How Sotto works: the quantum-resistant privacy layer of Elysium, from deposit to exit --- ## Overview Sotto is the quantum-resistant privacy layer of Elysium. You put funds into one shielded pool and get a private balance. From there you can send, swap, quick-trade memes, trade perps on Hyperliquid, run orders and withdraw, and nobody watching the chain can tell which of those actions are yours. It is not a new chain or an exchange, and we never hold your funds. It is a set of contracts on Elysium, a wallet that keeps your keys on your device, and a relayer that submits your transactions so your address never shows up as the sender. **Why quantum-resistant.** A large quantum computer would break the elliptic-curve cryptography most of crypto runs on. For privacy that is a problem today, not someday: anything encrypted with those keys and published now can be stored and decrypted later. Sotto's privacy is built so that there is nothing for that attack to open: - **Spend keys are hash-based.** Spending a note proves you know the secret behind a Poseidon hash; there is no curve signature to break. - **The pool stores only hashes.** Commitments, nullifiers and the tree are Poseidon2. - **Notes use post-quantum encryption.** A 256-bit symmetric key for notes to yourself, hybrid X25519 + ML-KEM-768 (NIST FIPS 203) for notes to others. - **Exits go to fresh addresses** whose public key isn't on chain until they spend. One part isn't quantum-resistant yet: the proof system that guards the funds (UltraHonk on BN254). Section 7 has the roadmap for it. You can use Sotto in two ways: the browser extension, or the wallet built into the site. You can also bring MetaMask or any EIP-6963 wallet to deposit. Start here: https://sottoprivacy.xyz · Docs: https://sottoprivacy.xyz/docs ## 1. One pool, private balances When you deposit, your tokens become a **note**: an encrypted record that only your keys can open. The pool stores only a commitment to it, a leaf in one Merkle tree of depth 32, shared by every user and every token. Spending a note publishes a **nullifier**, a one-time tag that blocks double spends without saying which note was spent. So the chain sees notes appear and nullifiers get used, but it cannot connect one to the other. ✅ **Quantum-resistant.** Commitments, nullifiers and the tree are Poseidon2 hashes, which a quantum computer doesn't break. The note itself is encrypted so it stays private later too: - **Notes to yourself** (deposits, change, swap results) use a 256-bit symmetric key derived from your seed. There is no public key for an attacker to work on. - **Notes to other people** use hybrid encryption: X25519 together with ML-KEM-768, the post-quantum standard NIST published as FIPS 203. Your Sotto address (`sotto1…`) carries a fingerprint of your ML-KEM key, so a sender can always check they encrypt to the right one. - **All notes have the same size on chain**, so a private send can't be told apart from your own change. What this means in practice: - **Deposits are public.** Anyone can see that an address put tokens in. - **Inside the pool, it's private.** On a private send, the token, the amount, the sender and the recipient don't appear on chain. - **Withdrawals are public.** Anyone can see that tokens came out to an address. What Sotto hides is the link between what went in and what came out. More: https://sottoprivacy.xyz/docs/how-it-works ## 2. Proofs on your device, the relayer sends Every private action is a zero-knowledge proof, made **on your device** in the extension or the site wallet. It proves that you own the notes you spend, that the amounts add up and that the rules are met, without revealing which notes. We use UltraHonk, so there is no trusted setup and no ceremony whose secrets could forge proofs. A proof is 8,000 bytes. ✅ **Quantum-resistant spend keys.** Owning a note means knowing a secret behind a Poseidon hash. There is no signature on an elliptic curve inside, so there is no key for a quantum computer to recover. The proof system itself (UltraHonk on the BN254 curve) is not quantum-resistant yet; that's on the roadmap in section 7. Your wallet hands the finished proof to the **relayer**, which submits the transaction and pays the gas. On the explorer, the sender is the relayer, not you. The relayer can't change what you signed. The recipient, the fee and every other detail are bound into the proof. The relayer is also not the only way in: the pool accepts a valid proof from any address. Our servers add speed and convenience; your funds and the rules live in the contracts. More: https://sottoprivacy.xyz/docs/relayer · https://sottoprivacy.xyz/docs/privacy-model ## 3. Fast: the proof is ready before you click Proving takes seconds, so we moved it out of the click. The wallet builds the proof **while you fill in the form**. When you press the button, it only sends. For quick meme buys we go one step further: **trade tickets** are proved ahead of time at standard sizes, and the click just picks the token and signs. The result, measured on Elysium mainnet with every transaction public: a **0.84 s median from click to block** over 65 private actions, and **0.72 s** in the extension and on the site. The method and every number: https://sottoprivacy.xyz/speed ## 4. Leaving the pool without leaving a trail The exit is where privacy is usually lost, so the wallet helps: - **Fresh addresses.** Withdraw to a brand-new address. It needs gas to move, so the relayer sends it a small **gas drop** of native HYPE right after the withdrawal, and you never have to fund it from a wallet that would link back to you. ✅ **Quantum-resistant until you spend:** an address is a hash of its public key, and the key only appears on chain with its first signature. - **Rounded amounts.** Exact amounts are fingerprints. The wallet rounds public exits, so they look like many others. - **Waves.** Split a larger exit into parts that go out at random times to separate fresh addresses. - **Holder tiers.** Holders of the utility token pay a lower withdrawal fee. It's checked on the address you withdraw to, so it's a choice per exit: cheaper to a holder address, or quieter to a fresh one. More: https://sottoprivacy.xyz/docs/withdraw ## 5. More than private swaps - **Onchain tab.** Elysium tokens with live trades and holders. Before you buy, the terminal simulates a buy, a transfer and a sell to flag honeypots and high taxes, and none of that is ever sent. https://sottoprivacy.xyz/app/onchain - **Perps on Hyperliquid.** Trade from a fresh one-time account funded out of the pool, not from your wallet. The trades are public on Hyperliquid; who placed them isn't. https://sottoprivacy.xyz/docs/perps - **Orders on your device.** Limit, TP/SL, trailing, DCA, TWAP, snipes and withdrawals in waves. The levels and schedules never leave your device; each fill is an ordinary private transaction. https://sottoprivacy.xyz/docs/orders - **HyperEVM.** Send privately from your Elysium balance to an address on HyperEVM. - **Rewards.** Use Sotto and earn points. Tasks are counted on your device, the bar fills, and at any of three stations you can claim HYPE to your public wallet. https://sottoprivacy.xyz/app/rewards ## 6. Don't trust us: check it We published the tests, not just the claims: - Every test and the full results of our mainnet runs, with every transaction hash: https://github.com/SottoPrivacy-xyz/sotto-tests - The contracts and circuits: https://github.com/SottoPrivacy-xyz/sotto-contracts - Pick any private send from the report and open it on the explorer: the sender is the relayer, and the token and amount are nowhere in it. Privacy also grows with use. The more people share the pool, the harder any single exit is to link. Round amounts, fresh addresses and some time between deposit and withdrawal make it stronger. ## 7. Quantum roadmap We started with the part that protects your past, the encrypted notes, because that is what "harvest now, decrypt later" goes after. Here is where everything stands. **Done ✅** - **Hash-based spend keys and pool state.** Poseidon / Poseidon2 commitments, nullifiers and tree. - **Quantum-resistant notes.** Symmetric 256-bit notes to yourself, hybrid X25519 + ML-KEM-768 notes to others, one `sotto1` address that carries the post-quantum key. Tested on Elysium mainnet with real funds. - **Exits to fresh addresses.** No public key on chain until you spend. **Building now 🔨** - **Quantum emergency exit.** If proofs could ever be forged, the pool freezes and every user withdraws with hash checks only. Commit first, reveal later, so a bot can't take your exit; a stolen admin key can freeze, never pay. The prototype is built and tested. It ships with the next version of the vault, after an outside review. **Next ⏭** - **Hash-based proofs.** Replace UltraHonk with a hash-based proof system, verified on Elysium directly with no elliptic-curve wrapper: a testnet prototype first, then every spend carrying both proofs before the old one is retired. - **Quantum-resistant admin control.** A hash-based co-signature on admin and treasury actions. **Not covered by us:** wallet signatures (MetaMask, the relayer and Elysium itself use ECDSA). That's true for every EVM chain. Full roadmap: https://sottoprivacy.xyz/blog/quantum-roadmap Get the extension: https://sottoprivacy.xyz/download · Start trading: https://sottoprivacy.xyz Trade sotto voce. --- ## RU (для владельца, не публиковать) **Заголовок:** Как работает Sotto: квантово-устойчивый приватный слой Elysium, от депозита до вывода **Обзор.** Sotto — квантово-устойчивый приватный слой Elysium. Кладёшь средства в общий защищённый пул и получаешь приватный баланс. Дальше можно переводить, свопать, быстро торговать мемами, торговать перпами на Hyperliquid, ставить ордера и выводить, а наблюдатель за блокчейном не поймёт, какие из этих действий твои. Это не новая сеть и не биржа, мы не держим средства: это контракты на Elysium, кошелёк с ключами на твоём устройстве и релеер, который отправляет транзакции, чтобы твой адрес не светился как отправитель. Работает через расширение или кошелёк на сайте, депозит можно сделать с MetaMask. Почему квантово-устойчивый: большой квантовый компьютер ломает криптографию на эллиптических кривых, и всё, что зашифровано такими ключами и опубликовано сейчас, можно сохранить и расшифровать потом. У Sotto открывать нечего: ключи траты на хешах (Poseidon), пул хранит только хеши (Poseidon2), ноты зашифрованы пост-квантово (симметричный 256-битный ключ себе, гибрид X25519 + ML-KEM-768 другим), выводы идут на новые адреса без публичного ключа в сети. Пока не квантово-устойчива только система доказательств, которая охраняет средства (UltraHonk на BN254) — она в роадмапе. **1. Один пул, приватные балансы.** Депозит превращается в запись (note), которую открывают только твои ключи; в пуле хранится лишь её обязательство в общем дереве глубины 32. Трата записи публикует нуллифаер — одноразовую метку против двойной траты, не говорящую, какая запись потрачена. Депозиты публичны, внутри пула приватно (в приватном переводе не видно ни токена, ни суммы, ни сторон), выводы публичны; скрыта связь между входом и выходом. ✅ Квантово-устойчиво: обязательства, нуллифаеры и дерево — хеши Poseidon2; ноты себе — симметричный 256-битный ключ из seed, ноты другим — гибрид X25519 + ML-KEM-768 (NIST FIPS 203); адрес sotto1 несёт отпечаток ML-KEM-ключа; все ноты одного размера. **2. Доказательства на устройстве, отправляет релеер.** Каждое приватное действие — доказательство с нулевым разглашением, сделанное на твоём устройстве (UltraHonk, без доверенной настройки, 8 000 байт). Релеер отправляет транзакцию и платит газ: отправитель в обозревателе — он. Изменить детали он не может — они привязаны к доказательству. И релеер не единственный путь: пул примет корректное доказательство от любого адреса. ✅ Ключи траты на хешах, подписи на кривой нет. Сама система доказательств (UltraHonk на BN254) пока не квантово-устойчива — это в роадмапе. **3. Скорость: доказательство готово до клика.** Кошелёк строит доказательство, пока ты заполняешь форму; клик только отправляет. Для быстрых покупок мемов — тикеты, доказанные заранее. Итог в мейннете: медиана 0.84 с от клика до блока по 65 действиям, 0.72 с в расширении и на сайте. **4. Вывод без следа.** Новые адреса с «газом» от релеера (✅ квантово-устойчивы, пока с них ничего не отправляли: публичного ключа в сети нет), округление сумм, вывод волнами, уровни скидки для холдеров (проверяется на адресе вывода — выбор: дешевле на адрес холдера или тише на новый). **5. Больше чем свопы.** Вкладка Onchain со сканером ханипотов, перпы с одноразовых аккаунтов, ордера на устройстве, отправка в HyperEVM, награды за использование. **6. Проверь сам.** Открытые тесты и результаты с хэшами всех транзакций, открытые контракты; приватность растёт с числом пользователей. **7. Квантовый роадмап.** Сделано ✅: ключи траты и состояние пула на хешах; квантово-устойчивые ноты (симметричные себе, гибрид X25519 + ML-KEM-768 другим, один адрес sotto1 с пост-квантовым ключом), проверено в мейннете на реальных деньгах; выводы на новые адреса. Делаем 🔨: квантовый аварийный выход (прототип готов и протестирован, выйдет со следующей версией хранилища после внешнего аудита). Дальше ⏭: доказательства на хешах вместо UltraHonk (сначала прототип в тестнете, потом двойные доказательства в мейннете), квантово-устойчивая подпись для админа и казны. Не от нас зависит: подписи кошельков (ECDSA у MetaMask, релеера и самой Elysium).