Research Article
Blockchain Enabled Automatic Reward System in Solid Waste Management
Table 3
Steps followed included in flask server.
| | Instantiates our Node | | Create a random name for our node | | Instantiate our Blockchain class | | Build the /mine endpoint, which is a GET request | | Build the /transactions/new endpoint, which is a POST request, since we’ll be sending data to it | | Build the /chain endpoint, which returns the full blockchain | | Runs the server on port 5000 |
|
|