Aug 23, 2023
Work
Some of Solthodox's projects
Solidity
├─ KAM Protocol — "Institutional on-chain asset management"
├─ KAM kSettler — "On-chain settlement orchestration for KAM's vaults"
├─ KAM Paymaster — "Gasless staking via ERC-2771 meta-transactions"
├─ MetaWallet — "ERC-4626 vault + smart wallet for strategy funds"
├─ Smart Account Infrastructure (Minimal Smart Account · UUPS Factory) — "Gas-efficient smart account and factory system"
├─ Mangrove Ghostbook — "Optimal on-chain splitter"
├─ Mangrove Strats — "Strat-lib with example strategies and offer logics"
├─ MetaVault — "The first fully on-chain strategies vault"
├─ maxAPY v2 — "Yield aggregator across major DeFi protocols"
├─ ERC7540 — "Optimized ERC7540 implementation"
├─ Radxu CFA - "Radxu Community Founder Accounts"
├─ Radxu CSA - "Radxu Community Shared Accounts"
├─ Radxu Staking - "Radxu Staking"
├─ Koryntia P2P lending NFT protocol mvp - "Minimal viable product for Koryntia's core product"
Rust
├─ ZKP Auth — "Chaum-Pedersen protocol authentication server""
├─ ObsidianNM — "A simple and fast notes manager for Obsidian, built in Rust"
Full-Stack
├─ KycWonder — "Decentralized anonymous KYC oracles"
├─ Solana Trading bot — "Fully autonomous Solana memecoin trading bot"
Research
├─ ERC4626 checklist — "A security checklist for novel ERC4626 safety"
Solidity
KAM Protocol (Institutional on-chain asset management)
- Repository: GitHub
KAM is an institutional-grade tokenization protocol bridging TradFi and DeFi through a dual-track architecture. Institutions mint and burn kTokens (kUSD, kBTC) 1:1 against real assets (USDC, WBTC) directly through kMinter, with instant liquidity and no slippage or MEV exposure, while retail users stake kTokens in kStakingVault to earn yield from external strategies deployed through a permissioned VaultAdapter layer.
The protocol runs on virtual balance accounting: a kAssetRouter tracks deposits, withdrawals, and strategy yield without requiring immediate on-chain settlement, batching operations into time-based cycles and reconciling virtual balances against real asset movements through timelocked settlement proposals with guardian oversight. Modular vault routing via a MultiFacetProxy and a granular role hierarchy (owner, admin, guardian, relayer, institution, vendor) keep the system both capital-efficient and tightly access-controlled. I designed the protocol's entire security architecture end to end — from the security specifications and role hierarchy to the timelocked settlement flows and risk controls.
KAM kSettler (On-chain settlement orchestration for KAM's vaults)
- Repository: GitHub
kSettler moves backend settlement math fully on-chain, making batch settlement for the KAM ecosystem deterministic, auditable, and trustless. Sitting between the vaults (kMinter, DN vaults, Alpha/Beta vaults) and the kAssetRouter, it closes batches, nets deposits against redemptions, computes profit and loss, and distributes profit through a fixed priority — insurance, then treasury, then vault adapter — before proposing settlement for execution.
The contract is non-upgradeable, with every transaction triggered on-chain by a Fordefi MPC wallet acting as relayer, driving the settlement lifecycle deterministically. Built with Solidity and Solady's OptimizedOwnableRoles for gas-efficient access control, plus Foundry and Soldeer for tooling.
KAM Paymaster (Gasless staking via ERC-2771 meta-transactions)
- Repository: GitHub
KAM Paymaster is a gasless ERC-2771 forwarder that lets users interact with KAM Protocol's kStakingVaults without holding ETH for gas, using autoclaim functionality so a single signature covers both the staking request and its later claim. Users sign EIP-712 meta-transactions with a maxFee parameter to cap acceptable fees, and trusted executors relay the transactions, deducting fees from the tokens being transferred.
It also integrates EIP-2612 permit signatures for gasless token approvals and uses gas-optimized, tightly packed calldata (address+uint96 pairs) so trusted executors can settle staking operations on users' behalf without further interaction after settlement.
MetaWallet (ERC-4626 vault + smart wallet for strategy funds)
- Repository: GitHub
MetaWallet is a hybrid smart contract combining an ERC-4626 tokenized vault with the flexibility of a smart wallet, built for institutional fund management. It lets fund managers operate a vault that accepts user deposits while retaining full flexibility to deploy capital across DeFi strategies, using virtual accounting so totalAssets stays stable while funds are invested or divested.
A modular, chainable hook system lets strategies plug into the deposit/invest flow, while Merkle-proof settlements provide off-chain attestation of externally-held assets — letting the vault account for capital that's temporarily outside the contract (e.g. in CEFFU custody) without breaking its accounting invariants.
Smart Account Infrastructure (Minimal Smart Account · UUPS Factory)
- Tags: ERC-4337, ERC-1967, Account Abstraction
- Repositories: minimal-smart-account · minimal-uups-factory
Standard smart wallets were too rigid, and existing factory patterns often carried admin backdoors, so I built a minimal, highly efficient smart wallet infrastructure that deploys identically across chains via CREATE2. minimal-smart-account handles batch execution and registry-based authorization, paired with minimal-uups-factory, a factory that deploys ERC-1967 proxies and removes itself from the picture afterward so upgrades only happen through the proxy itself.
Built with Solidity, Assembly (Solady), Foundry, and Soldeer, the result is a trust-minimized, multi-chain-ready smart account foundation with no admin backdoors, delivering substantial gas savings and operational security.
Mangrove Ghostbook (Optimal on-chain splitter)
- Build Time: 1 month of development and testing
- Repository: GitHub
Mangrove Ghostbook is a permissionless on-chain order splitter that helps execute limit prices in both Mangrove exchange and external protocols for Mangrove traders.
Mangrove Strats (Strat-lib with example strategies and offer logics)
- Repository: GitHub
Mangrove Strats is Mangrove's strategy library, providing example strategies and offer logics that market makers can build on top of to post and manage offers on the Mangrove order book.
DeFi History
MetaVault (Cross-Chain Yield)
- Build Time: 4 months of development and testing
- Tags: Superform, LI.FI, Cross-chain
- Repository: GitHub
The first fully on-chain strategies vault. The goal was to generate maximum yield, achieving a verifiable and stable 1% yield per month on the USDC vault. We leveraged Superform to deploy funds across strategies and LI.FI so users could deposit any token from any chain, backed by a custom hurdle-rate oracle that only charges fees when the vault beats T-Bills (USDC) or Lido (ETH). A proprietary share-price oracle uses LayerZero to bridge exact share and asset prices from strategy chains back to Base, with strict invariants (like never returning 0) to prevent manipulation.
Built with Solidity, TypeScript, Foundry, Soldeer, Cloudflare, Vercel, and Safe Wallets, MetaVault delivered a brilliant UX where a specialized strategy index controlled cross-chain flows — its success directly led to Veris Labs being acquired by Keyrock, where the core team transitioned to build the KAM Protocol.
maxAPY v2 (Gas Optimized Yield)
Yield aggregator routing deposits across major DeFi protocols to chase the best rates. maxAPY v2 tapped into the deepest liquidity and highest yields in DeFi by deploying capital across the biggest protocols — Curve, Uniswap, Convex, and Yearn — shipping as 4 specialized vaults (2 on Polygon, 2 on Mainnet for ETH and USDC), each with custom integrations to route funds into diverse strategies.
Built with Solidity, TypeScript, React, Google Serverless, Foundry, Vercel, and Safe Wallets, it served as the architectural proving ground that eventually evolved into the cross-chain design of MetaVault.
ERC7540 (Optimized ERC7540 implementation)
- Repository: GitHub
An optimized implementation of the ERC-7540 asynchronous tokenized vault standard, providing a gas-efficient base for building async deposit and redeem flows on top of ERC-4626.
Radxu CFA (Radxu Community Founder Accounts)
- Build Time: 3 months
- Repository: Private
- Dapp: Radxu Dapp
Radxu Community Founder Accounts is a protocol of nodes that receive weekly Radix token emissions for their contributions to the protocol. The goal is to fund community-driven projects while preventing scams and unworthy projects from receiving funds. Token emissions are periodically reduced through "halvings" where emissions are halved.
Radxu CSA (Radxu Community Shared Accounts)
- Build Time: 1 month
- Repository: Private
Radxu Community Shared Accounts enables projects to secure funding by dividing participation into CSA tokens. Profits generated can be used to pay dividends to investors, similar to traditional CeFi stock shares.
Radxu Staking
- Build Time: 2 weeks
- Repository: Private
Radxu Staking allows users to stake their Radix tokens efficiently and cost-effectively to earn more tokens as rewards. It comprises three smart contracts, each designed for different staking durations: 90 days, 180 days, and 360 days.
P2P Lending Protocol MVP
- Build Time: 3 weeks
- Repository: Private
Developed for Koryntia Finance, the P2P Lending Protocol MVP represents the core product of the Koryntia protocol designed to secure funding in the initial investment round. This protocol facilitates peer-to-peer lending, where lenders can customize debt conditions. Debt is represented as an NFT that can be transferred to third parties.
Rust
ZKP Auth (Chaum-Pedersen Protocol Authentication Server)
-
Build Time: 2 weeks of research + 1 week of development
-
Repository: GitHub
ZKP Auth is a zero-knowledge-proof authentication server built with Rust. It enables users to prove their knowledge of a password without compromising the password itself. This is achieved using the Chaum-Pedersen protocol. Additionally, it implements a gRPC communication protocol for efficient requests.
ObsidianNM(A security checklist for novel ERC4626 safety)
- Build Time: 1 day of development(in progress)
- Repository: GitHub
ObsidianNM is a light-weight blazing-fast CLI tool that allows to download any markdown or any other kind of file directly into your Obsidian vault.
Full-stack
KycWonder (Decentralized anonymous KYC oracles)
- Build Time: 2 weeks of development
- Repository: GitHub
KycWonder is an on-chain KYC oracle protocol that maps public KYC data to an Ethereum address. This system ensures that no sensitive KYC data is stored on-chain, only specific fields such as year of birth, isAdult status, country, credit score, and the timestamp of the last update. The goal is to create a transparent and anonymous KYC system that maintains user privacy and allows multiple wallet addresses to be linked to the same KYC data.
Solana Trading Bot (Fully autonomous Solana memecoin trading bot)
- Build Time: 2 months till now
- Repository: private
A full-stack memecoin trading bot for Solana network, built in Typescript and hosted in Google Cloud. It automatically watches whales trades and looks for pump opportunities in Radyum, Orca and other decentralized exchanges optimizing slippage by using Jupiter.
Research
ERC4626 Checklist (A security checklist for novel ERC4626 safety)
- Repository: GitHub
Comprehensive Security Checklist for ERC4626 Standardized Yield Farming Vaults: A meticulously curated guide outlining essential security measures for developers engaging with the ERC4626 standard. This checklist offers a thorough examination of best practices and precautions to fortify the security posture of yield farming vaults, ensuring robust protection against potential threats and vulnerabilities