I coded WazirX in 6 hours | How to Build a Centralised Exchange
Harkirat Singh Harkirat Singh
471K subscribers
70,901 views
1.8K

 Published On Aug 1, 2024

Cohort 3.0 - https://harkirat.classx.co.in/new-cou...

Cohort 3 Hackathon details - https://earn.superteam.fun/listings/p...

Code - https://github.com/code100x/cdex
Live link - https://wallet.100xdevs.com/ (SSL is down, we're fixing it)


Deployed -
00:00:00 - Announcements and Introduction
00:03:27 - Context for the video
00:07:34 - Architecture of a CEX
00:23:50 - What went wrong with WazirX/FTX
00:32:15 - Jargon
00:50:46 - Architecture of our DCEX
01:01:38 - Simple implementation architecture
01:05:41 - Coding starts, create a basic nextjs app with nextauth
01:19:23 - Copying the landing page
01:33:40 - Creating the schema
01:57:13 - Building the dashboard
03:25:39 - Adding a swap frontend
04:34:01 - Implementing the swap endpoint
05:14:29 - Summarizing what we've built
05:18:28 - Discussing the better approach with multisigs

In this video, Harkirat takes you through how you can create a centralized cryptocurrency Exchange.
He takes you through the India specific challenges, some finance jargons like Market makers, Liquidity and DEX vs CEX.
Lastly, he codes a DCEX, a mild combination of a decentralized and centralized exchange.

show more

Share/Embed