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

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 ...

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