Deposit into a vault
A successful vault deposit sends USDC into the chosen vault and mints shares of Senior or Junior to your wallet. Connecting a wallet alone does not make a deposit.
Before you start
You need a Solana wallet, USDC on the network used by the vault, and some SOL for transaction fees and account creation. Check the availability page and the network in your wallet. Test tokens on devnet are not mainnet USDC.
Read the vault’s holdings, tranche rules, withdrawal conditions and risks. Do not select a vault using only its displayed rate.
1. Open the vault
Go to Akashi Invest and select a vault. Check its identity, manager and investment sources. Open Details to review the rules and accounts when you need more information.
2. Choose Senior or Junior
In Deposit, select your tranche and enter an amount. Senior and Junior can have different expected rates and different exit constraints. Junior is first-loss capital. Senior can also lose money.
3. Review the amount and outcome
Check the asset, network, vault, tranche and estimated shares. Review the transaction before signing. If the interface offers a quote with a minimum acceptable result, understand that minimum rather than treating an estimate as guaranteed.
4. Sign and wait for confirmation
Your wallet signs the transaction. The backend does not sign on your behalf. Keep the transaction signature so you can check its status in an explorer.
An unsigned, rejected or failed transaction is not a completed deposit. An error shown after submission does not prove that the transaction failed: first check the signature to avoid submitting a duplicate deposit.
5. Check your position
After confirmation, check that the tranche shares and position appear. The interface can take time to refresh. Compare the confirmed transaction with the selected vault if the displayed balance seems wrong.
What happens on chain
When you sign, one deposit instruction runs. It takes three arguments: the tranche, the amount in USDC base units (1 USDC is 1,000,000 base units, because USDC has 6 decimals), and min_shares, the fewest shares you accept.
sequenceDiagram
participant W as Your wallet
participant A as Akashi app
participant V as Vault program
participant T as Token program
A->>V: refresh the vault's legs (warm-up)
A->>W: deposit(tranche, amount, min_shares)
W->>V: signed deposit
V->>V: check the rules and book the latest result
V->>T: move your USDC into the vault's idle account
V->>T: mint shares to your wallet
V-->>A: Deposited event
Figure: the app refreshes the vault's valuations, then one transaction you sign moves your USDC and mints your shares.
Example. Suppose a Senior share is worth 1.02 USDC. You deposit 1,000 USDC, so you receive about 1,000 ÷ 1.02 ≈ 980.39 Senior shares. Suppose the app set min_shares to 975, allowing about 0.5% less than the quote. If the price moved so that you would get only 970, the deposit fails with MinSharesNotMet and nothing moves.
Why a deposit can be refused
The program checks these conditions in this order, and stops at the first one that fails:
| Check | Error |
|---|---|
| The vault is Active | VaultNotActive |
| Queued exits have fresh values | PendingClaim |
| Deposits are not paused | Paused |
| The amount is above 0 and at least the vault's minimum deposit | AmountTooSmall |
| Every investment was valued recently | StaleValuation |
| The deposit fits under the vault cap | VaultCapExceeded |
You receive at least one share, and at least min_shares | ZeroShares, MinSharesNotMet |
| Coverage stays within the limits | CoverageViolation |
Table: the checks the program makes on every deposit; the full list of errors is on Error codes.
The vault may be paused, outside Active, at its cap, below a minimum deposit, unable to obtain fresh values, or unable to preserve coverage. A Senior deposit can dilute Junior below the floor. A Junior deposit can breach an upper coverage limit when one is configured.
A refusal protects the configured conditions. It is not always a wallet problem. Do not try to bypass the limit with repeated signatures. Read troubleshooting and coverage and limits.