What problem does it solve? Building real-time applications on Solana is constrained by ~400ms block times and per-transaction gas fees, making use cases like on-chain games and high-frequency interactions impractical. This Skill provides the patterns, SDKs, and templates to delegate accounts to MagicBlock Ephemeral Rollups for sub-10ms, gasless execution while keeping full composability with Solana. ## Core Features & Use Cases - Delegation Lifecycle: Initialize accounts on Solana, delegate them to an Ephemeral Rollup, execute fast operations, commit state, and undelegate back to the base layer using the #[ephemeral], #[delegate], and #[commit] Anchor macros. - Solana Plugins: Integrate verifiable randomness (VRF), real-time price feeds, AI oracles, and privacy via Intel TDX Trusted Execution Environments. - Crank Automation: Schedule recurring on-chain function calls at fixed millisecond intervals for game loops, countdowns, and resource generation. - Use Case: Build a fully on-chain multiplayer game where player actions execute in under 10ms on an Ephemeral Rollup, VRF provides provably fair dice rolls, and final game state commits back to Solana mainnet. ## Quick Start Use the magicblock skill to scaffold an Anchor counter program with delegation and a TypeScript client that delegates the account, increments it on an Ephemeral Rollup, and undelegates it back to Solana devnet.