This guide explains how to use WrapHub from a connected wallet.
Open /registry.
You can browse without connecting a wallet. WrapHub shows:
- official Zama registry pairs
- local/custom pairs
- network
- underlying ERC-20 address
- ERC-7984 wrapper address
- wrapper rate
- source
- health status
- explorer links
Use the Official tab for Zama registry pairs. Use the Custom tab for browser-local or repo-local pairs.
Click Connect Wallet.
WrapHub supports Sepolia for live wallet actions. Registry browsing remains available without a wallet, but wrap, unwrap, faucet, and decrypt flows run on Sepolia.
Click a pair row or open the pair workspace.
The pair page shows:
- network
- source
- status
- underlying token
- wrapper token
- rate
- decimals
- wrap/unwrap/decrypt actions
- token metrics
- activity table
- explorer links
- Select
Wrap. - Enter an amount.
- WrapHub reads your public ERC-20 balance.
- WrapHub reads allowance for the wrapper.
- If allowance is missing, the button asks you to approve and wrap.
- Confirm the wallet transaction.
- Wait for confirmation.
After confirmation, the ERC-20 token has moved into the confidential ERC-7984 wrapper.
- Select
Decrypt. - Click
Decrypt balance. - Sign the EIP-712 authorization in your wallet.
- WrapHub requests user decryption through the Zama relayer flow.
- Your decrypted balance appears in the UI.
- Click
Hide balanceto mask it again.
Only the connected wallet's own balance is decrypted. WrapHub does not decrypt other users' balances.
- Select
Unwrap. - Enter an amount.
- Click
Request unwrap. - Confirm the wallet transaction.
- WrapHub completes the required unwrap/finalize flow.
- Your public ERC-20 balance updates after confirmation.
You do not need to decrypt your balance before unwrapping. Decrypt is only for viewing your private balance in the UI.
Open /faucet.
The faucet is Sepolia-only. If your wallet is on another network, WrapHub asks you to switch to Sepolia.
Flow:
- Connect a wallet.
- Switch to Sepolia.
- Pick an official mock token.
- Click
Claim. - WrapHub submits the faucet claim for you.
- Return to the pair workspace and wrap the claimed ERC-20 mock token.
Each wallet can claim each configured token once per cooldown period.
Open /decrypt.
Use this when the token is not in the registry or when you want a direct balance check.
- Paste an ERC-7984 token address.
- Connect a wallet on the token's network.
- Click
Decrypt balance. - Sign the EIP-712 authorization.
- View the connected wallet's balance.
Open /registry, then click Add custom pair.
You can add:
- Sepolia custom pairs
- local Hardhat pairs
WrapHub saves browser custom pairs locally and marks them as Local config. They are not official Zama registry pairs.
For committed development use, copy the generated snippet into frontend/src/features/registry/config/local-pairs.ts.
| State | Meaning |
|---|---|
Official |
Pair was read from the Zama Wrappers Registry |
Local config |
Pair was added for development or testing |
Valid |
Pair is active according to available registry/metadata checks |
Review |
Pair is usable, but metadata or registry status should be reviewed |
Approval required |
The wrapper needs ERC-20 allowance before wrapping |
Decrypt to view |
Confidential balance is hidden until user decryption succeeds |