- A cryptocurrency made for the python-based blockchain.
- Send and Receive Ethereal(cryptocurrency).
- Flask==0.12.2: pip install Flask==0.12.2
- Postman
- requests==2.18.4: pip install requests==2.18.4
-
connect_node: Establishes connection between nodes. Uses nodes.json file for node's address.
-
mine_block: Mines a new block and adds it to the current blockchain.
-
replace_chain: Changes the existing version of the blockchain present on that individual's node to the longest version of the blockchain.
-
add_transaction: Sending 100 Ethereal from "Arshal" to "Nuna". Using transaction.json.
-
As you can see, A new block is added to the current blockchain and the transaction is added to the 3rd block.
-
Now sending 10000 Ethereal from "Arshal" to "Soren". Using transaction.json.