GRAIL
Start here

Using Grail

The steps for buying privately and for launching a token, with how long each one takes.

Buy and sell privately

  1. 1
    Connect a wallet. This wallet pays for your deposit. It does not sign your private trades.
  2. 2
    Create your private balance. Choose a password. Your browser creates a private wallet with its own 12-word recovery phrase.
  3. 3
    Save the recovery phrase. Write it down and confirm two of its words. It is the only way to recover your funds on another device or after a forgotten password.
  4. 4
    Deposit ETH. You can do this right away, even while first-time setup is still running.
  5. 5
    Wait for the standby period. It takes about an hour on mainnet. You can close the tab, because it does not depend on your browser.
  6. 6
    Trade. Open a token and choose private. Your browser builds a proof, Grail's broadcaster sends the transaction, and the tokens arrive in your private balance.
  7. 7
    Withdraw when you want. Send ETH or tokens to any address. Use a fresh address, because withdrawing to the wallet you deposited from links the two.

How long things take

StepTimeKeep the tab open?
First-time setupAbout 5 to 10 minutesYes. Reloading is fine: it continues from where it stopped
Opening again on the same deviceAbout 8 secondsYes
Deposit becomes spendableAbout 1 hour on mainnetNo
Private trade, from click to confirmedAbout 25 to 80 seconds, measured on SepoliaYes
Tokens and change spendable after a tradeA few minutesYes, the browser submits a proof
Restoring from a recovery phraseAbout 6 to 13 minutesYes

Launch a token

  1. 1
    Fill in the form. Name, ticker, image, description and links. The wallet you launch from is the default fee recipient, and you can name another. It can never be changed afterwards.
  2. 2
    Choose optional buys. A first buy happens in the launch transaction and is public. A private buy comes from your private balance and lands right after the launch.
  3. 3
    Sign. You pay the launch fee of 0.002 ETH plus gas. The token, its pool and its locked liquidity are created in one transaction.
  4. 4
    Earn. Your share of the pool fee, about 0.58% of volume, can be collected from the Rewards page at any time. It is paid in WETH and in your token.

Common questions

Can I close the tab during setup?

Setup pauses when the tab is closed and continues when you come back. If you return after more than about three hours, the download starts again, because the server keeps three hourly copies.

Why do I see the balance in another tab?

Only one tab can run the private engine. A second tab says so, can still deposit, and takes over when the first closes.

I forgot my password.

Restore from your recovery phrase and choose a new password. The password only protects the copy of the phrase in this browser.

I lost my recovery phrase.

While the wallet still opens with your password, you can reveal the phrase or move to a new wallet. If you lose both the phrase and this browser's copy, nobody can recover the funds. Grail never has them.

Which devices work?

Desktop browsers are tested. Phones and low-end machines are not, and the private balance needs about 1 GB of free disk space.

Grail is an independent project built on Railgun's public contracts and SDK. Railgun contributors do not run, review or endorse Grail, and they did not write this documentation. Their own documentation is at docs.railgun.org.