A full-stack decentralized exchange built on Ethereum blockchain, enabling users to swap ERC-20 tokens in a trustless environment.
- Token Swapping: Seamless USDC β LINK token exchanges
- Modern UI: Clean, responsive interface built with React
- Ethereum Integration: Full Web3 wallet connectivity
- Decentralized: No intermediaries, smart contract-powered trades
Decentralized-Exchange/
βββ dexBack/ # Smart contracts & blockchain logic
βββ dexFront/ # React frontend application
β βββ src/
β βββ components/ # Reusable UI components
β βββ public/
βββ README.md
Frontend:
- React.js
- Web3.js / Ethers.js
- Modern CSS/Styled Components
Backend/Blockchain:
- Solidity Smart Contracts
- Ethereum Network
- Hardhat/Truffle (development framework)
- Node.js (v16+)
- MetaMask or compatible Web3 wallet
- Git
-
Clone the repository
git clone https://github.com/anumukul/Decentralized-Exchange.git cd Decentralized-Exchange -
Frontend Setup
cd dexFront npm install npm start -
Smart Contracts Setup
cd ../dexBack npm install # Deploy contracts (add your deployment commands)
- Connect your Web3 wallet (MetaMask)
- Ensure you're on the correct network
- Enter token amounts for swapping
- Confirm transaction in your wallet
- Wait for blockchain confirmation
Visit the deployed application: decentralized-exchange-peach.vercel.app
- USDC (USD Coin)
- LINK (Chainlink)
More tokens coming soon!
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenZeppelin for smart contract standards
- Uniswap for DEX inspiration
- Ethereum community for continuous innovation