Wallet

The ghost wallet

The wallet built into this site: how it is made, kept and backed up.

The ghost wallet is the wallet built into this site. It is an ordinary Robinhood Chain key that is made, encrypted and kept in your browser.

Why a built-in wallet#

A private balance needs keys of its own next to the wallet's signing key. The ghost wallet works them out from its own key, with no message to sign and nothing to install. And because it is a plain key, you can export it and use it in any wallet that takes a private key.

Creating one#

On Wallet, choose Create and enter a passphrase of at least 8 characters, twice.

  • The key is made with your browser's secure random number generator.
  • It is encrypted with your passphrase (PBKDF2-SHA256 with 310,000 rounds, then AES-256-GCM) and saved in this browser's storage.
  • The secret key is then shown so you can back it up.

Unlocking and locking#

Unlocking decrypts the key for the tab you are in. It is kept in that tab's session storage, so it stays unlocked as you move between pages. Closing the tab or pressing Lock removes it, and another tab asks for the passphrase again.

The wallet panel#

The button at the right of the header is the wallet, on every page. With no wallet in this browser it offers to make one. With one, it opens a panel over the page you are on: locked, it asks for the passphrase; unlocked, it shows the wallet's private and public ETH and the tokens it holds privately. Shield, Unshield, Send and Receive in the panel open the Wallet page. The panel itself sends nothing.

Exporting and importing#

Export secret key, under Keys on the Wallet page, shows the wallet's secret key: 64 hexadecimal characters. It is a standard key for Robinhood Chain and any other EVM chain.

Import a secret key accepts the same 64 characters, with or without 0x. It is encrypted with a passphrase you choose for this browser and is never sent anywhere.

Your private balance comes with the key#

The keys of a ghost wallet's private balance are worked out from its secret key. The notes themselves are on chain, encrypted to those keys. So the secret key alone brings the private balance back: import it here, on any device, and the page finds the notes again.

The same key used through a wallet extension reaches a different private balance, because an extension's shielded keys come from a signature instead. See Your own wallet.

If you forget the passphrase#

There is no reset. If you saved the secret key, remove the wallets from this browser (type FORGET on the locked screen) and import the key again with a new passphrase. Your funds are on chain, not in the browser, so nothing is lost by removing and re-importing.

Where the wallet lives#

In this browser, on this device, under this site's address.

  • Another browser or device does not have it until you import the key there.
  • Clearing this site's data deletes it. With a backup of the secret key that is an inconvenience; without one it is permanent.

What the server knows#

Nothing about the key. The passphrase, the secret key and the shielded keys never leave your browser. See Keys, proofs and the server.

These pages describe the site as it runs now: figures read from chain, such as the deposit cap, are filled in when the page loads. Something unclear or wrong? Tell us on X. The short version of all of it is on the Protocol page.