Running A Dogecoin Node - How To

Words
163
Reading
1 min
Listen
Play
4y

A few days ago, I've setup a dogecoin node on my dedicated server. Thanks to onlydoge@onlydoge who motivated me to do so.

It's so easy

You can do it in 5 minutes. You can do it on your desktop computer too, and have a windowed interface with dogecoin-qt.

Download and install the software

These commands are a for a Linux terminal.

# wget https://github.com/dogecoin/dogecoin/releases/download/v1.14.6/dogecoin-1.14.6-x86_64-linux-gnu.tar.gz
# tar -xvf dogecoin-1.14.6-x86_64-linux-gnu.tar.gz 
# cd dogecoin-1.14.6/bin/
# install -m 0755 -o root -g root -t /usr/local/bin *

Start the node

# dogecoind -daemon

That's all !

You have now a wallet located in ~/.dogecoin/wallet.dat.

Get balance

# dogecoin-cli listaccounts
{
  "": 0.00000000
}

Get the dogecoin address

Don't hesitate to tip me !

# dogecoin-cli getaccountaddress ""
D6P8uDo7wPRXtNCGuUVnSH8sa5r6EKuhZg

Get the associated private key

The following key is evidently not the right one.

# dogecoin-cli dumpprivkey D6P8uDo7wPRXtNCGuUVnSH8sa5r6EKuhZg
D6P8uDo7wPRXtNCGuUVnS8uDo7wPRXtNCGuUVnSH8sa5r6EKuhZg

You now have to wait many hours before the blockchain to be synchronized. You can check it with a blockchain explorer https://blockchair.com/dogecoin/

# dogecoin-cli getblockcount
4487748
# dogecoin-cli getconnectioncount
26

Once synchronized, the blockchain takes about 60GB.

# du -sh ~/.dogecoin/*
4.0K    /root/.dogecoin/backups
4.0K    /root/.dogecoin/banlist.dat
57G /root/.dogecoin/blocks
853M    /root/.dogecoin/chainstate
800K    /root/.dogecoin/database
0   /root/.dogecoin/db.log
1.1G    /root/.dogecoin/debug.log
4.0K    /root/.dogecoin/dogecoind.pid
2.0M    /root/.dogecoin/peers.dat
100K    /root/.dogecoin/wallet.dat

More information

dogecoin-cli ?
dogecoin-cli help

A Hive witness is unfortunately too heavy for my hardware. Maybe I'll do it later.

Đo Only Good Everyday

And trade SWAP.DOGE on Hive Engine everyday.

Running A Dogecoin Node - How To | Ecency