Skip to content

alpha-warrior/DSE-Decentralised-Stock-Exchange

Repository files navigation

DSE-Decentralised Stock Exchange

Work done by Team KATtana (Team Number 10): Kushagra Agarwal, Akshit Garg and Tathagata Raha as a Project for the course Distributing Trust and Blockchain offered in A2k21 by Prof Sujit Gujjar.


This is a smart contract which tries to emulate a Decentralised Stock Exchange. The Stock Exchange allows IPO of a new company followed by Buying and Selling of these shares. The shares and money are stored in the smart contract till the trade is executed which allows for Trust even with unknown traders.

The functions currently supported are:

  1. Buy Order
  2. Sell Order
  3. Sort Buy Orders
  4. Sort Sell Orders
  5. Cancel Buy Order
  6. Cancle Sell Order
  7. Get Order Details
  8. Get Market Price
  9. Get Market Depth

For more details refer to the Project Paper in the repository.


Steps to run the smart contract:

truffle compile

truffle develop

migrate


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •