← Back to Terminal

ALPHA GUIDE

Everything you need to know to use stash.fun

Alpha Software
stash.fun is in alpha. Smart contracts have been externally audited with zero critical vulnerabilities found. Only deposit amounts you can afford to lose entirely. By using this protocol you accept the Terms of Service.

WHAT IS STASH.FUN?

stash.fun is the vault protocol for Hyperliquid. Create yield vaults from any market — stocks, crypto, commodities, forex, and indices — all powered by Hyperliquid's perpetual markets.

Think of it like building your own ETF on-chain: pick your markets, set target weights, deposit USDC, and the protocol automatically maintains your allocations. Vault creators earn 50% of success fees from every depositor.

How it works
Your USDC is held in an ERC-4626 vault on HyperEVM. The executor bridges funds to Hyperliquid L1 and opens perpetual positions matching your basket weights. An Agent Wallet handles trading — it can only trade, it cannot withdraw funds. PnL is reported back to the vault, updating your share price automatically.

AVAILABLE MARKETS

Build vaults from 40+ markets on Hyperliquid:

📈 Stocks
TSLA, NVDA, AAPL, GOOGL
MSFT, AMZN, META, COIN, HOOD
🤖 Private Tech
OpenAI, Anthropic, SpaceX
🪙 Crypto
BTC, ETH, SOL, HYPE
🥇 Commodities
Gold, Silver, Platinum
Oil, Natural Gas, Copper, Uranium
💱 Forex
EUR, GBP, JPY
📊 Indices
MAG7, Semiconductors, XYZ100

GETTING STARTED: DEPOSIT INTO A VAULT

1 Connect your wallet
Click CONNECT WALLET in the top-right corner. Supports MetaMask (HyperEVM is natively supported — no manual setup), WalletConnect, and email login (via Privy embedded wallet).
2 Get USDC on HyperEVM
You need USDC on HyperEVM. HyperEVM supports native USDC via Circle CCTP — no wrapped tokens, no third-party bridges.
  1. Send directly: From Coinbase, MetaMask, or any CCTP-supported wallet — select "Hyperliquid" as the network when sending USDC. It arrives natively on HyperEVM.
  2. Cross-chain (14+ chains): Use the Bridge & Deposit button in the app, which routes via LI.FI from Arbitrum, Base, Ethereum, and more.
  3. Via Hyperliquid L1: Go to app.hyperliquid.xyz/bridge, deposit USDC from Arbitrum (min $5), then transfer from L1 to HyperEVM under More → HyperEVM.
You'll also need a small amount of HYPE for gas on HyperEVM.
3 Choose a vault
Go to the DISCOVER tab to browse vaults. Three official vaults are live:
  • Metals — Gold (60%), Silver (30%), Platinum (10%)
  • Energy — Oil/WTI (70%), Natural Gas (30%)
  • Broad — Diversified multi-commodity basket
Or create your own vault from any market combination.
4 Deposit USDC
Click a vault, enter an amount (recommend $50+ for best results — Hyperliquid requires $10 minimum per order), and click DEPOSIT. You receive ERC-20 vault shares representing your proportional claim on the vault's assets.
5 Monitor your position
Switch to the TERMINAL tab to see live market data, protocol positions, and PnL. Share prices update each sync cycle (~60 seconds) as the executor reports trading results back to the vault.
6 Withdraw
Select your vault and click WITHDRAW. There is a 60-second lockup after depositing. If vault reserves are sufficient (10% is kept on-chain), your withdrawal is instant. Otherwise, a request is queued and processed on the next sync cycle (typically <1 hour).

LAUNCHING YOUR OWN VAULT

Creator Economy
Vault creators earn 50% of all success fees collected from depositors. The more depositors your vault attracts, the more you earn — automatically, on-chain.
1 Go to the Creator tab
Click CREATOR in the top navigation. Connect your wallet — this wallet becomes the vault's strategist and receives fee revenue.
2 Select your markets and set weights
Pick from 40+ available markets and set target allocations. Weights must sum to 100%. Example: TSLA 40%, NVDA 35%, AAPL 25%.
3 Deploy the vault
A $25 creation fee is required to prevent spam. This is a one-time payment from your wallet. Your vault deploys as an ERC-20 token on HyperEVM — fully composable with other DeFi protocols.
4 Seed your vault
A $100 minimum initial deposit is required to activate the vault and prevent share price manipulation. This is your own capital — you receive vault shares in return.
5 Adjust weights anytime
As strategist, you can update your vault's target allocations via the Creator tab. Changes are rate-limited to once per hour and capped at 20% per component per update to protect depositors. The executor rebalances on the next sync cycle.

KEY DETAILS

Fees

Security Model

Risks

Important Risks

FAQ

Q: What network do I need to be on?
HyperEVM (Chain ID 999). MetaMask supports it natively — just select Hyperliquid EVM from the network list. No manual RPC setup required.
Q: What's the minimum deposit?
No hard minimum, but $50+ is recommended. Hyperliquid requires a $10 minimum order value per position, so smaller deposits into multi-asset vaults may result in some positions being skipped.
Q: How often does the vault rebalance?
The executor runs approximately every 60 seconds, checking positions against targets and rebalancing as needed.
Q: Can the executor steal my funds?
The Agent Wallet has trade-only permissions — it can open and close positions but cannot withdraw funds from Hyperliquid. Strategist withdrawals are capped at 90% per 24-hour window. All governance changes require a 2-day timelock.
Q: What tokens do I receive when I deposit?
ERC-20 vault share tokens. These are standard transferable tokens — their value increases or decreases with the vault's trading performance. You can redeem them for USDC at any time.
Q: Can AI agents use stash.fun?
Yes. stash.fun exposes a full MCP server at api.stash.fun/mcp with 29 tools covering deposits, withdrawals, vault creation, performance analytics, strategy management, backtesting, and portfolio analysis. The protocol is ERC-8004 registered and A2A protocol compatible.
Q: How do I report a bug or get help?
Reach out at hello@stash.fun, join Telegram, or contact the team on X @stashfun.
View vault performance →