InstallAndConfigureNamecoin

From Dot-BIT Namecoin Project

Jump to: navigation, search

1. Download namecoin on the homepage


2. Unzip the content of archive

Then, on linux, go to the directory where the file has been unzipped, if any, and :

chmod +x namecoind


3. Start namecoind to create the config folder (in a terminal/dos box, and read the output)

Windows, open a new terminal with "cmd" and type :

namecoind.exe

Linux :

./namecoind

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

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


4. Create the "bitcoin.conf" file

Windows : file must be located in your application data folder \ namecoin

Linux : file must be located in ~/.namecoin

Populate "bitcoin.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.

Add also this line if your want to solo mine :

server=1


5. Start namecoind again

Windows :

namecoind.exe

Note : You need to open a new terminal to type other commands.

Note : Nothing will appear to be happening, this is normal. Proceed.


Linux :

./namecoind

It will display :

bitcoin server starting


6. List available commands:

Wait for the blockchain to download until last block, and check value with getinfo.

Windows :

namecoind getinfo
namecoind help

Note : you may use getinfo command to view how many blocks are downloaded, the number should match this one

Linux :

./namecoind getinfo
./namecoind help


7. Get your first namecoin address(es):

You will need an address if you want to receive namecoins. This will tell you what your address is.

namecoind listreceivedbyaddress 0 true

or

./namecoind listreceivedbyaddress 0 true


8. Generate a new address:

If you ever feel like creating a new namecoin address, this will do that:

namecoind getnewaddress

or

./namecoind getnewaddress
Personal tools