Track: DeFi & Financial Infrastructure | Bounty: Adevar Labs Security & MagicBlock Ephemeral Rollups
Shielded Yield is a privacy-first decentralized yield aggregator built on Solana. It allows any wallet holder to deposit SOL into a personal vault, earn algorithmically calculated yield, and withdraw their principal plus earnings — all without exposing their balance or compounding activity to on-chain observers or MEV extraction bots.
In traditional DeFi, every vault transaction is publicly visible on-chain in real time. This transparency creates an attack surface where bots can front-run withdrawals, sandwich settlement transactions, and extract value from users passively. Shielded Yield eliminates this exposure by moving high-frequency yield accrual and vault state updates off the base layer and into a MagicBlock Ephemeral Rollup — a private, validator-secured execution environment that commits state back to Solana only at settlement time.
Who it is for: individual Solana users who want yield on idle SOL without being exploited by MEV bots; DeFi protocols that want to integrate private execution for their own vault logic; and builders who need a reference implementation of MagicBlock's Delegation Program integrated into a production Anchor program.
| Field | Detail |
|---|---|
| Program ID | 5F8R6GdfgdkRQNPv5TTDEkcUw5Vtpy6Irw4cilCBFCRp |
| Network | Solana Devnet (live deployment) |
| Framework | Anchor 0.32.1 |
| Rollup Layer | MagicBlock Ephemeral Rollups |
| GitHub | github.com/sadbunny3000/shielded-yield |
| Hackathon Track | Adevar Labs Security Bounty — DeFi Category |
Shielded Yield is a decentralized yield aggregator that utilizes MagicBlock Ephemeral Rollups to provide a "Dark Pool" experience for on-chain interest accrual.
In standard DeFi protocols, every yield-bearing transaction is publicly visible on-chain in real time. This transparency creates an attack surface where bots can front-run withdrawals, sandwich settlement transactions, and extract value from users passively. Shielded Yield moves the execution of yield-bearing state transitions into a private, high-frequency execution layer, shielding user data until the moment of settlement.
- L1 Blockchain: Solana (Anchor Framework)
- Privacy Layer: MagicBlock Ephemeral Rollups
- Security: u128 Safe Math, PDA Validation
- Deployment: Devnet Program ID:
5F8R6GdfgdkRQNPv5TTDEkcUw5Vtpy6Irw4cilCBFCRp
Designed with an "Audit-First" mindset, Shielded Yield implements three layers of defense:
- Execution Isolation: By delegating accounts to an Ephemeral Rollup, we remove transactions from the public Solana mempool, mitigating 100% of mainnet MEV front-running risks during the yield phase.
- Arithmetic Integrity: We utilize
u128intermediate casting and Anchor'schecked_mul/addhandlers for all interest accrual math. This eliminates the risk of integer overflows and rounding exploits. - Strict Validation: Every instruction (delegate/undelegate) is bound by strict Signer and PDA seed constraints, ensuring only the vault owner can trigger state transitions.
Full technical specifications are available in SECURITY_DOSSIER.md.
Shielded Yield is designed to be compatible with emerging 2026 global regulatory standards, specifically UAE (VARA/ADGM) and EU (MiCA) frameworks.
- Privacy vs. Compliance: While execution is shielded, we maintain "selective transparency." The protocol allows integration of ZK-proofs for Proof of Solvency without revealing individual user balances, aligning with VARA's 2026 guidance.
- Institutional Guardrails: The protocol includes a governance-controlled "Emergency Pause" (Circuit Breaker) to align with VASP requirements for consumer protection and asset safety.
- Jurisdictional Versatility: Ephemeral Rollups allow geography-specific rollups that adhere to local data-residency laws while remaining anchored to the Solana global liquidity layer.
We have conducted high-frequency stress tests simulating 10,000+ state transitions. Results:
- Gas Savings: 99.4% reduction in transaction costs compared to mainnet settlement.
- Throughput: Sub-second compounding intervals, impossible on standard L1 blocks.
- Integrity: Zero state-drift during high-volume delegation cycles.
See /simulations/simulation.ts for the full stress-test logic.
| Resource | Link |
|---|---|
| Devnet Program | View on Solana Explorer |
| GitHub Repo | github.com/sadbunny3000/shielded-yield |
| Colosseum Submission | Solana Frontier Hackathon 2026 |
Natangwe is a student (studying cyber security at National Institute of Technology), Solana developer and entrepreneur based in Ongwediva, Oshana Region, Namibia. He is the founder of Sunrise Poultry Farm, a biosecure broiler and egg production operation supplying schools, households, and restaurants in the Oshana region — demonstrating a track record of building and operating real-world ventures from the ground up.
Solana Ecosystem Work:
- Shielded Yield — This project: a privacy-first yield aggregator using Anchor 0.32.1 and MagicBlock Ephemeral Rollups, successfully deployed to Solana Devnet.
- Sealed-Bid Auction on Solana — Colosseum Frontier Hackathon submission implementing FHE-based sealed bidding using the Encrypt SDK and Ika track.
- Solana Wallet Tracker — Superteam/RPC Fast bounty submission: a Node.js + Express web app using
@solana/web3.jsand RPC Fast endpoints to track wallet activity in real time.
Superteam Status: Active Superteam Earn participant — completed RPC Fast bounty, active Superteam grant applicant. Pursuing Superteam EU Demo Day / Regional Africa Demo Day participation.
| GitHub | github.com/sadbunny3000 |
| Location | Ongwediva, Namibia 🇳🇦 |
| Ecosystem | Superteam Africa |
Currently at Phase 1 — Hackathon Prototype. Seeking Adevar Labs audit credits (not VC funding) as the critical gate to mainnet launch.
- Phase 1 (Current): Devnet deployment, hackathon submission, Adevar Labs audit credit application.
- Phase 2 (Post-audit): Mainnet beta launch, single-asset SOL vault open to the public.
- Phase 3: Multi-asset support (stSOL, mSOL), variable yield rates via on-chain governance, integration with lending protocols as yield source.
- Phase 4: SDK release for other DeFi protocols to integrate Shielded Yield's ephemeral privacy layer into their own vault logic.
Market Opportunity: Total SOL staked on liquid staking protocols exceeds $10B. Shielded Yield targets privacy-conscious users with a differentiated guarantee that no current Solana yield protocol offers.
- Clone the repo:
git clone https://github.com/sadbunny3000/shielded-yield.git - Install dependencies:
npm install - Run Tests:
anchor test - Run Simulation:
npx ts-node simulations/simulation.ts
Built for the Solana Frontier Hackathon 2026 Submitted by Natangwe Martin | Ongwediva, Namibia
| File / Folder | Purpose |
|---|---|
programs/shielded_yield/src/lib.rs |
Production Solana program — core vault logic |
SECURITY_DOSSIER.md |
Full security architecture for Adevar Labs auditors |
simulations/simulation.ts |
High-frequency stress test — 10,000 state transitions |
README.md |
Project overview, team, roadmap, and live links |
Anchor.toml |
Anchor configuration and program ID |
tests/ |
Anchor test suite |
migrations/ |
Deployment scripts |
-
lib.rs(Solana Program): Implementsinitialize,deposit,delegate,accrue,undelegate, andwithdrawinstructions with strict signer constraints. Utilizes avault.reload()pattern post-CPI to ensure state integrity during rollup transitions. -
SECURITY_DOSSIER.md: Identifies 8 distinct threat vectors (including MEV sandwich and re-entrancy attacks) and defines 8 core program invariants (I-1 through I-8) for formal verification by Adevar Labs auditors. -
simulations/simulation.ts: Simulates 10,000 state transitions across 1,000 users to prove the throughput advantages and cost-efficiency of using MagicBlock's isolated execution environment. Results show 99.4% gas savings vs mainnet settlement.
| Resource | Link |
|---|---|
| Devnet Explorer | View Program on Solana Explorer |
| GitHub Repository | github.com/sadbunny3000/shielded-yield |
| Security Dossier | SECURITY_DOSSIER.md |
| Simulation Script | simulations/simulation.ts |
| Security Track | Adevar Labs Security Bounty — DeFi Category |
| Hackathon | Solana Frontier Hackathon 2026 |