About
Full stack blockchain developer with over 6 years of experience
Skills
Projects & Startups

FlowPilot
AI-powered DeFi wealth manager on Flow blockchain.
At its core, FlowPilot is a rule engine. Users describe what they want in natural language — "save 20% of every paycheck," "buy $50 of FLOW every Friday," "pay rent on the 1st of each month" — and the protocol compiles these instructions into composable Flow Actions graphs backed by Cadence scheduled transactions on the Flow blockchain. From that moment, the rules run autonomously on-chain with no backend server, no admin key, and no human trigger. The protocol is built around six interconnected modules: 1. LiveStream Payroll Engine. Employers fund a Cadence vault and FlowPilot streams salary to the worker at a per-second rate, calculated with 128-bit fixed-point arithmetic to prevent rounding drift over millions of elapsed seconds. The vault operates three simultaneous ledgers: salary accrued, yield principal currently deployed in DeFi protocols, and yield earned split by a programmable ratio (defaulting to 80% worker, 20% employer). Milestone checkpoints are gated by Flow's FlowTransactionScheduler and verified through a Solidity oracle on Flow EVM via the cross-VM bridge. Workers withdraw their earnings at any time with zero gas fees. 2. Yield Autopilot and Auto-Restaking. A scheduled rebalancer fires every 24 hours, reads live APR data from the cross-VM oracle aggregator, and automatically shifts the user's idle capital to the highest-yielding protocol available on Flow. Yield is auto-compounded through chained scheduled transactions — each harvest registers the next — creating a perpetual compounding loop with no external trigger. The rebalancer respects a minimum delta threshold (0.5% by default) to avoid unnecessary protocol switching. 3. DCA, Savings, and Save-the-Change. Users configure recurring investment orders (e.g. dollar-cost averaging into FLOW weekly), scheduled savings vault contributions, and round-up hooks that capture the spare change on every outflow. A DCA borrow loop mode allows users to auto-borrow against yield collateral, execute a scheduled swap, and repay from yield proceeds on a set schedule — all governed by Flow Actions without manual intervention. Multiple named savings vaults support goal-based saving with target amounts and target dates. 4. AI Portfolio Manager. A daily scheduled transaction reads a signed portfolio rebalance signal from an AI oracle deployed on Flow EVM, verifies the signature against a registered public key, and executes the required swaps via Flow Actions. Users configure their allocation targets and risk profile in plain English (conservative, moderate, or aggressive), and the protocol handles all rebalancing automatically. Risk profiles control the drift threshold and rebalance frequency. 5. Subscription Payments and Lossless Lottery. Recurring payment streams handle rent, SaaS subscriptions, DAO dues, and any recurring obligation automatically on a configurable schedule. Idle subscription reserves — funds waiting for their next payment date — are deposited into the lossless lottery pool, where they earn yield. Every 24 hours, Flow's native on-chain VRF (verifiable random function) selects a winner from depositors weighted by stake size. Only the yield is awarded as the prize; the depositor's principal is always returned in full. 6. Yield-Backed Gift Cards and WorkCredential. Users mint yield-bearing NFTs as gift cards: a recipient receives the original principal plus all yield accumulated since minting, redeemable at any time. On stream settlement, each user's WorkCredential — a non-transferable, soul-bound Cadence resource — is updated with verified employment history, total earnings, yield earned, milestones completed, and dispute record. This on-chain financial identity is readable by DeFi lending protocols for undercollateralized credit, insurance underwriting, and DAO access gating. Technical Architecture FlowPilot is built exclusively on Flow-native primitives, several of which are unavailable on any other blockchain: Cadence resource and capability model underpins all protocol logic. Each vault, rule, credential, and handler is a Cadence resource with entitlement-gated access. Employers hold access(Disburse), workers hold access(Claim), and scheduler handlers hold access(Execute) — each isolated, non-transferable, and verifiable at compile time. FlowTransactionScheduler (Flow Forte upgrade) powers every automated action. Salary milestone gates, yield rebalancers, DCA orders, lottery draws, subscription payments, and AI portfolio rebalances all run as scheduled transaction chains that self-register their next checkpoint on execution. There is no backend cron job, no off-chain trigger, and no trusted operator. Flow Actions (also from the Forte upgrade) is the intermediate representation layer between plain-English rules and on-chain execution. The NL compiler backend parses user input into structured FlowActionNode graphs — SplitAction, SwapAction, DepositAction, CompoundAction, ScheduledTriggerAction — which are then deployed to the user's RuleGraph resource on-chain. Actions are composable and reusable across users. Flow Native VRF provides tamper-proof randomness for lottery winner selection and dispute arbitration jury sampling, without any external oracle dependency. Flow EVM and Cross-VM Bridge hosts the OracleAggregator.sol Solidity contract that serves live APR feeds, price data, and work proof verifications. Cadence settlement transactions read EVM oracle data synchronously within the same transaction scope — not as an async callback — enabling atomic, single-transaction settlement that combines both VMs' capabilities. Flow Gasless Transactions are implemented via the EVM gasless endpoint for EVM-side interactions and native Cadence fee delegation for Cadence-side interactions. Users never hold FLOW for gas, never see a fee prompt, and never have their experience interrupted by blockchain economics. DeFi Math Utils (128-bit fixed-point arithmetic) handles all financial calculations. Per-second salary accrual over 2.6 million seconds per month, yield split ratios, DCA price averaging, and rebalance drift thresholds are all computed without rounding error. FlowPilot generates revenue across three surfaces simultaneously: a 0.3% protocol fee on all funds flowing through salary streams, a 5% fee on yield generated through the autopilot, and a flat fee on gift card mints and subscription stream creation. These three surfaces scale independently and additively — a single active user generates revenue from multiple sources simultaneously. The protocol's technical architecture has zero marginal cost per additional user or stream. All automation runs on-chain through the scheduler; no server capacity scales with user growth. The WorkCredential standard creates a network-effect moat: as the credential accumulates usage, it becomes the de facto financial identity layer for all of Flow DeFi, giving FlowPilot structural leverage over any lending, insurance, or credit product built on the ecosystem.
NeuralCommons
A private platform where individuals own, govern, and selectively share their neural/cognitive data.
NeuralCommons is a decentralized cognitive sovereignty infrastructure platform that gives individuals cryptographic ownership and granular control over their neural data. As brain-computer interfaces move from research labs into everyday consumer products — EEG headsets, neurofeedback tools, and clinical BCIs — the question of who owns the data generated by your brain has become urgent and largely unanswered. NeuralCommons answers it with enforceable technical primitives rather than policy promises. Built on Protocol Labs' decentralized stack, NeuralCommons combines encrypted neural data vaults, a federated learning network for privacy-preserving model training, on-chain consent enforcement, and a community governance layer into a single coherent system. The result is a platform where your brain signals never leave your device in raw form, where consent is cryptographic and revocable with finality, and where the collective intelligence of many participants trains shared AI models without any centralized party ever touching the underlying data. --- The Problem Every consumer EEG headset on the market today — Muse, Emotiv, Neurosity, and others — sends neural data to centralized servers owned by private companies. Users agree to broad terms of service that grant those companies near-unlimited rights to store, analyze, and in many cases sell derived insights. There is no granular consent, no meaningful revocation mechanism, and no transparency into how the data is used or who it is shared with. This is not a minor privacy concern. Neural data is qualitatively different from other personal data. EEG signals can reveal cognitive states, emotional responses, neurological conditions, and attention patterns that individuals may never consciously disclose. As BCI technology matures and signal fidelity improves, the inferential surface of neural data will only expand. The infrastructure to protect it must be built now, before the market consolidates around extractive defaults. What We Built Neural Data Vault Each user's EEG sessions are processed entirely on-device. Raw brain signals are never transmitted. Instead, the system extracts encrypted feature vectors — band power measurements across delta, theta, alpha, beta, and gamma frequency ranges — which are then encrypted using AES-GCM 256-bit keys generated and held exclusively by the user. The encrypted blobs are pinned to IPFS via Helia, giving each session a permanent, tamper-proof content identifier. A provenance DAG built on IPLD links each session to its feature vectors, consent manifests, and model version, creating a complete, verifiable audit trail. Neural Consent Descriptor (NCD v0.1) NeuralCommons introduces the Neural Consent Descriptor, an open JSON-LD standard for expressing granular, cryptographically enforceable consent over neural data. An NCD manifest specifies the data owner's decentralized identifier, the precise data types being shared, the permitted grantees, the allowable purposes, the expiry timestamp, and the differential privacy budget allocated to the grant. Manifests are signed using the owner's private key and stored on IPFS. Revocation is cryptographic — destroying the scoped encryption key derived for a specific grantee makes the data permanently inaccessible, independent of whether the grantee cooperates or the platform enforces it. Federated Learning Network NeuralCommons operates a peer-to-peer federated learning network for flow state classification — detecting focus, flow, relaxation, stress, and neutral cognitive states from EEG feature vectors. Each participant trains a TensorFlow.js model locally on their own sessions. Only gradient updates are broadcast to peers via libp2p GossipSub on the topic `/neuralcommons/federated/v1`. Before any gradient leaves a device, it passes through a differential privacy mechanism — L2 norm clipping followed by calibrated Gaussian noise injection — that provides mathematically provable bounds on information leakage. The FedAvg aggregation protocol combines contributions from all peers, improving the global model with each round while maintaining strict privacy guarantees. A Rényi Differential Privacy accountant tracks cumulative epsilon spend across all training rounds. On-Chain Consent and Governance Four smart contracts deployed on Base Sepolia enforce the consent and governance layer. The `ConsentVault` contract stores grant records on-chain — grantee address, permitted data types, scoped key hashes, expiry timestamps — and emits verifiable events for every access. The `RevocationRegistry` maintains an append-only public ledger of all revocations including key destruction proofs, so any party can verify that a revocation is final. The `DataDAO` contract governs collective decisions about the shared model — privacy budget changes, grantee whitelisting, and bounty allocations all require community votes with a minimum quorum. The `BountyPool` contract funds and distributes rewards for high-quality cognitive data annotation work, with IPFS proof-of-work verification. Adversarial Testing The platform includes a built-in red-team module that simulates three categories of attack against the federated system: data poisoning attacks that attempt to corrupt the shared model through adversarial gradient injection, model inversion attacks that try to reconstruct raw EEG signals from gradient updates, and gradient leakage attacks based on the Deep Leakage from Gradients technique. Each simulation demonstrates how the differential privacy layer intercepts and neutralizes the attack, with real-time metrics on gradients rejected, privacy budget protected, and false positive rate.
Track record
Built
Hackathons

