Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/g0drlc/dex-trading-platform
Decentralized crypto trading platform made using ethereum smart contracts
https://github.com/g0drlc/dex-trading-platform
chai cryptocurrency dapp erc20-tokens smartcontract solidity trading-platform web3js
Last synced: about 3 hours ago
JSON representation
Decentralized crypto trading platform made using ethereum smart contracts
- Host: GitHub
- URL: https://github.com/g0drlc/dex-trading-platform
- Owner: g0drlc
- Created: 2024-07-17T10:25:14.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-09-04T16:27:39.000Z (5 months ago)
- Last Synced: 2025-02-01T19:46:08.449Z (about 3 hours ago)
- Topics: chai, cryptocurrency, dapp, erc20-tokens, smartcontract, solidity, trading-platform, web3js
- Language: JavaScript
- Homepage:
- Size: 823 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Decentralized-Trading-Platform
![2](https://github.com/user-attachments/assets/ccd296d7-f121-47eb-aa6b-b6e6d1f3267d)
# How to install the code
```
npm install
```
open a new terminal
```
truffle develop
copy the nemonic
logout from the metamask and Import using account seed phrase
copy paste the nemonic
migrate --reset in the same terminal and keep that terminal open
```open a new terminal
```
cd app or client
npm install
npm start
```enjoy the code happy coding
just made this awsome project called DEFI trading platform
in this project i have imbedded 4 fake erc-20 tokens named DAI, BAT ,ZRX , REP made using #OpenZeppelin in this i have given first four accounts of mine 1 #ethereum equivalent fake erc-20 tokens
there is a withdraw and a deposit function by withdraw button you can invest fake #crypto tokens present in your account to the trading application and by depositing you can deposit the tokens earned to your account
also there is a function called limit order and market order
limit order basically means that you want to buy or sell n number of tokens at this highest price that you will put in the input field
market orders means that you want to buy or sell n number of tokens what ever price that is availiable in the market
the trading algorithm matches the limit order and the market orders and create a trade between the tokens and price that person who wants the tokens at any price get the tokens and the person who wants to sell at a specific price sells it so its all about the working of this DAPP
#solidity #smartcontracts #ethereum #truffle #reactjs #nodejs #ganache #metamask #chai_test #testing #crypto #eattheblocks