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

Namecoin blockchain installation

In this section, we will begin with the installation of the Namecoin blockchain:

  • Installation: We need to install the namecoin blockchain in the local system:
sudo apt-get install namecoin

To configure namecoin, follow the quick start guide. Rather than creating multiple users, this tutorial will use the current user.

  • Configuration: Once the installation is completed for Namecoin, we need to configure the blockchain with the following commands:
mkdir -p ~/.namecoin \&& echo "rpcuser=`whoami`" >> ~/.namecoin/namecoin.conf \&& echo "rpcpassword=`openssl rand -hex 30/`" >> ~/.namecoin/namecoin.conf \&& echo "rpcport=8336" >> ~/.namecoin/namecoin.conf \&& echo "daemon=1" >> ~/.namecoin/namecoin.conf

We will ...

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