About
Experience
worked as - Founding Software Developer
Published: January 2026
If you've ever staked crypto assets, you know the feeling. You wake up, check your portfolio, and see that your $10,000 position is now worth $6,000. The market crashed overnight, and you weren't there to react. You're left wondering: "What if I had set a stop-loss? What if there was a way to automatically protect my floor price?"
That's exactly the problem I set out to solve with Fuse.

This is what happens when you're not watching your portfolio 24/7
Fuse is a DeFi vault that automatically protects your staked assets by maintaining a hard floor price. You set your threshold once, and the smart contracts handle the rest. No more staying up all night watching charts. No more panic selling. Just set it and forget it.
Most DeFi protocols either:
Fuse combines the best of all worlds:

The six core features that make Fuse unique
The magic happens through a single trigger price. When the market price drops below your trigger, Fuse automatically swaps your volatile assets (like AVAX) to stablecoins (like USDC). When the price recovers above your trigger, it swaps back. It's like having a professional trader watching your portfolio, except it's a smart contract that never sleeps.
Let me walk you through how I built this. The architecture is modular, secure, and follows industry best practices.
Fuse is built on the ERC-4626 standard, which is the tokenized vault standard for DeFi. This means it's compatible with the entire DeFi ecosystem - you can use Fuse shares in other protocols, trade them, or use them as collateral.

The modular architecture of Fuse - each component has a specific responsibility
The system consists of three main layers:
This was the most interesting part to design. Instead of separate stop-loss and take-profit prices, Fuse uses a single trigger price that works bi-directionally:
If price < trigger → Swap to stablecoin (protect from loss)
If price > trigger → Swap back to volatile asset (re-enter market)
How the single trigger price works in both directions
This design prevents the "flip-flopping" problem where you might swap back and forth rapidly if prices hover around your threshold. There's a built-in buffer (0.5%) that prevents unnecessary swaps.
When you're dealing with people's money, security isn't optional - it's everything. Here's what I implemented:
Every state-changing function uses OpenZeppelin's `ReentrancyGuard`. This prevents the classic reentrancy attacks that have drained millions from DeFi protocols.
Role-based permissions ensure only authorized addresses can execute critical functions. There are four roles:
Chainlink price feeds are great, but they can be manipulated or go stale. I added:
Users can set their own slippage tolerance (0.1% to 50%). The contract validates every swap to ensure it doesn't exceed this tolerance.

Multiple layers of security protect user funds
I'm a firm believer that untested code is broken code. The test suite includes:
The test coverage is 96%+, and I'm still adding more tests as I think of edge cases.

Comprehensive test coverage ensures reliability
A smart contract is only as good as its user interface. I spent significant time building a premium, minimal frontend using Next.js 16, React 19, and Framer Motion.

The Fuse dashboard - clean, intuitive, and responsive
The landing page features smooth animations, interactive background elements, and a premium feel that matches the quality of the smart contracts underneath.

The full landing page with all sections
Problem: If the price hovers exactly at your trigger, the contract might swap back and forth rapidly, wasting gas and causing losses.
Solution: Implemented a price buffer (0.5%) around the trigger. The effective trigger for swapping to stable is `trigger - 0.5%`, and for swapping back it's `trigger + 0.5%`. This creates a "dead zone" that prevents rapid oscillations.
Problem: Chainlink price feeds can go stale or be delayed, leading to incorrect swap decisions.
Solution: Added comprehensive staleness checks. The contract rejects any price that's older than 1 hour, and flags prices that changed more than 50% in a single update (likely an error or manipulation).
Problem: DeFi users are sensitive to gas costs. Every extra operation costs money.
Solution:
The result? Deposits cost ~85k gas, withdrawals ~95k gas, and swaps ~180k gas. Competitive with other DeFi protocols.
Problem: Testing a system with multiple contracts, external dependencies (Chainlink, Uniswap), and user interactions is complex.
Solution: Built comprehensive mock contracts for Chainlink and Uniswap. This allows testing all scenarios, including edge cases and attack vectors, without needing real external contracts.

The testing infrastructure - mocks, fuzz tests, and integration tests
This project taught me more about DeFi, smart contract security, and system design than any tutorial or course could. Here are the key takeaways:
You can't bolt security on at the end. Every design decision needs to consider security implications. I spent as much time thinking about attack vectors as I did implementing features.
Breaking the system into separate contracts (modules, libraries, core) made testing easier, reduced complexity, and allowed for easier upgrades. When I found a bug in the swap logic, I only needed to fix one contract.
Most DeFi protocols have terrible UX. I wanted Fuse to be different. The frontend is intuitive, responsive, and beautiful. Users shouldn't need a PhD to protect their assets.
I wrote extensive NatSpec comments, created architecture diagrams, and documented every design decision. Future me (and any auditors) will thank present me.
I caught dozens of bugs during testing that would have been catastrophic in production. The time spent writing tests saved me from potential disasters.
For those interested in the technical details:

The complete technology stack powering Fuse
Fuse is currently in limited access mode. The smart contracts are deployed to Sepolia testnet and have been thoroughly tested. The frontend is complete and ready for users.

The roadmap for Fuse - security first, then scale
If you're interested in trying Fuse, you can:

The call-to-action section from the landing page
Building Fuse has been one of the most challenging and rewarding projects I've worked on. It combines everything I love about software development: solving real problems, writing secure code, creating beautiful interfaces, and learning constantly.
The DeFi space is still young, and there's so much room for innovation. Fuse is my contribution to making DeFi more accessible, safer, and easier to use. If you're a developer thinking about building in DeFi, my advice is: start small, test everything, and never stop learning.
If you have questions about Fuse, the architecture, or DeFi development in general, feel free to reach out. I'm always happy to chat about smart contracts, security, or building products that matter.
Want to stay updated? Follow @preonsHQ on X for updates on Fuse and other projects.
Built with ❤️ using Solidity, Next.js, and a lot of coffee.