hitesh05 / Bitcoin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IIIT.C0IN

drawing

This is a group project made during DSA course at IIIT-H.

  • There will be a total of 10 billion IIIT.Coins of which can be bought by users.
  • Value of IIIT.Coin keep changing with the flow of trading.
  • To have a smooth and full experience of this programe we recommend you to make these changes to your terminal
    • Make background color to black (R = 30; G = 30; B = 30).
    • Maximize your terminal window.
  • To Start Programme enter this command in your Terminal. This bash file has all the
    commands necessary to compile and execute the programme
$./run.sh 
  • List of functions this programme can execute are:
    1. Register User : Takes an initial deposit amount.
      Syntax register alias r
    2. Transaction : Takes Sender ID, Reciver's ID and number of bitcoins to be transferred.
      Syntax transfer alias t
    3. Balance : Checks Your balance. Takes your ID.
      Syntax balance alias b
    4. Attack : Randomly Changes Nonce of a block From BlockChain.
      Syntax attack alias a
    5. Validate : Validates BlockChain and if any block's Nonce was changed correct it.
      Syntax validate alias v
    6. Help : Shows a list of all the commands.
      Syntax help alias h
    7. Check Value of IIIT.Coin : Current value of 1 IIIT.Coin in $.
      Syntax check alias c
    8. Mine Bitcoin : Gives you Some Bitcoins if you answer our Question correctly.
      Syntax mine alias m
    9. Transaction History : Shows last 5 transaction of a user.Takes a valid user id as input.
      Syntax past alias p
    10. Unregister : To delete your ID and Withdraw all the coins from your account.
      Syntax unregister alias u
    11. Exit Programe : Terminates the programme.
      Syntax exit alias e

About


Languages

Language:C 98.8%Language:C++ 0.7%Language:Shell 0.4%