About
Experience
worked as - Founding Software Developer
Hey there! I wanted to share the story of one of the most challenging and rewarding projects I've worked on - Bango, a decentralized prediction market platform. As the CTO, I led the technical development from the ground up, and today I want to walk you through what we built, the challenges we faced, and the tech decisions that shaped this product.
In simple terms, Bango is a platform where users can predict outcomes of real-world events - from crypto price movements to sports, politics, and community-created events. Think of it as the Web3 version of prediction markets, but with a focus on user experience that rivals traditional web apps.
The core idea was simple: make prediction markets accessible to everyone, not just crypto-natives.

Main interface of the Bango platform
Let me break down what we actually built. The entire system consists of four major components that I architected and developed:
This is what users interact with - a Next.js 14 application that feels as smooth as any modern fintech app.
Key features I implemented:
The trading interface alone was a beast. Getting the buy/sell mechanics right with real-time price updates, slippage protection, and instant feedback took countless iterations.

The prediction trading interface
This is the brain of the operation - a Node.js/Express server that handles everything from user management to market resolution.
What it does:
I built this with scalability in mind. The WebSocket implementation uses room-based subscriptions so users only receive updates for events they're watching - no unnecessary data transfer.
Architecture highlights:
├── Real-time WebSocket (Socket.IO)
├── MongoDB for flexible data storage
├── Redis for caching (optional)
├── Docker containerization
├── CI/CD with GitHub Actions
└── Comprehensive logging with WinstonEvery platform needs an admin dashboard, and this one handles:
Built with Next.js and a clean UI using Radix components. Nothing fancy, but it gets the job done efficiently.

The Bango admin console
This is where I collaborated with another developer who was strong in Solidity. Together, we built the on-chain infrastructure:
The MarketAMM Contract - the heart of our prediction markets:
The smart contracts handle:

Architecture diagram of the smart contract system
Building Bango wasn't straightforward. Here are some of the interesting problems we solved:
Problem: Most users don't want to deal with gas fees. It's confusing and creates friction.
Solution: We integrated with 0xGasless and implemented meta-transactions. Users sign transactions, and we relay them, covering the gas costs. The UX became seamless - users just click "Buy" and it works.
Problem: Prediction markets need real-time prices. Every trade changes the odds, and all users need to see this instantly.
Solution: I built a WebSocket infrastructure with event-specific rooms. When a trade happens:
The result? Sub-second price updates across all connected clients.
Problem: We needed flexible fee sharing between liquidity providers, market creators, and the platform.
Solution: We built an accrual-based fee tracking system in the smart contract. LPs earn fees proportional to their share of the pool, and they can withdraw anytime without affecting the market.

Diagram showing the fee distribution flow
Problem: We wanted to support multiple blockchains without maintaining separate codebases.
Solution: Abstracted chain-specific logic into configuration files. Same contracts, same backend, different chains. The frontend automatically adapts based on the user's connected network.
Here's what powers Bango:
Getting the buy/sell UI right was crucial. I built it to show:
Users can trade without ever seeing a blockchain transaction. That's the experience I was going for.

Detailed view of the trading panel
Users can create their own prediction markets. This was huge for engagement. The workflow:
Built a full referral system with tracking, rewards, and leaderboards. Every user gets a unique link, and both referrer and referee benefit when trades happen.
I spent a lot of time making the mobile experience feel native. The trading panel slides up from the bottom, gestures work naturally, and everything is touch-optimized.

Mobile-optimized trading experience
Building Bango taught me a lot:
While I've moved on from Bango, the experience shaped how I think about building Web3 products. The key insight? Users don't care about blockchain - they care about the experience. Everything we built was designed to make the blockchain invisible while keeping its benefits (transparency, ownership, trustlessness).
If you're building in the Web3 space and want to chat about prediction markets, gasless transactions, or just technical architecture in general - feel free to reach out!
Thanks for reading! If you found this interesting, check out my other projects or connect with me.

Bango platform statistics and achievements
Tags: `Web3` `Prediction Markets` `DeFi` `Next.js` `Node.js` `Smart Contracts` `Solidity` `TypeScript` `WebSockets` `Blockchain`