Docs · Start here
Wallets
Three kinds of wallet
| New | Bring a key | MetaMask | |
|---|---|---|---|
| What it is | A fresh key made in this browser | A key you already have, pasted in | Your browser extension |
| Trades | Sign themselves, no popup | Sign themselves, no popup | Each one asks you to confirm |
| Key kept | In this browser | In this browser | In the extension |
| Best for | Fast trading with a small balance | Moving an existing trading wallet here | Keeping the key out of the site |
A wallet in this browser
Press the wallet button and choose New. The first time, you choose a PIN. You can give the wallet a name, or it becomes Wallet 1, Wallet 2 and so on. The key is made on your device and never leaves it. Nobody else holds a copy, which means nobody can recover it for you.
While a tab is unlocked, anyone at this computer can trade from it. Keep only trading money in it.
Saving your key
Right after you create a wallet, a box asks you to save its key: Copy key, store it somewhere safe, then press I saved it. The box comes back on every visit until you do, and keyboard trading stays off while it is open. Clearing this browser's site data deletes the key, so the copy you saved is the only way back.
Locking with a PIN
Every wallet in this browser is locked with a PIN of eight or more digits or letters. You choose it when you make or add your first wallet, before its key is stored anywhere.
- Your keys are encrypted with AES-GCM, using a key made from the PIN by PBKDF2 with 600,000 rounds of SHA-256 and a random salt. They are never stored open.
- Submarine asks for the PIN in each new tab and after the browser restarts. A reload in the same tab doesn't ask again for up to six hours: the tab keeps the PIN's key in its own session storage until then.
- The PIN protects the keys stored in this browser, on disk and in other tabs. It does not protect a tab that is already unlocked: anything running in that tab can use the keys.
- A wrong PIN just says so. Showing a key asks for the PIN again.
MetaMask and other browser wallets
Choose MetaMask in the wallet menu. Submarine asks the extension to switch to Zero, and adds the network if it is missing. Every trade, order and claim then pops up in the extension for you to confirm. Keyboard trading and one-click buys still work, they just ask the extension first.
Several wallets
Keep as many as you like: new ones, keys you bring, and MetaMask. Switch with one click, rename them, or forget one, which removes it from this browser. The automation panel can buy with several of them at once. See Limit orders.
Sending ZRO
Portfolio's Send tab sends ZRO from the active wallet to any address. Max keeps 0.2 ZRO back for gas.
Public profiles
Give a wallet a name and a picture, and everyone sees them wherever that wallet appears: trades, holders, leaderboards and its own page.
- A name is 2 to 24 letters, digits, spaces, dots, dashes or underscores, and can't look like an address.
- A picture is a PNG, JPEG, WebP or GIF, cropped to a 256 px square.
- Setting it is free. Your wallet signs a message that names the exact change, so only you can change your own profile. No transaction is sent.
- One change every 15 seconds.
- Without a picture, a wallet shows a pattern made from its address, the same one MetaMask shows. Use the pattern removes a picture.
Public wallet pages
Click any wallet to open its record: profit, win rate, how long it holds, its buy sizes, and flags such as selling within 10 seconds of buying. You can follow it from there. See Copy trading.
Volume rank
Every wallet has a rank, from Starter to Legend, by the ZRO it has traded through Submarine. Each rank lowers Submarine's cut of that wallet's trades, from 0.4% down to 0.15%. Portfolio, the wallet panel and every public wallet page show the wallet's volume on a scale with a mark for each rank. Save card makes a picture of the rank to share. The ranks and their marks are on Fees, and the same trades also earn points.
What is stored where
| What | Where |
|---|---|
| Keys | This browser's local storage, encrypted with your PIN |
| The PIN's key, once typed | This tab's session storage, gone when the tab closes |
| Which wallet is active | Session storage, the address only, never a key |
| MetaMask's key | In MetaMask. Submarine only stores the address |
| Follows, stars, drawings, presets | This browser |
| Profile name and picture | Submarine's server, public |