Decentralized-Trading-Platform
所属分类:加密货币
开发工具:JavaScript
文件大小:884KB
下载次数:0
上传日期:2023-01-24 03:16:59
上 传 者:
sh-1993
说明: dapp-使用以太坊智能合约打造的去中心化加密交易平台
(dapp - decentralized crypto trading platform made using ethereum smart contracts)
文件列表:
client (0, 2020-10-03)
client\package-lock.json (685811, 2020-10-03)
client\package.json (797, 2020-10-03)
client\public (0, 2020-10-03)
client\public\favicon.ico (22382, 2020-10-03)
client\public\index.html (1702, 2020-10-03)
client\public\robots.txt (57, 2020-10-03)
client\src (0, 2020-10-03)
client\src\AllOrders.js (1315, 2020-10-03)
client\src\AllTrades.js (1728, 2020-10-03)
client\src\App.js (6042, 2020-10-03)
client\src\Dropdown.js (981, 2020-10-03)
client\src\ERC20Abi.json (4841, 2020-10-03)
client\src\Footer.js (332, 2020-10-03)
client\src\Header.js (902, 2020-10-03)
client\src\LoadingContainer.js (1002, 2020-10-03)
client\src\MyOrders.js (1332, 2020-10-03)
client\src\NewOrder.js (3448, 2020-10-03)
client\src\Wallet.js (2988, 2020-10-03)
client\src\contracts (0, 2020-10-03)
client\src\contracts\AddressUtils.json (526218, 2020-10-03)
client\src\contracts\Bat.json (72023, 2020-10-03)
client\src\contracts\Context.json (21318, 2020-10-03)
client\src\contracts\Cryptokitty.json (436755, 2020-10-03)
client\src\contracts\Dai.json (72036, 2020-10-03)
client\src\contracts\Dex.json (1273579, 2020-10-03)
client\src\contracts\ERC20.json (576499, 2020-10-03)
client\src\contracts\ERC20Detailed.json (64002, 2020-10-03)
client\src\contracts\ERC20Interface.json (291658, 2020-10-03)
client\src\contracts\ERC20Token.json (315004, 2020-10-03)
client\src\contracts\ERC721.json (542592, 2020-10-03)
client\src\contracts\ERC721Token.json (561652, 2020-10-03)
client\src\contracts\ERC721TokenReceiver.json (528382, 2020-10-03)
client\src\contracts\IERC20.json (79915, 2020-10-03)
client\src\contracts\Migrations.json (55711, 2020-10-03)
... ...
[![HitCount](http://hits.dwyl.com/samarth30/GithubFinder.svg)](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
近期下载者:
相关文件:
收藏者: