voidcashdocs

Unshield

Take HYPE or a token out of your private balance to any address, as ordinary public funds. An exit pays a 1% fee, and a large one waits 24 hours.

Unshielding takes HYPE out of your notes and pays it to an address as ordinary HYPE. Any wallet, exchange deposit address or contract that accepts HYPE can receive it. The vault calls this an exit. A token, such as VOID, is unshielded the same way, with a few differences: see Unshield a token.

WhatHow it works
Exit fee1% of the amount, taken from it (EXIT_FEE_BPS = 100)
GasPaid in HYPE from your notes, on top of the amount
Large exitsA payout above the large-exit threshold (1,000 HYPE) is paid 24 hours later; the vault's guardian can stop it meanwhile
Who pays gas from an addressNobody: the vault submits the transaction

Sending to an address without a privacy key (Send as public HYPE) and claiming a payment link to an address are exits too, with the same fee and the same hold.

Unshield to public HYPE

Unshielded HYPE is public. Anyone can see the receiving address and the amount. An unshield to your own address links that amount to you, so use another address if that matters.

Choose the amount

Open Unshield. Type an amount or use the slider (Share of balance, with 25%, 50%, 75% and Max). At Max the field reads All: the app unshields everything left after the gas. One transaction spends at most two notes, so with more than two notes, All covers your two largest.

Choose the destination

The To address field starts empty: enter the address you want to pay. A fresh address keeps the exit apart from the wallet that shielded.

Check the figures

Under the address the form shows the Exit fee (1%), the Network gas, from your notes, and what They receive: the amount less the exit fee. Below that, a notice says This HYPE becomes public, or A large exit waits 24 hours when the payout is above the threshold.

Confirm and wait

Press Unshield to public. As with a send, the app estimates the gas, asks your wallet for a Spend signature, generates the proof and submits it through the bundler. The entry appears in your history as Unshielded, As public HYPE, with the address, the amount paid, the exit fee and the gas.

The HYPE is paid in the same transaction, unless the exit is held.

Unshield a token

In the Amount field, press the button with the asset's symbol and pick the token from Choose an asset, which shows your private balance of each. The rest of the form is the same, with these differences:

WhatHYPEA token
GasFrom the notes you unshield, on top of the amountFrom one of your private HYPE notes, shown as Network gas, from a private HYPE note. All unshields every unit of the token in your two largest notes of it.
Exit fee1%, in HYPE: half to the team, half buys VOID and burns it1%, kept in the token, to the team
Held 24 hoursA payout above the HYPE thresholdA payout above the token's threshold, or one that would take the token's exits in the current 24-hour window above its cap

With no private HYPE, or when your largest HYPE note may not cover the gas, the form shows You need a little private HYPE first; with no private HYPE at all it will not unshield. Shield a little HYPE, then come back. Below the figures, a notice says This VOID becomes public, or why the exit will wait.

A token's limits

Each listed token has two limits, set by the vault's admin:

  • a large-exit threshold: a payout (after the fee) above it waits 24 hours, as a large HYPE exit does;
  • a cap per 24-hour window: the payouts made at once in a window add up to at most the cap. An exit that would take them above it waits 24 hours too, and the form says This exit waits 24 hours, with how much has left in the window and when it restarts.

A held token exit can be stopped by the vault's guardian during its 24 hours, like a held HYPE exit. Held exits do not count toward the window's cap. The window restarts with the first token exit at least 24 hours after it began.

The limits for VOID when this page was written:

LimitVOID
Large-exit threshold5,000,000 VOID
Cap per 24-hour window25,000,000 VOID

The values in force are tokenConfig(token) on the vault, 0x5535fa0d95E4e03783C3A5d693E2f7225e6d23d4, and the form reads them before you confirm.

The exit fee

The vault computes the fee on what leaves your notes after the gas, and rounds it down to the wei:

