Skip to content

Latest commit

 

History

History
84 lines (70 loc) · 3.27 KB

InstallAndConfigureNamecoin.mediawiki

File metadata and controls

84 lines (70 loc) · 3.27 KB

Table of Contents

Quick start on Linux

This is a quick way to get namecoind running on your Linux machine.

Download & extract the archive and create initial configuration files by executing namecoind:

 wget -O /tmp/namecoin.tgz http://dot-bit.org/files/namecoin_linux`getconf LONG_BIT`.tgz
 tar xfz /tmp/namecoin.tgz -C ~
 ~/namecoind

Fill in the configuration and finally start namecoind:

 NMCPASS=`openssl rand -base64 15` printf "rpcuser="$USER"\nrpcpassword="$NMCPASS >> ~/.namecoin/namecoin.conf
 ~/namecoind

Now have a look at the section Important commands on the end of this page.

Download

Download namecoin from the homepage and extract the archive.

Configuration

Start namecoind to create the config folder:

Executing namecoind
Windows Linux
Open a command prompt, switch to the directory of the extracted file and type
namecoind
Open a terminal (Ctrl+Alt+T in many desktop environments), switch to the directory of the extracted file and type
./namecoind

It will tell you where to create the "namecoin.conf" file

 Warning: To use namecoind, you must set rpcpassword=<password>
 in the configuration file: /home/user/.namecoin/namecoin.conf
 If the file does not exist, create it with owner-readable-only file permissions.

Configuration file location
Windows Linux
%APPDATA%\namecoin ~/.namecoin

Populate a file "namecoin.conf" with at least these lines:

 rpcuser=your_user
 rpcpassword=your_pass
 rpcport=8336
 daemon=1

Replace your_user and your_pass with any values of your choosing.

Also add this line if you want to solo mine:

 server=1

Now start namecoind again and you will get back to the command prompt. Namecoin runs in the background and will fetch the blockchain (which can take several hours).

To check on the progress of the download, try the namecoin getinfo command from the table below.

Important commands

Command Description
namecoind Start Namecoin daemon
namecoind help Show all available commands
namecoind getinfo Show various information. blocks value should match the current block count (<include src="http://explorer.dot-bit.org/stats/block_count.txt"></include>)
namecoind listreceivedbyaddress 0 true List your Namecoin address on which you can receive Namecoins
namecoind getnewaddress Create a new Namecoin address
namecoind name_new d/foobar Reserve a domain name. See this page for detailed instructions on how to register a domain.