0% found this document useful (0 votes)
104 views15 pages

Lab I: Bitcoin Keys & Addresses

This document provides instructions for creating a personal blockchain using Ganache and the MetaMask wallet. It describes how to install Ganache and MetaMask, add a custom network to MetaMask using Ganache's RPC server URL, import accounts from Ganache by copying their private keys into MetaMask, and then send transactions between the accounts to test transaction and block creation on the personal blockchain.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
104 views15 pages

Lab I: Bitcoin Keys & Addresses

This document provides instructions for creating a personal blockchain using Ganache and the MetaMask wallet. It describes how to install Ganache and MetaMask, add a custom network to MetaMask using Ganache's RPC server URL, import accounts from Ganache by copying their private keys into MetaMask, and then send transactions between the accounts to test transaction and block creation on the personal blockchain.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Lab I: Bitcoin Keys & Addresses

Lab I: Bitcoin Keys & Addresses

Follow Instructions in :

Private Key: a 256-bit random number


Public Key: derived from the private key using (K=k*G)
Address=Prefix+ RIPEMD-160(SHA-256(Public Key))+Checksum

Work with python


Lab II: Create your Personal Blockcain
Lab II: Create your Personal Blockcain

Wallet Blockchain
RPC protocol

MetaMask: Ganache:
• Send/Receive TX • Verify TX
• Add TX
• Create Blocks
• etc
Lab II: Create your Personal Blockcain

Install Metamask addon Install Ganache


for your browser

• APPX is the file format used to distribute and install apps on Windows 8.x and 10,
Windows Phone 8.1, Windows 10 Mobile, Xbox One, and Hololens. APPX is the only
installation system allowed for UWP apps
• Universal Windows Platform (UWP ) is a homogeneous architecture created by
Microsoft and first introduced in Windows 10 . The goal of this software platform is to
help develop universal applications that work on Windows 10, Windows 10 Mobile ,
Xbox One, and Hololens without the need to rewrite new source code for each of these.
Lab II: Create your Personal Blockcain
Once installed, click Quickstart
Lab II: Create your Personal Blockcain
Ganache will give you 10 accounts to work with

Copy the RPC Server HTTP://127.0.0.1:7545


Lab II: Create your Personal Blockcain
Search and install Metamask addon wallet: https://metamask.io/download
Lab II: Create your Personal Blockcain
Click on Metamask, Add Network
Lab II: Create your Personal Blockcain
Add information as below, then click save
Lab II: Create your Personal Blockcain
Add Account to Metamask, copy the private bkey from Ganache
Lab II: Create your Personal Blockcain
Add Account to Metamask, copy the private bkey from Ganache
Lab II: Create your Personal Blockcain
In Metamask, switch to your network, click on the yellow round disk, then Import Account ,
paste the private key, click import
Lab II: Create your Personal Blockcain
You will get 100 ETH, do the same for 4 other accounts
Lab II: Create your Personal Blockcain
Now that you have a wallet with accounts and a Blockchain, try to send and receive TXs
Check the instant creation of TXs and Blocks in Ganache

You might also like