Mystery creature-card auctions on Solana Devnet
Sealed lots · sealed bids · private peeks · MagicBlock PER (TEE)
Live demo · Solana Blitz v10 · Submit
Blind Vault is a Storage Wars–style sealed auction for collectible creature cards.
While a lot is live, nobody (not the house, not other bidders, not a public RPC) can read what’s inside. Hints drip on a schedule. Bids stay sealed. A paid peek is private to the buyer. When the clock ends, the vault opens and the highest sealed bid wins the cards.
Judge checklist
- Browse the Warehouse with no wallet — see Common → Legendary cards.
- Paddle → connect Devnet wallet → TEE guest book → free SCRIP.
- Live lot → place one sealed bid (optional private peek).
- Proof → try reading private contents / another wallet’s peek (honest fail).
- Reveal → watch the lot open after the timer.
Most sealed-bid demos only hide amounts. We also hide the box.
| Without PER | With Blind Vault |
|---|---|
| Contents readable on explorer | VaultContents private until reveal |
| Bids public after write | Bid PDAs ACL’d to bidder |
| “Peek” is UI theater | Paid peek is a private account |
| Hints hand-waved | Hints from private on-chain state |
One-liner: hide the lot and the bids — and prove a stranger’s TEE read fails live.
| MagicBlock piece | Role here |
|---|---|
Private ER (devnet-tee) |
Private vault, contents, bids, peeks, hints |
| Delegate / undelegate | Move accounts into TEE → commit home for finalize |
| Ephemeral ACLs | Buyer sees peek; stranger gets no data |
| TEE guest book | One free signature → authenticated TEE RPC |
Fill uses TEE-local entropy today — not ER VRF yet (called out honestly in-app).
| App | blind-vault-amber.vercel.app |
| Wallet | Phantom / Solflare on Devnet + a little Devnet SOL |
| Credits | Claim free SCRIP on Paddle (play money, not real value) |
git clone https://github.com/Aditya-linux/BlindVault.git
cd BlindVault
cp .env.example app/.env.local # Devnet RPC + program id
npm install --legacy-peer-deps
npm run devflowchart LR
Player["Wallet + UI"] --> Solana["Solana Devnet<br/>House · SCRIP · finalize"]
Player --> TEE["MagicBlock PER · TEE<br/>Vault · contents · bids · peeks"]
TEE -->|close_round| Solana
Lot loop: open → hints → end → reveal → settle → close → finalize → next.
| Program | E9UmQYi…jr42h |
| House | C7cfsQFawFQkNk6GsRk4LuCtRcUGAg1Ux7mp66EQDDFE |
| SCRIP | 5RMEdwxEqfsdqiuSr658N4M5JFyTSeMC4KcF9b41bWHx |
| TEE | https://devnet-tee.magicblock.app |
Evidence stamps: data/exhibits.json · status: docs/BUILD_STATUS.md
| Path | Role |
|---|---|
app/ |
Next.js UI + brand (public/brand/) |
programs/blind_vault |
Anchor program (PER + settlement) |
scripts/ |
open-vault · keeper · auto-round · demo-bid |
docs/ |
build status, ship plan, test runbook |
data/ |
catalog + exhibits |
npx tsx scripts/open-vault.ts --size 0
npx tsx scripts/keeper.ts --once
npx tsx scripts/auto-round.tsVercel: install npm install --legacy-peer-deps --force · build npm run build · env NEXT_PUBLIC_SOLANA_RPC, NEXT_PUBLIC_TEE_RPC, NEXT_PUBLIC_TEE_WS, NEXT_PUBLIC_PROGRAM_ID
- Devnet / TEE only — no mainnet, no real funds. SCRIP is free play credit.
- Fill entropy is TEE-local until ER VRF on TEE is verified — we don’t fake VRF.
- Loser refunds need the losing bidder’s signature; keeper settles the winner path.
- Privacy assumes MagicBlock’s attested TEE validator.
Built for Solana Blitz v10 · Entertainment Finance. Powered by MagicBlock Private Ephemeral Rollups.
