I build and harden on-chain lending infrastructure: protocol integrations via raw CPI, integration test suites against real third-party programs, audit remediation, and multisig-based contract administration. Anchor by default, Pinocchio when the compute budget matters.
Selected production work
- Integrated Kamino Lending into XPlace, a Solana crypto-backed Visa card: hand-written CPI, partial account deserialization, klend built from source with a full-flow LiteSVM test suite
- Migrated XPlace's lending integration from Drift to Kamino and took the protocol through two FYEO audits
- Maintained a vesting contract holding $20M TVL; IDO contracts handling $400K in sales and 2,000 participants per launch event
- Designed GopLend, an NFT lending protocol with oracle staleness guards, share-based receipt tokens and a prioritized liquidation bid market
Recent
- Meteora Coinflip — Anchor program that turns a fair coinflip bet into a Meteora DBC / DAMM v2 swap: raw CPI without crates, balance-delta accounting, ORAO VRF, LiteSVM tests against real program dumps
Open source
- Pinocchio — Token-2022 extensions interface (#330, #333)
- LiteSVM test suite adopted in Turbin3 development (#6)
- Solana Kite — Rust API improvements (#2)
- Codama — IDL generator issue reports (#27, #29)
Stack: Rust · Anchor · Pinocchio · Token-2022 · LiteSVM · TypeScript · Solana Kit · Codama
Open to Solana smart contract roles — embedmad@gmail.com · Telegram




