Coder Social home page Coder Social logo

shashwatgokhe / decentralized-trading-platform Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samarth30/decentralized-trading-platform

0.0 0.0 0.0 1.77 MB

dapp - decentralized crypto trading platform made using ethereum smart contracts

JavaScript 64.93% HTML 3.98% SCSS 9.18% Solidity 21.91%

decentralized-trading-platform's Introduction

HitCount

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.