O'Reilly logo

Hands-On Cybersecurity with Blockchain by Rajneesh Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 network from DDoS attack. The project link can be found at link https://github.com/gladiusio/gladius-contracts.

Furthermore, we need to follow the steps to prepare the infrastructure for 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 to 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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required