Deposit
Move SOL or USDC from your wallet into your encrypted balance.
A deposit moves SOL or USDC from your wallet into the vault and credits the same amount of hSOL or hUSDC to your Hush account. Hush charges no fee for it. The amount is public, as it is for any transfer out of a wallet, and the balance it joins is a ciphertext.
Before you start
Your wallet needs the amount you are depositing, plus a little SOL for transaction fees. The opening deposit in each asset also pays the rent of your new Hush account, which Solana holds for as long as the account exists.
In the app
Open Deposit
Connect and unlock, then open Deposit.
Pick the asset and the amount
Choose SOL or USDC and enter an amount. The screen shows what leaves your wallet and what is added to your encrypted balance.
Press Deposit
The button reads Set up and deposit when you have no Hush account for this asset. Approve in your wallet.
Let it run
Done
Balances shows the amount as available, ready to send or withdraw.
What happened on chain
| Step | What moved | Amount on an explorer |
|---|---|---|
| Set up, when needed | Nothing. Your Hush account is created with your encryption public key and a zero balance. | None |
| Deposit | The asset from your wallet to the vault, and the same amount minted to your Hush account and placed in pending | Public |
| Apply | Pending into available, inside your Hush account | None |
After depositing 500.00 USDC into an empty account and applying, the app reads 500.00 USDC available and an explorer shows a ciphertext.
Set up on its own
You can set up a Hush account without depositing: on Balances, an asset you haven't opened reads Not set up and has a Set up button. Do this when someone wants to pay you in an asset you don't hold yet, since a sender needs your account to exist.
In code
From a terminal: hush deposit --asset usdc --amount 500, then hush apply --asset usdc. See the CLI.
A deposit is api.buildDeposit followed by buildApply, after buildSetup on a new account. See the SDK's actions and the API's buildDeposit.