17 ms·
Show HN: I built a decentralized crypto exchange from scratch using Solidity
I'm a solo dev experimenting with smart contracts and wanted to build a simplified version of Uniswap to understand how decentralized trading really works under the hood.
The DEX is live here: dex-web-krishbaidya.vercel.app
GitHub: https://github.com/KrishBaidya/DEX https://github.com/KrishBaidya/DEX
There are issues, and users might lose money right now - but I’m sharing it to get feedback, not to promote it as production-ready.
Happy to answer any technical questions around Solidity, liquidity pools, front-end integration, or things I screwed up during development.
- baobun 1y agoHave you thought about how to handle (or not) front-running aka MEV?
- KrishBaidya 1y agoYeah, I’m aware of front-running and MEV issues, but didn't focus on those. This DEX was more of an educational project I built to understand how liquidity pools and token swaps work. It's now archived, so I'm not actively working on it, but I definitely learned a lot from building it!