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.
- 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.
- Node.js
- Express
-
Clone the repository:
git clone https://github.com/AdityaSahu786/decentralized-exchange.git
npm install
npm install
Access the server in your browser at http://localhost:3000
Alternatively, make API requests to interact with the exchange.
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