fee = amount × 100 / 10,000
the recipient receives = amount − fee
your notes pay = amount + gas

For example, unshielding 10 HYPE pays 0.1 HYPE of exit fee, and the recipient receives 9.9 HYPE. The gas is not charged the fee. The fee goes to the fee collector, which pays half to the team and spends half on buying VOID and burning it. See Fees.

A token's exit fee is computed the same way on the amount of the token, and kept in the token: unshielding 1,000 VOID pays 10 VOID of exit fee, and the recipient receives 990 VOID. It goes to the team; it is not burned.

Large exits wait 24 hours

An exit whose payout (after the fee) is more than the vault's large-exit threshold is not paid at once. Your notes are spent when the transaction is included, and the HYPE is reserved for the exit; it becomes payable 24 hours later (LARGE_EXIT_DELAY). During those 24 hours the vault's guardian can stop it. The hold gives the guardian time to act if notes were spent by someone who should not have been able to.

The threshold was 1,000 HYPE when this page was written. The vault's admin can set it between 1 and 1,000,000 HYPE; the value in force is largeExitThreshold() on the vault, 0x5535fa0d95E4e03783C3A5d693E2f7225e6d23d4, and the form reads it before you confirm.

A held exit appears in your history with Large exit: paid from (for a token, Held 24 hours: paid from) and the date and time it becomes payable.

Release a held exit

Once the 24 hours are over, the exit shows Due, not paid yet and a Release button. Releasing calls releaseExit on the vault, which pays the HYPE, or the token, to the exit's recipient. Anyone can call it, for any exit, and the payout always goes to the recipient the exit names.

Release sends an ordinary transaction from your connected wallet, which pays its gas in HYPE and shows on the chain that your address released this exit. To keep your address out of it, release from another address, for example the recipient's.

An exit can also show Due, not paid yet when the recipient refused the HYPE when it was first paid, as a contract without a way to receive HYPE does, or when the token's transfer failed. Releasing it pays only once the recipient accepts HYPE, so unshield only to an address that can receive it.

A stopped exit

If the guardian stops an exit, it shows Stopped by the vault's guardian. The HYPE stays reserved for that exit, and nobody can release it until the guardian resumes it. A resumed exit is payable from its original time. Each stop and resume is a public transaction. See Trust model.

What the chain shows

PublicPrivate
The receiving addressWhich notes paid it
The amount paid, the exit fee and the gasWho owned those notes
When the exit is payable, and when it is paidYour balance before and after

If the vault is paused

The vault's guardian can pause the whole vault. While it is paused, every spend of a note stops: private sends, unshields, payment links and their claims, and collections from your private address. Releasing a held exit stops too. The pause has no time limit: it lasts until the guardian unpauses the vault.

Shielding and key registration keep working on the chain, unless the guardian has also paused new deposits. The app closes its wallet screens with Under maintenance while the vault is paused; Analytics and Verify stay open. A pause does not change your notes: once it ends, you spend them as before.

Without the bundler

The app sends every unshield through a bundler (Pimlico's, or voidcash's own as a fallback). The vault also accepts the same transaction submitted directly (transact) by any address that pays its own gas: no gas then comes from the notes, the exit fee and the hold still apply, and that address appears on the chain as the sender. The app does not build this transaction. See Private gas.

What can go wrong

Message or symptomWhat it means
"Enter the address to receive the funds."The destination is missing.
You need a little private HYPE firstA token's unshield pays its gas from one private HYPE note, and none is large enough. Shield some HYPE.
"Nothing left to send after the gas."With All, your notes hold no more than the gas.
"Not enough private balance for this amount plus the network gas."Lower the amount: the gas comes on top of it.
"Not enough in your two largest notes: merge your notes first."One transaction spends at most two notes. Unshield at most what your two largest hold, less the gas.
"user operation … not included after 2 minutes"Refresh your balance before trying again: if it was included later, the notes are already spent.

On this page