From f6f700e8ad2b2dd49d45c07f81332c463eacb9f6 Mon Sep 17 00:00:00 2001 From: Bill Buchanan Date: Thu, 7 Apr 2022 18:19:45 +0100 Subject: [PATCH] Update README.md --- unit09_future/lab/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/unit09_future/lab/README.md b/unit09_future/lab/README.md index edad013..d31cfa2 100644 --- a/unit09_future/lab/README.md +++ b/unit09_future/lab/README.md @@ -7,13 +7,36 @@ Aim: To provide a foundation in some of the up-and-coming methods in cryptograp **New feature:** Repl.it code additions. ## Running a local blockchain +In a previous lab we ran our blockchain on the Ropsten test network. In this tutorial, we will run a local blockchain using ganache. We can install from: + +``` +https://trufflesuite.com/ganache/ +``` + +Then download the correct version for your computer: ![here](https://asecuritysite.com/public/gan04.png) +This should download the application file into your Downloads folder. Next go to the terminal and enter: + +``` +cd +cd Downloads +chmod a+x ganache-2.5.4-linux-x86_64.AppImage +``` +Then run the program: + +``` +./ganache-2.5.4-linux-x86_64.AppImage +``` ![here](https://asecuritysite.com/public/gan03.png) +This should run the blockchain, and now select Quick start: + ![here](https://asecuritysite.com/public/gan02.png) +We should now have a blockchain with accounts: + ![here](https://asecuritysite.com/public/gan01.png) ## Light-weight crypto