Dan's Sandbox
A place where I play and mess and share new ideas.
Projects
Safe Recovery
Find every Brava Safe your wallet controls across all chains and every SafeDeployment factory, auto-detect its tokens, and withdraw them back out.
DeFi Knowledge Graph
Explore the Morpho protocol as an interactive 3D knowledge graph — vaults, markets, tokens, curators and their relationships.
Pool Inspector
Monitor indexer health and inspect pool metrics — TVL, liquidity, share price — across all indexed protocols.
Index Fund Backtester
Backtest "Top X by TVL" DeFi yield index strategies with 4 years of stablecoin pool data.
Snake
Classic Snake game with canvas rendering, arrow/WASD controls, and increasing difficulty.
Safe Module Upgrade
Upgrade Brava Safe modules to the latest configuration across Mainnet, Base, and Arbitrum.
ZK Custodian PoC
Zero-knowledge ownership of distributed smart contracts with stealth addresses and custodian/manager dual authorization.
Bundle Broadcaster
Sign a pre-built bundle on Ethereum and broadcast on the target chain — optionally with a different wallet.
Strategy Allocations
Optimize and backtest yield strategies with dynamic allocation tools.
Cover Cost Analysis
Analyze how cover costs impact APY across different term lengths and tiers.
Cover Cost 3D Visualization
View cover costs in a 3D visualization with adjustable parameters.
Investment Interface
Manage investment allocations and strategies with a drag-and-drop interface.
Tenderly Testnet Helper
Fund accounts and manage tokens on Tenderly testnets with a simple interface.
APY Volatility
DEPRECATED: Functionality moved to Strategy Allocations. This page is kept for reference only.
Changelog
Safe Recovery - v1.0.0
- Initial release of Safe Recovery for reclaiming funds from stranded Brava Safes
- Scans all 7 SafeDeployment factories ever used on-chain, not just the 2 in config
- Auto-detects tokens by sweeping Transfer logs, with balances always read live from chain
- Classifies every token as Brava pool, retired pool, known asset, or unrecognized airdrop spam
- Resolves each Safe’s own SequenceExecutor from its installed guard, so older Safes still work
- Detects Safes stuck behind retired executors and explains why, instead of an opaque GS013 revert
- Prepends fee settlement only when the protocol fee gate is actually closed
- Simulates every withdrawal before asking the wallet to sign
- Optional second-hop transfer for consolidating onto a single dev wallet
Index Fund Backtester - v1.0.0
- Initial release of Index Fund Backtester
- Backtest "Top X by TVL" stablecoin yield strategies
- 3,337 stablecoin pools across all major EVM chains
- 1.2M+ daily data points spanning 4 years (2022-2026)
- Interactive cumulative performance and APY charts
- Day inspector to view pools in the index on any given day
- Direct links to DeFiLlama for each pool
- Chain filtering and weighting options (equal vs TVL-weighted)
Snake - v1.0.0
- Replaced Noughts & Crosses with classic Snake game implementation
- Canvas-based rendering with 20x20 grid for smooth gameplay
- Arrow keys and WASD movement controls for accessibility
- Score tracking with speed increase as difficulty progression
- Start/Pause/Reset controls for game management
- Collision detection for walls and self-collision game over
- Dynamic page title updates and responsive design