Create Blockchain Network, Nonce Value, Hash Using Hash Function

Posted By : Aman Sharma | 28-Sep-2022

Create Blockchain Network

Objective: This document is to demonstrate the working of Blockchain.

Tools required: Ubuntu, web browser


 

Steps to be followed:

  1. Create blocks of an existing peer

  2. Create another peer and a block for this new peer

  3. Connect the newly created peer with the existing peer

 

Step 1: Create blocks of an existing peer

  1. Open the browser in your lab and navigate to https://blockchaindemo.io/

 

 

Note: Notice the existing peers under PEERS sections

 

  1. Enter some data in the Data field, and click Add New Block

 

Note: Notice that it will create a new block just after the Genesis Block for the existing peer.


 

Step 2: Create another peer and a block for this new peer

  1. Click on the Add Peer button to add a new peer

 

  1. Click on the newly created peer to add a new block

  2. Enter some data in the Data field and click Add New Block to add new blocks to this new peer

     

    Step 3: Connect the newly created peer with the existing peer

    3.1 Connect the newly created peer by clicking on the Connect symbol

     

     

Note: Similarly, add more peers and blocks to create a Blockchain network.



 

Generate a Nonce Value


 

Objective: To generate a nonce value.

 

Tools required: Ubuntu, Web browser


 

Steps to be followed:

1. Generating a nonce value

 

Step 1: Generating a nonce value

1.1 Visit https://andersbrownworth.com/blockchain/block

1.2 Enter some text in Data field and click on Mine

1.3 The new value is generated for the Nonce field


 

Generate Hash Using Hash Function


 

Objective: To generate the hash for a message using the hash function.

 

Tools required: Ubuntu, Web browser


 

Steps to be followed:

1. Generating the hash for a message using the hash function

 

Step 1: Generating the hash for a message using the hash function

1.1 Visit https://andersbrownworth.com/blockchain/hash

1.2 Enter the plain text in the Data field and it will generate the hash of that message

 

About Author

Author Image
Aman Sharma

Aman is an accomplished Backend developer with extensive industry experience, specializing in Odoo technology. He has a profound understanding and expertise in Python, Odoo ERP, Flask, MySQL, PostgreSQL, JavaScript, and payment gateway integration, particularly with Stripe. Aman's exceptional contributions to projects like Mymandi, Pando store, Markivia, DataInsite, and Tundra have been instrumental in driving the growth of his company. His strong analytical skills are pivotal in ensuring the success of his work, as he is able to identify and solve complex problems efficiently. Beyond his professional endeavors, he possesses a genuine passion for learning new technologies.

Request for Proposal

Name is required

Comment is required

Sending message..