Using the wallet
What the wallet is, where it runs, and how it keeps your keys and proofs on your own computer.
What the wallet does#
The wallet holds your keys and your notes. It follows the chain, checks each block's header and signature, finds the notes that belong to you by trying to open every encrypted envelope, and builds the proof for each transaction on your own computer. Your keys and balances are never sent to a node.
Running it today#
The wallet is a separate program from the node. With the xlh command (see Install and first run):
xlh wallet create --name main
xlh wallet open --name maincreate asks twice for a passphrase of at least 12 characters and shows nothing as you type. open asks for the passphrase and prints a link. Open that link in a browser on the same computer. The part after # is the access token for this session and the page removes it from the address bar. Closing the terminal or pressing Ctrl+C locks the wallet.
The wallet page only ever listens on your own computer, even if your node is in public mode.
What you need#
| Item | Value | Caveat |
|---|---|---|
| Memory while proving | about 1.2 GB | Measured on one desktop |
| Time per transaction | 6 to 18 seconds, median about 7 seconds over 20 proofs | 16-thread desktop; not measured on a laptop, slower on fewer or older cores |
| Runs on | Linux x86-64 directly; Windows through WSL 2 | macOS only inside Docker for now, written but never run |
| Browser or phone as the wallet | Not possible | The prover is a 64-bit desktop program |
Where the proof is made#
The proof is built from the private details of your transaction, so whoever builds it sees them. The only acceptable place is a computer you control.
| Option | State |
|---|---|
| Your Linux PC | Works. Nothing leaves the computer. |
| Your Windows PC through WSL 2 | Works. Nothing leaves the computer. |
| A proving service run by someone else | Not offered. The service would see what you spend, how much and to whom, so the wallet proves on your own computer. |
In this section#
- Create and back up a walletCreate a wallet, protect it with a passphrase, and make the backups that let you recover it.
- Receive and payGive someone your receiving card, pay a card or a payment request, and see what each side learns.
- Public swap and private OTCSwap assets directly with another person, either publishing the trade or keeping it private.
- Create an asset and launch a tokenThe difference between creating a plain asset and launching a token with a pool, and what each publishes.
- Buy and sell in a poolHow to quote and trade in a launched token's pool, why to keep slippage low, and what a trade makes public.
- What each wallet action makes publicOne table of every wallet action, what an observer can read, and what stays private.