# Reserve and Spending

Your private wallet has two balances, the Reserve and Spending. That is the whole model, so there is no gas to manage, no wrapped tokens and nothing else to keep track of.

*Diagram: Your private wallet has two balances, the Reserve and Spending. A public wallet deposits into the Reserve and withdraws from it, the Reserve and Spending move funds with zero-knowledge proofs, and Spending reaches all of Rujira (drawn on https://redacted.gg/docs/using-redacted/how-it-works/)*

## The Private Reserve

The Reserve is a shared space where every user's deposits live together. Your share of it takes the form of cryptographic notes that only your keys can open, sitting among everyone else's notes, with no address or account entry attached.

That shared group is what protects you. When you later move funds out, you prove with a zero-knowledge proof that you own *a* note in the Reserve without revealing *which* one, so the link between your deposit and your later activity is never written anywhere. It works a bit like the vault room of a private bank, where everyone's boxes are in the same room and an observer can see people come and go without learning whose box is whose.

## Private Spending

Spending is your personal private account. It is a smart-contract account created for you through the same proof system, with no visible tie to your public wallet, and it is where DeFi happens. From it you can trade on the orderbook, swap between coins of different chains, stake, lend, borrow and bid on liquidations. Positions belong to this account, and the account answers only to your keys, with no public address in control of it.

Your private account acts on Rujira from one Spending account. Every swap, order, loan and stake runs from it, so anyone can see that its actions belong together, and nothing on-chain ties the account to your wallet. When you want a clean slate, choose **New Spending account**, which you can do once a day. The old account keeps its open positions, and its free coins go back to the Reserve. Deposits from other chains never land here, because they arrive at pay-in accounts of their own, a fresh one once coins have reached the last.

You move funds from the Reserve to Spending when you want to act, and back to the Reserve when you want them to rest among everyone else's notes. Returning funds mints fresh notes. Your own money comes back into the Reserve at once, while money someone else sent to your Spending account waits like a deposit (see [Returns from Spending](https://redacted.gg/docs/node-network/node-network.md#returns-from-spending)).

*Diagram: Returns from Spending. A node traces where the money came from, your own money comes back at once, money someone else sent waits like a deposit, a mixed return is split, and coins tied to known hacks or sanctions lists stay in the Spending account (drawn on https://redacted.gg/docs/using-redacted/how-it-works/)*

## Sending coins to their own chain

Coins from other chains, such as BTC and ETH, live in your private balance as secured assets on THORChain, so a swap between coins of different chains settles inside THORChain and the result lands in your Spending account. To send a coin to its own chain, withdraw it to an address on that chain, such as a Bitcoin or Ethereum address. The app pays it from a fresh payout account through THORChain, which turns a secured asset back into the native coin, or swaps into that chain's coin when you send something else, and the payout account has no visible tie to your wallet.

**Swap privately** in the account menu takes a coin in from one chain and pays another chain's coin out through your private account. You send the coin to a fresh pay-in account, it rests in your Reserve, and after a random wait the app pays the address you chose from a fresh payout account, with **Send now** one tap away.

## The tx-less experience

After you sign in once, every trade, transfer and withdrawal is authorized in your browser, by a zero-knowledge proof when money leaves the Reserve and by a hash-based signature of your Spending account's key when it acts on Rujira, and the sealed action goes to a relayer. The relayer carries it on-chain and pays the network fee, so your wallet is never asked to sign again and there are no popups or gas top-ups. You get real on-chain execution with the feel of a web app.

*Diagram: How an action runs. You click Confirm, your browser builds a zero-knowledge proof and hands the sealed action to a relayer, the relayer submits it and pays the network fee, and it is done without your wallet signing (drawn on https://redacted.gg/docs/using-redacted/how-it-works/)*

The proof or signature fixes everything about the action, including the amounts, the destination, the fee and even which relayer may submit it and until when. The relayer only delivers it and can't change what you authorized or spend anything on its own.

## One action, one transaction

Every action is atomic. Whatever your Spending account does, a swap, an order, a loan or a stake, is a single transaction: every step of it and its fees land together, or none of it lands and your coins stay where they were. Your funds are never caught halfway through a trade.

## One account, everywhere

Your private account is a single identity. You can open it on a desktop, on a phone or in a fresh browser after losing your laptop, and it rebuilds from the chain and your keys alone. A synced passkey opens it on your other devices, you approve any other device from one where it is open, and each new device confirms its account once. The app shows one active account at a time, and restoring reopens the same identity instead of creating a copy.

Continue with [How the privacy works](https://redacted.gg/docs/using-redacted/privacy.md), [Fees](https://redacted.gg/docs/using-redacted/fees.md) or the [architecture](https://redacted.gg/docs/protocol/architecture.md).

---

Page: https://redacted.gg/docs/using-redacted/how-it-works/
