/Decentralised-exchange

Prototype of a decentralized exchange (DEX) built with Node.js & Express. Allows for adding liquidity, buying & selling assets (e.g., Ethereum, USDC) in a decentralized manner. Contributions welcome!

Primary LanguageTypeScript

Decentralized Exchange (DEX) Prototype

This repository contains a basic prototype of a decentralized exchange (DEX) implemented using Node.js and Express. The DEX allows users to buy and sell assets (in this case, Ethereum and USDC) in a decentralized manner. It includes functionalities for adding liquidity, buying assets, and selling assets.

Features

  • Add Liquidity: Users can add liquidity to the exchange by providing assets (e.g., Ethereum and USDC).
  • Buy Assets: Users can buy assets (e.g., Ethereum) from the exchange using USDC.
  • Sell Assets: Users can sell assets (e.g., Ethereum) to the exchange in exchange for USDC.

Technologies Used

  • Node.js
  • Express

Usage

  1. Clone the repository:

    git clone https://github.com/AdityaSahu786/decentralized-exchange.git
    

2.Install Dependencies

npm install

3. **Start the server **

npm install

4. Access the server

Access the server in your browser at http://localhost:3000
Alternatively, make API requests to interact with the exchange.

5. Contributing

 Contributions are welcome! Here's how you can contribute:

    1. Fork the repository
    2. Create a new branch: git checkout -b feature/my-feature
    3. Make your changes
    4. Commit your changes: git commit -am 'Add new feature'
    5. Push to the branch: git push origin feature/my-feature
    6. Submit a pull request