Giter VIP home page Giter VIP logo

dex-exchange's Introduction

Dex Exchange README

Overview

Dex Exchange is a cutting-edge, decentralized exchange platform designed for secure and efficient trading of ERC20 tokens across various EVM Chains. The platform integrates with MetaMask, allowing users to manage their transactions easily in a secure and familiar environment. This project represents a significant step towards innovating in the decentralized finance (DeFi) space.

Live Application: Dex Exchange

Installation

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (latest stable version)
  • npm (Node Package Manager)
  • Git (for cloning the repository)

Clone the Repository

First, clone the repository to your local machine:

git clone https://github.com/kandekore/dex-exchange
cd dex-exchange

Install Dependencies

The project consists of two main parts: the backend (dexBack) and the frontend (dex). Dependencies for both parts need to be installed.

Run the following command to install all necessary dependencies:

npm run install

This script will navigate to both dexBack and dex directories and install the required packages.

Environment Setup

Create a .env file in the dexBack directory with the necessary environment variables. Example:

PORT=3000
MORALIS_API_KEY=your_moralis_api_key

Replace your_moralis_api_key with your actual Moralis API key.

Running the Application

To run the application in development mode with both the front-end and back-end services, use:

npm run develop

This will start the backend server and the React development server concurrently.

For production, you can build the front-end application using:

npm run build:dex

Then, start the server:

npm start

Features

  • ERC20 Token Swapping: Seamless exchange of various ERC20 tokens.
  • MetaMask Integration: Secure and easy transactions through MetaMask wallet.
  • 1Inch Liquidity Aggregator: Ensures competitive rates for trades.
  • Real-time Data: Utilizes Moralis Web3 API for up-to-date blockchain information.

Repository Structure

  • dexBack: Contains the backend code (Node.js, Express).
  • dex: Contains the frontend code (React).

Author

D Kandekore

License

This project is licensed under the ISC License.

Acknowledgements

A heartfelt thank you to all contributors and users of Dex Exchange for your unwavering support and feedback. Special acknowledgments to Moralis and the 1Inch Liquidity Aggregator. Their robust APIs and technologies have been instrumental in the successful development of this platform, significantly contributing to its functionality and performance.

dex-exchange's People

Contributors

kandekore avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.