Using a Ledger
A Ledger is a hardware wallet: a small device that holds your keys and signs a transaction only after you approve it on the device. You can hold an Anon wallet on a Ledger and still use a private balance: move tokens in (shield), send privately, move tokens out (unshield) and swap. The keys that can spend stay on the Ledger. Anon on your computer or phone shows your balances and prepares each transaction. Each section of this page answers one screen in Anon, and a help link in the extension opens the section for the screen that you are on.
Quick Answers
- Why do I install the RAILGUN app from Anon and not from Ledger Wallet? The RAILGUN app is the app on the Ledger that signs private actions. Ledger Wallet is Ledger's own app, earlier named Ledger Live. The RAILGUN app is not in Ledger's app catalog yet. Railgun is working with Ledger to list it, and there is no date. Until then, Anon installs the app on your Ledger directly, and you check the installer and the app on the device before you approve.
- Can I create a new account with a Ledger in the extension? Yes. On the welcome page, choose I already have an address and then Connect a hardware wallet. Use this path also when the Ledger has never been used with Anon. Create a new address creates a wallet with a new recovery phrase, not a Ledger wallet. A clearer entry is planned.
- Is the RAILGUN app open source or audited? The connector, the library that Anon uses to talk to the Ledger, is public: Railgun-Community/ledger-client. The app on the device is built and maintained by the ZKNOX team. Its source code is not public yet. It is expected to be published. Anon has no published audit of the device app to point you to.
- Does it work on every network? Yes. Shield, unshield and private send work on every network where Anon has a Railgun pool, the shared contract that holds private balances: Ethereum, Arbitrum, Polygon, BNB Chain and Base.
- Does it work on mobile? Yes, with mobile version 1.4.8 or later. An iPhone connects over Bluetooth. An Android phone connects over Bluetooth or a USB cable.
- Is Trezor supported? Not today. A Trezor does not accept add-on apps (plugins) yet, so Railgun on a Trezor would need custom firmware on the device. Trezor is expected to allow plugins some time in 2027. That is not a promise, and Anon has no date for Trezor support.
Find Your Screen
| Anon shows | Read |
|---|---|
| Connect your Ledger, Looking for your Ledger… | Connect in a Full Tab, Pair Over Bluetooth, Device Not Found or Disconnected |
| Unlock your Ledger. On mobile, Your Ledger is locked | Unlock Your Ledger |
| Open the RAILGUN app, Open the Ethereum app. On mobile, The RAILGUN app didn't open | Open the RAILGUN App, Open the Ethereum App |
| Confirm on your Ledger, Review on your Ledger, You declined on your Ledger | Confirm on Your Ledger |
| Approve this device. On mobile, Approve this phone's sign-in key | Approve This Device |
| Install the RAILGUN app, Install the Ethereum app. On mobile, RAILGUN app not installed | Install the RAILGUN App, Install the Ethereum App |
| Update the RAILGUN app, Update the Ethereum app. On mobile, RAILGUN app needs an update | Update the RAILGUN App, Update the Ethereum App |
| Key does not match — do not approve, App does not match — do not approve | Verify the Installer Key, Check the App Code Hash |
| Not enough space on your Ledger | Free Up Space on Your Ledger |
| Outdated device firmware, This Ledger OS version isn't supported | Update Your Ledger Firmware |
| Ledger disconnected, Your Ledger didn't respond, Bluetooth connection lost, Something went wrong | Device Not Found or Disconnected, Pair Over Bluetooth |
| Turn on smart account upgrades, Not the Ledger for this account | Other Problems |
What You Can Do
- See your balances without the Ledger. Anon syncs and shows your public and private balances while the Ledger is disconnected. It asks for the Ledger only when something must be signed.
- Shield and unshield. To shield is to move tokens from a public address into your private balance. To unshield is to move them out to a public address. See Shielding & Unshielding.
- Send and swap from your private balance or from your public address. See Sending Tokens and Swapping Tokens.
- Use stealth accounts and connect to sites. A stealth account is an extra public address that Anon creates from your wallet. See Stealth Accounts and DApp Connections.
Supported Devices and Browsers
| Ledger | Extension | Mobile, iPhone | Mobile, Android |
|---|---|---|---|
| Ledger Flex | USB or Bluetooth | Bluetooth | Bluetooth or USB |
| Ledger Nano S Plus | USB | Not supported. The Nano S Plus has no Bluetooth | USB |
Other Ledger models are not supported today, because Anon has the RAILGUN app only for these two. You also need:
- Anon. Extension version 0.12.1 or later, in Chrome or another Chromium browser such as Brave or Edge, on a computer. Mobile version 1.4.8 or later. See Installation.
- Ledger OS 1.6.1 or later. Anon has the RAILGUN app for Ledger OS 1.6 and 1.7. Update Ledger OS in Ledger Wallet. Anon's screens still use the name Ledger Live.
- Two apps on the Ledger. The Ethereum app signs public transactions. You install and update it in Ledger Wallet, and Anon asks for version 1.22.0 or later to shield. The RAILGUN app signs private actions. You install and update it from Anon.
- A cable or Bluetooth. On Android, USB needs a USB-C cable or an OTG adapter. Before you connect, close Ledger Wallet and every other app or browser tab that uses the Ledger.
What Stays on the Ledger
| Item | Where it is |
|---|---|
| The keys that sign and spend, for your public address, your private balance and your stealth accounts | Only on the Ledger |
| Your Ledger's recovery phrase | Only where you keep it. Anon does not ask for it and does not store it |
| The viewing key. It can read your private balance and history. It cannot spend | A copy is stored encrypted in Anon, on each computer or phone that you set up |
| A sign-in key for that computer or phone | Stored encrypted in Anon. You approve it once on the Ledger |
| The proof of a private transaction. See Zero-Knowledge Proofs | Created on your computer or phone, after the Ledger signs |
A Ledger protects spending. It does not hide your balances from a person who can unlock Anon on your device. You unlock Anon with your passkey or password in the extension, and with biometrics or a PIN on mobile.
Install the RAILGUN App
Ledger Wallet cannot install or update the RAILGUN app, so Anon does it. Anon shows Install the RAILGUN app when the app is missing, during setup or when you start a private action. After setup, the install is also in Settings, under Hardware in the extension or Hardware wallet on mobile.
- Unlock the Ledger and leave it on its home screen, with no app open. If an app is open, Anon shows Quit the open app on your Ledger.
- Start the install in Anon. In the extension, choose Install app on the sheet or Install in Settings. On mobile, choose Install the RAILGUN app. From the popup or the side panel, the extension opens a full tab for the install.
- The Ledger shows "Allow unsafe manager" with an installer key. This is the Ledger's wording for an installer that is not Ledger's own. Check the key, then allow it on the Ledger. See Verify the Installer Key.
- Wait about one minute while Anon copies the app. There is nothing to approve in this step. Keep the Ledger connected and unlocked.
- The Ledger shows two hashes of the app and asks you to approve the install. Check both, then approve on the Ledger. See Check the App Code Hash.
- Anon shows RAILGUN app installed.
Anon waits while the Ledger shows a request, so take the time that you need. Cancel install stops the install. If the Ledger still shows a request, reject it on the Ledger. In the extension, the install runs over USB, and an install over Bluetooth is offered as an experiment. On mobile, the install uses the connection that you chose. If your mobile app does not offer the install, install the RAILGUN app from the extension.
Verify the Installer Key
In step 3 of the install, the Ledger shows the key of the installer that wants to add an app. Allow it only if this key is Anon's key.
- In Anon. Before the Ledger asks, Anon compares the key that it is about to offer with its own signed record. In the extension, Key matches means that these two values agree. Anon cannot read the screen of your Ledger, so check that screen yourself. Both apps show the key's fingerprint, which has five groups of four characters, and Show full key, which shows all 130 characters.
- On the Ledger. The Ledger shows the fingerprint or the full key. If it shows a fingerprint, compare every group. If it shows the full key, compare all 130 characters with Show full key. Ignore the difference between capital and small letters, and ignore separators. Do not ignore a missing or different character. Allow the installer on the Ledger only if the values are the same. If you cannot tell which value the Ledger shows, reject the request.
- Published by Anon. Anon publishes the fingerprint and the full key at anon.inc/security/ledger, and a signed record at anon.inc/.well-known/ledger-installer-attestation.json. Compare the fingerprint with the published fingerprint, or the full key with the published full key. A fingerprint is a digest of the key, not its first characters.
- What a match proves. The record is signed with the installer key itself, so what ties it to Anon is its publication at anon.inc. Its status is experimental, and it cannot be revoked. A match shows that your Ledger is offered the key that Anon published. It does not prove that software is safe.
- If the keys differ. Anon shows Key does not match — do not approve and stops. Reject the request on the Ledger and choose Cancel install. A different key could install unsafe software on the Ledger, so never approve to get past a mismatch. In the extension, Report this to Anon support sends a report. See also Get Help.
Check the App Code Hash
In step 5 of the install, the Ledger shows two hashes of the app, named "Identifier" and "Code Identifier", and asks you to approve. A hash is a short code that identifies data exactly, so the same hashes mean the same app.
- In Anon. Anon shows the start of both hashes for the app that Anon published. In the extension, the card is titled App matches Anon's release.
- On the Ledger. Compare both hashes with the ones in Anon, then approve the install on the Ledger. If you cannot tell which value the Ledger shows, reject the request.
- Published by Anon. anon.inc/security/ledger lists the app identifier for each Ledger model and Ledger OS version. The signed record that is linked there holds both hashes in full. Anon shows only the start of each hash, so use the record to compare a complete value.
- If the hashes differ. Anon shows App does not match — do not approve and stops. Reject the request on the Ledger, cancel the install and report it. See Get Help.
Install the Ethereum App
Anon shows Install the Ethereum app when the Ledger does not have it. The Ethereum app is Ledger's own app. It signs public transactions, and Anon reads your public address from it.
- Open Ledger Wallet. Connect and unlock the Ledger.
- Find the Ethereum app in Ledger Wallet and install it. Approve on the Ledger if it asks.
- Close Ledger Wallet, so that Anon can reach the Ledger. Then choose I've installed it in Anon. Anon checks the Ledger again.
Set Up a Ledger Wallet
- Start in the extension. On the welcome page, choose I already have an address, then Connect a hardware wallet. If you already have a profile in this browser, choose Add New Profile first. Setup opens in a full browser tab.
- Start on mobile. Choose Set up Anon, then Connect a Ledger. If you already have an account, choose Add account first, or open Settings, then Hardware wallet, and choose Add a hardware wallet account.
The steps are then the same in both apps:
- Connect. Unlock the Ledger. In the extension, choose USB or Bluetooth under How to connect, then Connect via USB or Pair via Bluetooth, and pick your Ledger in the browser's window. On mobile, allow Bluetooth if the phone asks, and tap your Ledger under Choose your Ledger. On Android, Anon first asks How to connect.
- Let Anon open the apps. Anon asks the Ledger to open the Ethereum app and the RAILGUN app, one after the other. Approve each request on the Ledger. If the RAILGUN app is missing, Anon offers to install it.
- Choose an address. Anon lists the first addresses of the Ledger's Ethereum app with their balances. Show more lists more. Select one and choose Use this address. The Ledger then shows the address. Compare it and approve.
- Confirm the wallet. The RAILGUN app asks you to confirm the wallet's keys. Approve on the Ledger. Anon shows Wallet confirmed with your Public address and Private address. Choose Continue. The Ledger can ask for one more approval here. Anon uses it to look for an existing account.
- Finish the account. If the address already has an Anon account, Anon shows Account found, signs you in and asks how you want to unlock Anon on this device. If not, choose a username or continue without one, then choose how to unlock Anon. The Ledger asks you once to approve the account setup.
Your Public and Private Address
- The address that you choose in step 3 of the setup becomes your account's public address. It starts with
0x. Your private address starts with0zk. It comes from the RAILGUN app, and it is the same for every address that you choose on that Ledger. - Two Anon accounts that you create from one Ledger with different public addresses therefore share one private address and one private balance. A separate private balance needs a wallet with a different recovery phrase.
Connect in a Full Tab
In the popup and the side panel of the extension, Anon shows Pair in a new tab, Allow USB in a new tab, Install in a new tab or Update in a new tab. The browser shows its window for choosing a device only in a full tab, so Anon opens one.
- Choose Open tab.
- In the tab, choose Allow USB or pair over Bluetooth, and pick your Ledger in the browser's window.
- Go back with Continue in side panel or Continue in popup, or choose Continue in this tab. The sheet says whether your request waits for you or must be started again. The popup closes when the tab opens, so from the popup you start the request again.
- USB. The browser asks for access one time. After that, the popup and the side panel connect without a tab, and you can choose Close this tab.
- Bluetooth. Keep the tab open while you use the Ledger. The popup and the side panel reach the Ledger through this tab.
Pair Over Bluetooth
Bluetooth works with a Ledger Flex. A Ledger Nano S Plus has no Bluetooth and connects with a cable.
- Turn on Bluetooth on the Ledger and on your computer or phone. Unlock the Ledger and keep it close.
- In the extension, choose Bluetooth under How to connect, then Pair via Bluetooth. If a Ledger is connected over USB, choose Disconnect to change mode first. Choose your Ledger in the browser's pairing window, and confirm on the Ledger if it asks. The first pairing can take several seconds. From the popup or the side panel, pairing opens a full tab. See Connect in a Full Tab.
- On mobile, choose Allow Bluetooth if Anon asks, then tap your Ledger under Choose your Ledger. If the phone asks to pair, accept.
If pairing fails:
- If the browser's window closed or did not open, choose Pair via Bluetooth again.
- If Anon shows Bluetooth connection lost, keep the Ledger unlocked and close. Then choose Reconnect or Use USB instead.
- Close Ledger Wallet and every other app or browser tab that is connected to the Ledger over Bluetooth. Remove the Ledger in the Bluetooth settings of your computer or phone, then pair it again. If it still fails, restart the browser, or connect with USB.
Unlock Your Ledger
Anon shows Unlock your Ledger when the Ledger is locked. On mobile the title is Your Ledger is locked.
Wake the Ledger and enter your PIN on the device. In the extension, Anon then continues without a click. On mobile, choose Try again. If Anon is still waiting, check that the Ledger is plugged in, or close to you with Bluetooth. If the Ledger locks again while a request waits, unlock it again. Enter the Ledger's PIN only on the Ledger. Anon does not ask for it.
Open the RAILGUN App
Anon shows Open the RAILGUN app when another app, or no app, is open on the Ledger. The RAILGUN app signs private actions: a private send, an unshield, a private swap and the actions of a stealth account. One action can need the Ethereum app and the RAILGUN app, one after the other.
- If another app is open on the Ledger, close it.
- Open the RAILGUN app on the Ledger. Anon also asks the Ledger to open it. If the Ledger asks you to confirm, approve. If the app is not on the Ledger, see Install the RAILGUN App.
- In the extension, wait. Anon continues without a click when the app is open. On mobile, choose Try again.
Open the Ethereum App
Anon shows Open the Ethereum app for a public action: a shield, a public send, a public swap, a request from a connected site, an account setup or a sign-in on a new device.
If another app is open on the Ledger, close it. Then open the Ethereum app on the Ledger, and approve if the Ledger asks you to confirm. In the extension, Anon continues without a click when the app is open. If the Ethereum app is not on the Ledger, see Install the Ethereum App. If Anon says that it is too old, see Update the Ethereum App.
Confirm on Your Ledger
Anon shows Confirm on your Ledger or Review on your Ledger while the Ledger waits for you. Anon cannot approve for you. Before each request, Anon says what the Ledger is about to show. Go through every screen on the Ledger, compare it with Anon, then approve or reject on the Ledger. If you reject, Anon shows You declined on your Ledger, and nothing is sent.
| Action | App on the Ledger | What you approve |
|---|---|---|
| Shield from Public assets, a public send, a public swap, a request from a connected site | Ethereum | The transaction, or the message that a site asks you to sign. For a transaction, Anon lists the Address, Amount, Network and Max fees to compare. If the address has no smart account upgrade on that network yet, the Ledger also asks you to approve one |
Private send to a 0zk address |
RAILGUN | One review for each private transaction |
Unshield, a send from your private balance to a 0x address, Fund for a stealth account |
RAILGUN | One review for each private transaction. The Ledger can then ask for Authorize the relay and Confirm the relay request |
| Private swap | RAILGUN | The same as an unshield, and Sign the fee estimate |
- A smart account upgrade lets your public address run several steps, for example a token approval and the shield, as one transaction.
- A review in full. Anon shows Review on your Ledger. The Ledger shows the recipient under To, the Amount, the Broadcaster fee (the private network fee) and the Chain ID. For an unshield, the Ledger can show the Anon gateway contract under To. Anon then shows the final recipient under Forwards to.
- A review by hash. Some transactions cannot be shown in full, for example one that is too large for the Ledger or one that carries a memo. Anon then shows Review transaction with the hash and the reason. Choose Continue to Ledger, compare the hash on the Ledger and approve.
- More than one transaction. One action can contain several private transactions. Anon numbers them, for example Approve transaction 1 of 2, and the Ledger asks for each one.
- The relay requests. An unshield or a private swap is submitted by Anon's paymaster, a service that submits the transaction and pays the network gas. A one-time account on the Ledger authorizes it, so your public address is not involved. Authorize the relay shows the relay contract, the chain and a nonce (a counter). Confirm the relay request and Sign the fee estimate each show a hash. The fee estimate is a copy of the transaction that can never be sent. Anon uses it only to measure the network fee.
Approve This Device
When a computer or phone has no sign-in key for your Ledger wallet yet, Anon shows Approve this device. On mobile the title is Approve this phone's sign-in key. The Ledger then shows a sign-in message that contains the key. Compare the key that Anon shows with the key on the Ledger. Approve only if they are the same and you started the request.
After that, this computer or phone signs in to Anon's services without the Ledger. Every wallet action that needs a signature still needs the Ledger.
What Is Different for a Ledger Wallet
- Private actions always pay a private fee. A private send, an unshield and a private swap go through the paymaster, and the fee is taken from your private balance. In the extension, Public under Fee method is marked "Not available with a hardware wallet". A gas account, a separate address that you fund to pay network fees, needs a wallet with a recovery phrase. See Fee Method Selection.
- Public actions pay their own network fee. A shield, a public send, a public swap and a request from a connected site are paid by your wallet's public address in the network's native token, for example ETH. Keep some native token at that address.
- Swaps and Consolidate. In the extension, a Ledger wallet swaps one token at a time. Consolidate, the tool that merges a spread-out private balance, is not available with a Ledger yet.
- Stealth accounts. The key of a stealth account stays on the Ledger, so there is no Export. In the extension, Check on Ledger shows an account's address on the device, and Find on Ledger lists accounts that the Ledger has used and that this browser does not know. On mobile, Withdraw is not available yet for a stealth account held on a Ledger.
- Sites and apps. You connect your wallet's public address, and you approve each request on the Ledger. In the extension, private fees for sites and a stealth account for a site are not available with a Ledger yet.
- A blocked shield. Mobile can return a blocked shield from a Ledger wallet. The extension cannot do this yet.
- No recovery phrase in Anon. The recovery pages have nothing to show. Mobile Sync in the extension is not available for a Ledger wallet. Add the Ledger on your phone with Connect a Ledger instead.
Update the RAILGUN App
Only Anon can update the RAILGUN app. In the extension, a notice on the Settings gear, titled RAILGUN app update, tells you when a newer version is available. An update can be optional. If your version is too old to sign, Anon shows Update the RAILGUN app before it continues.
- In the extension, choose How to update on the notice, or open Settings, then Hardware, and choose Update. On the sheet, choose Update app. On mobile, open Settings, then Hardware wallet, and choose Update the RAILGUN app.
- The Ledger first removes the old app and asks you to approve this. Your keys and funds stay as they are, because they are kept on the Ledger and not in the app.
- The next steps are the same as in Install the RAILGUN App: check the installer key, wait for the copy, check the two hashes.
Update the Ethereum App
Anon shows Update the Ethereum app when the version on the Ledger is too old for the action. The sheet shows the installed version and the required version. Anon asks for version 1.22.0 or later to shield, and 1.17.0 or later for a smart account upgrade.
- Open Ledger Wallet. Connect and unlock the Ledger.
- Update the Ethereum app in Ledger Wallet.
- Close Ledger Wallet, so that Anon can reach the Ledger. Then choose I've updated it in Anon.
Update Your Ledger Firmware
Ledger OS is the Ledger's own system software, also named firmware. Anon shows Outdated device firmware or This Ledger OS version isn't supported when it is too old for the RAILGUN app. During setup, the extension can show Update in Ledger Live. Anon needs Ledger OS 1.6.1 or later.
- Open Ledger Wallet and connect the Ledger.
- Install the pending updates for the Ledger and for its apps.
- Close Ledger Wallet, return to Anon and try again.
After the update, open Settings, then Hardware or Hardware wallet, and check the RAILGUN app. If Anon says that it is not installed, install it again. If Anon shows This Ledger OS version isn't supported yet, your Ledger OS is newer than the versions that Anon has the RAILGUN app for. In the extension, choose Report this Ledger version. On mobile, report it to Anon support.
Free Up Space on Your Ledger
Anon shows Not enough space on your Ledger when the Ledger has no room for the RAILGUN app. Nothing was installed.
- Open Ledger Wallet. Connect and unlock the Ledger.
- Remove an app that you do not use. Your keys are kept on the Ledger and not in its apps, so you can install a removed app again later.
- Close Ledger Wallet, so that Anon can reach the Ledger. Then choose Try again in Anon.
Device Not Found or Disconnected
| Anon shows | What to do |
|---|---|
| Connect your Ledger, Looking for your Ledger… | Plug the Ledger in, or keep it close with Bluetooth. Unlock it and open the app that the sheet names |
| Ledger disconnected | Your request is still waiting. Connect the Ledger again and choose Reconnect, or choose Cancel request |
| Your Ledger didn't respond | Check that the Ledger is unlocked and close, then choose Try again |
| Bluetooth connection lost | See Pair Over Bluetooth |
| Something went wrong | Choose Try again. If it happens again, restart the Ledger. Details shows the Ledger's own message. Get help opens Anon support |
| Allow Anon to use your Ledger, on Android with a cable | Unplug the cable and plug it in again. Choose Anon when Android asks which app may use the Ledger |
If the Ledger still does not connect with a cable:
- Unplug the Ledger and plug it in again. Try another USB port or another cable.
- In Ledger Wallet, install the pending updates for the Ledger and its apps. Then close Ledger Wallet and every other app or browser tab that uses the Ledger.
- In the extension, choose Forget device if Anon offers it. Then connect again, and choose your Ledger in the browser's window. Do not close that window before you choose.
- Restart the browser, or try another computer.
Other Problems
- A request timed out or was declined. Nothing was sent. If the Ledger still shows the request, reject it there, then start again in Anon.
- Turn on smart account upgrades. The extension shows this when the Ledger refuses a shield or another public action. Open the settings of the Ethereum app on the Ledger, turn on smart account upgrades, and try again. If the setting is already on, update the Ethereum app.
- Not the Ledger for this account. Connect the Ledger that created the account, or try a different Account index.
- Anything else. See Get Help.
Get Help
Open Settings, then Help & feedback, in Anon. Give the Ledger model, the versions of its apps, the title of the screen that you see and, in the extension, the text under Details. In the extension, Settings → Hardware shows the versions. If the installer key or the app does not match, you can also write to [email protected], the address on Anon's verification page.
Never send your recovery phrase, a private key, your viewing key or your PIN to support.
Restore a Ledger Wallet
- New computer or phone, same Ledger. Install Anon and follow Set Up a Ledger Wallet. Choose the same address as before. Anon finds the account and signs you in after you approve on the Ledger.
- New Ledger. The backup is your Ledger's recovery phrase, and Anon has no copy of it. First restore the phrase on the new Ledger, as Ledger describes. Install the Ethereum app and the RAILGUN app again. Then connect the Ledger to Anon in the same way. If you lose the Ledger and its recovery phrase, nobody can recover the funds.
- What returns. Your balances and history return when Anon syncs. For stealth accounts and their names, see Stealth Accounts.