:made by d33pster:
This project implements basic social media functionalities through blockchain, which means the data is stored in blocks and every action is registered as a transaction which can be seen by anyone (de-centralized).
## git clone the repository
$ git clone https://github.com/d33pster/socialmedia-blockchain.git
## move into the directory
$ cd socialmedia-blockchain
## install requirements
$ pip install -r requirements.txt
## give permission to main.py and run it
$ chmod a+x ./main.py
$ ./main.py
## install requirements
$ pip install -r requirements.txt
## run using python (if you get command not found error, install python3)
$ python main.py
## command list
$ create user ## create one user
$ create users ## create multiple users (developer option)
$ login ## login as a user
$ logout ## logout current user
$ show user blocks ## show the blockchain containing user info (password not shown)
$ show users ## just show user info
$ show transactions ## show friend request transaction blockchain
$ show friend db ## show global friend list
$ send request to @<userid> ## example: send request to @d33pster
$ accept/reject @<userid> ## accept or reject request
$ exit ## exit
## for gui in macos and linux, run commands
$ chmod a+x ./socialmedia.py
$ ./socialmedia.py
## for gui in windows
$ python socialmedia.py