Skip to Main Content
Hands-On Cybersecurity with Blockchain
book

Hands-On Cybersecurity with Blockchain

by Rajneesh Gupta
June 2018
Beginner to intermediate content levelBeginner to intermediate
236 pages
6h 39m
English
Packt Publishing
Content preview from Hands-On Cybersecurity with Blockchain

Lab

In order to deploy the blockchain-based DDoS protection platform, we must prepare the test environment with Node.js and Truffle with Ethereum blockchain. We will be using an existing blockchain project to defend a network from a DDoS attack. The project link can be found at https://github.com/gladiusio/gladius-contracts.

We need to follow these steps to prepare the infrastructure for the Gladius project:

  1. First, we will install Node.js in our environment at https://nodejs.org/uk/download/package-manager/#arch-linux.
  2. We need to install truffle in test the environment:
npm install -g truffle
  1. Run the following command in the Terminal:
npm install -g ganache-cli
  1. Now, we can start the test network with this command in the Terminal:
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Securing Blockchain Networks like Ethereum and Hyperledger Fabric

Securing Blockchain Networks like Ethereum and Hyperledger Fabric

Alessandro Parisi
Role of Blockchain Technology in IoT Applications

Role of Blockchain Technology in IoT Applications

Shiho Kim, Ganesh Chandra Deka, Peng Zhang

Publisher Resources

ISBN: 9781788990189Other