Skip to content

About

A full-stack Decentralized Exchange (DEX) platform built on Ethereum. This project includes custom Solidity smart contracts for secure token trading and a modern React frontend for seamless user interaction. Features include wallet integration, real-time order book, limit/market orders, and live trading—all powered by Web3 technologies.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Real World Decentralized Exchange (DEX) Project

A full-stack Decentralized Exchange (DEX) platform built on Ethereum, featuring custom smart contracts and a modern React frontend. This project demonstrates the complete workflow of a DEX, from Solidity contract development to a user-friendly web interface for trading ERC-20 tokens.

🚀 Features

  • Connect Ethereum Wallet:Seamless wallet integration for secure user authentication and transactions.
  • Order Book: Real-time display of buy and sell orders.
  • Limit & Market Orders: Place both limit and market orders directly from the UI.
  • Live Trading Modal: View recent trades and a mock price chart in a dedicated modal.
  • Balances: Display ETH and token balances for the connected account.
  • Responsive UI: Built with Material UI for a modern and accessible user experience.

🛠️ Tech Stack

  • Smart Contracts: Solidity
  • Blockchain: Ethereum (compatible with testnets)
  • Frontend: React.js, Material UI
  • Web3 Integration: Ethers.js
  • Development Tools: Truffle, Ganache

📦 Project Structure

ERC20/
  ├── contracts/         # Solidity smart contracts
  ├── dex-frontend/      # React frontend application
  ├── migrations/        # Truffle migration scripts
  ├── test/              # Smart contract tests
  ├── truffle-config.js  # Truffle configuration
  └── package.json       # Project dependencies

⚡ Getting Started

  1. Clone the repository:

    git clone https://github.com/SyedAnusali/Real-World-Dex.git
    cd Real-World-Dex
  2. Install dependencies:

    cd dex-frontend
    npm install
  3. Start the frontend:

    npm start
  4. Deploy contracts (optional, for development):

    cd ..
    truffle migrate --network <network>

📖 Usage

  • Connect your MetaMask or other Ethereum wallet.
  • View the order book and balances.
  • Place buy/sell orders using the form.
  • Open the live trading modal for recent trades and a price chart.

📄 License

This project is licensed under the MIT License.

🙌 Acknowledgements

Author SYED ANUS ALI |BLOCKCHAIN DEVELOPER|DAPPS DEVELOPER|WEB3 ENTHUSIAST|

About

A full-stack Decentralized Exchange (DEX) platform built on Ethereum. This project includes custom Solidity smart contracts for secure token trading and a modern React frontend for seamless user interaction. Features include wallet integration, real-time order book, limit/market orders, and live trading—all powered by Web3 technologies.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages