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:
- First, we will install Node.js in our environment at https://nodejs.org/uk/download/package-manager/#arch-linux.
- We need to install
truffle
to test the environment:
npm install -g truffle
- Run the following command in the Terminal:
npm install -g ganache-cli
- Now, we can start the test network with this command in the Terminal:
ganache-cli
The following screenshot shows the output of running the preceding command:

- In this Terminal window, we can see all transactions in the test blockchain network. Now, we have to open a new Terminal window and need to jump into the working directory.
To set...