SN Problems Section Page
1. Write a program in Python to implement blockchain. 1.15.1 26
2. Write a program in Python for mining a new block in a blockchain, and print the values of the 1.15.2 28
new block.
3. Write a program in Python to create four new blocks in a blockchain. Traverse the blocks and 1.15.3 30
print the values.
4. Write a program in Python to implement a blockchain and print the values of all fields as 1.15.4 32
described in [Link]
5. Write a program in Python to implement a blockchain and UTXo (unspent transaction output). 1.15.5 35
6. Write a program in Python to implement PoW algorithm. 1.15.7 37
7. Write a program in Python to implement PoS consensus algorithm. 1.15.8 40
8. Write a program in Python to Fetch the Latest Block Information from Ethereum Blockchain Using 1.15.9 42
Etherscan API
9. Write a Python Program that Takes a String and the Desired Number of Leading Zeros from the 2.7.2 64
User and Outputs the Input String, the Nonce Value for Which the Leading Zeros Puzzle Is Solved,
and the Corresponding Hash Generated
10. Write a program in Python that Demonstrates How to Use the SHA-256 Hash Function and Its 2.7.4 66
Application in a Simple Blockchain
11. Write a Program in Python to Verify Hash Properties 2.7.5 67
12. Write a Python program to Demonstrate a Simple Implementation of a Blockchain Using Hash 2.7.6 68
Codes as a Chain of Blocks
13. Write a Python program to Demonstrate the Mining Process in Blockchain 2.7.7 70
14. Write a program in Python to Create a Merkle Tree in Blockchain 2.7.8 72
15. Write a program in Python to Prove Membership and Non-membership in a Merkle Tree 2.7.9 73
Blockchain