This is a block chain application which can be used to curb drug trafficking
Team Members:
Parameswar K
Bhanu Vikas Yaganti
Sai Surya U
Pavan Ganesh V
Aman Mohammad
Project Description:
A conceptual blockchain track drug sales.
The idea is to have a way to ensure that at every trasaction is tracked and accounted.
- Run this ChainDrug.py with 4 nodes by doing the following commands:
python3 ChainDrug.py -p 5000
python3 ChainDrug.py -p 5001
python3 ChainDrug.py -p 5002
python3 ChainDrug.py -p 5003
- Create a transaction at a particular client by sending a post request to the following URL
by passing the following data
{
"owner" : 5001,
"receiver" : 5002,
"amount" : 400,
"drug_id" : 52856,
"x" : 25
}
- Mine a block of transcations at a node by
- To view the chain at a node
- To view transactions of a particular user
http://localhost:5000/viewUser/<user_port>