https://github.com/samarth30/decentralized-trading-platform
dapp - decentralized crypto trading platform made using ethereum smart contracts
https://github.com/samarth30/decentralized-trading-platform
blockchain chai cryptocurrency dapp erc20-tokens ethereum-dapp reactsjs smartcontract-dapp smartcontracts trading-platform web3js
Last synced: 3 months ago
JSON representation
dapp - decentralized crypto trading platform made using ethereum smart contracts
- Host: GitHub
- URL: https://github.com/samarth30/decentralized-trading-platform
- Owner: samarth30
- Created: 2020-06-30T03:00:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T03:16:59.000Z (over 2 years ago)
- Last Synced: 2023-03-03T02:31:38.033Z (about 2 years ago)
- Topics: blockchain, chai, cryptocurrency, dapp, erc20-tokens, ethereum-dapp, reactsjs, smartcontract-dapp, smartcontracts, trading-platform, web3js
- Language: JavaScript
- Homepage:
- Size: 2.08 MB
- Stars: 11
- Watchers: 2
- Forks: 17
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://hits.dwyl.com/samarth30/GithubFinder)
# Decentralized-Trading-Platform
# 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
I have followed Julien Klepatch tutorial series avaliable on
https://eattheblocks-pro.teachable.com/ this website
thanks Julien Klepatch for making this awsome course on decentralized applications using ethereum and soldity you are great teacher and an awsome person
#solidity #smartcontracts #ethereum #truffle #reactjs #nodejs #ganache #metamask #chai_test #testing #crypto #eattheblocks