- capxchange is a decentralized Exchange (DEX) platform.
- It allows users to deposit tokens, withdraw tokens, create/cancel orders, and execute trades with a fee mechanism for the exchange owner.
-
Deposit ERC-20 Tokens
- Users can securely deposit their ERC-20 tokens into the exchange.
-
Withdraw Tokens back to User Wallet
- Users can withdraw their tokens from the exchange anytime.
-
Create New Trade Orders (Token Swap)
- Users can create an order to exchange one token for another.
- Example: User A wants to trade 300 CAP tokens for 2 mDAI tokens.
- The order can then be filled by other users on the exchange.
-
Cancel Orders
- Users can cancel any order they created if it has not been filled yet.
- Only the order creator is allowed to cancel.
-
Fill Existing Orders and Execute Trades
- Other users can fill existing orders created by someone else.
-
Fee System
- The exchange charges a small fee on every successful trade
- React.js → Component-based UI framework
- Tailwind CSS → Utility-first styling for modern responsive design
- Redux toolkit → Global state management for balances, orders, and trades
- Ethers.js → Blockchain interaction (connect wallet, call contract functions)
- Solidity → Powers the decentralized backend logic of CapXchange
- Hardhat → Development framework for compiling, deploying, and debugging contracts
- Chai → Assertion library for writing unit & integration tests
Smit Bhuva
Web3 Developer | Solidity | Full Stack Developer
- GitHub: Smitbhuva15
- LinkedIn: Smit Bhuva
- 📧 Email: bhuvasmit1507@gmail.com