pets Much Fun Learning

Dogecoin Core Documentation Such Learn!

Complete guide to mininging, running, and developing with Dogecoin Core. Much education for developers of all ages!

terminal Quick Start
$ git clone https://github.com/dogecoin/dogecoin.git
$ cd dogecoin && ./autogen.sh
$ ./configure && make
1.14.9 Latest Version
15.1k GitHub Stars
MIT License

Getting Started Such Easy!

download

Install Dogecoin Core

Download and install the official Dogecoin Core wallet for your operating system.

Learn More arrow_forward
dns

Run Full Node

Set up your own Dogecoin node to support the network and access advanced features.

Learn More arrow_forward
flash_on

Enable RPC

Configure RPC and ZMQ interfaces to interact with your node programmatically.

Learn More arrow_forward
developer_mode

Start Developing

Learn about transactions, OP_CODES, and smart contracts on Dogecoin.

Learn More arrow_forward

Compiling Dogecoin Core Much Build!

Build Dogecoin Core from source code to get the latest features and contribute to development. Such compilation, much control!

terminal Linux Compilation

Ubuntu/Debian
# Install dependencies
sudo apt update
sudo apt install mining-essential libtool autotools-dev automake pkg-config bsdmainutils python3
sudo apt install libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev
sudo apt install libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev-tools libprotobuf-dev protobuf-compiler

# Clone repository
git clone https://github.com/dogecoin/dogecoin.git
cd dogecoin

# Checkout latest release
git checkout v1.14.9

# Build
./autogen.sh
./configure
make -j$(nproc)

# Install (optional)
sudo make install

laptop_windows Windows Compilation

Using MSYS2
# Install MSYS2 from https://www.msys2.org/
# Open MSYS2 terminal and install dependencies

pacman -S mingw-w64-x86_64-toolchain
pacman -S mingw-w64-x86_64-boost
pacman -S mingw-w64-x86_64-qt5
pacman -S mingw-w64-x86_64-protobuf
pacman -S mingw-w64-x86_64-libevent
pacman -S mingw-w64-x86_64-openssl
pacman -S mingw-w64-x86_64-zeromq

# Clone and mining
git clone https://github.com/dogecoin/dogecoin.git
cd dogecoin
git checkout v1.14.9

# Configure and mining
./autogen.sh
./configure --with-incompatible-bdb
make -j$(nproc)

laptop_mac macOS Compilation

Using Homebrew
# Install Xcode Command Line Tools
xcode-select --install

# Install Homebrew (if not already installed)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install dependencies
brew install autoconf automake libtool pkg-config boost libevent openssl zeromq protobuf

# Clone and mining
git clone https://github.com/dogecoin/dogecoin.git
cd dogecoin
git checkout v1.14.9

# Build
./autogen.sh
./configure
make -j$(sysctl -n hw.ncpu)

computer FreeBSD Compilation

Using pkg
# Install dependencies
pkg install autotools boost-libs libevent2 openssl zeromq4 protobuf

# Clone and mining
git clone https://github.com/dogecoin/dogecoin.git
cd dogecoin
git checkout v1.14.9

# Build
./autogen.sh
./configure
make -j$(sysctl -n hw.ncpu)

notes Compilation Notes

  • priority_highSuch Important: Always use the latest stable release (currently v1.14.9)
  • memoryMuch Memory: Compilation requires at least 4GB RAM
  • speedSo Fast: Use -j$(nproc) for parallel compilation
  • bug_reportWow Debug: Add --enable-debug for debug minings

Running a Full Node Such Support!

Running a full node helps support the Dogecoin network and gives you access to all blockchain data. Much decentralization, so wow!

1

Download & Install

Download Dogecoin Core from the official website or compile from source (see compilation guide above).

2

Initial Sync

Start Dogecoin Core and let it synchronize with the network. This may take several hours on first run.

Start Dogecoin Core
# Start with GUI
dogecoin-qt

# Or start headless
dogecoind
3

Configure Your Node

Customize your node settings for optimal performance and security.

dogecoin.conf
# Basic node configuration
server=1
rpcuser=your_username
rpcpassword=your_secure_password
rpcallowip=127.0.0.1
rpcport=22555
port=22556

# Optional: Enable ZMQ for real-time data
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333

# Optional: Reduce bandwidth usage
maxconnections=40
maxuploadtarget=5000

# Optional: Enable pruning to save disk space
prune=550
4

Verify Your Node

Check that your node is properly connected and synchronized.

Check node status
# Check if node is running
dogecoin-cli getinfo

# Check network info
dogecoin-cli getnetworkinfo

# Check blockchain info
dogecoin-cli getblockchaininfo

# Check peer connections
dogecoin-cli getpeerinfo

star How Your Full Node Helps Others & The Network

Running a full node isn't just about personal benefits - you're contributing to the entire Dogecoin ecosystem! Such community spirit, much network support!

public

Strengthens Network Decentralization

Your node adds to the global network of peers, making Dogecoin more resilient against attacks and censorship. Every node counts!

people

Helps New Users Sync Faster

New users can download blockchain data from your node, making their initial sync much faster. You're helping onboard new Shibes!

security

Validates Transactions for Others

Your node verifies and relays valid transactions, helping ensure the network processes payments correctly and securely.

cloud_sync

Provides Redundancy & Backup

If other nodes go offline, yours keeps the network running. You're providing essential backup infrastructure for the community!

developer_mode

Enables Developer Tools

Developers can connect to your node to mining apps, wallets, and services that make Dogecoin more useful for everyone.

trending_up

Supports Network Growth

More nodes mean better performance, lower latency, and a more robust network that can handle increased usage as Dogecoin grows.

favorite

You're Making a Difference!

Every full node operator is a hero in the Dogecoin community. You're not just running software - you're helping secure and grow the network that millions of people rely on. Such contribution, much wow! rocket_launch

RPC & ZMQ Configuration Such Interface!

Enable RPC (Remote Procedure Call) and ZMQ (ZeroMQ) interfaces to interact with your Dogecoin node programmatically. Much API, so powerful!

settings_ethernet RPC Configuration

RPC allows you to send commands to your Dogecoin node from external applications.

dogecoin.conf - RPC Setup
# Enable RPC server
server=1

# RPC authentication
rpcuser=your_username
rpcpassword=your_secure_password

# RPC binding
rpcbind=127.0.0.1
rpcport=22555

# Allow RPC from localhost only (recommended)
rpcallowip=127.0.0.1

# For development, you can allow specific IPs
# rpcallowip=192.168.1.100

# Enable RPC commands
rpcworkqueue=32

security Security Best Practices

  • securitySuch Secure: Use strong, unique passwords for RPC
  • blockMuch Restrict: Only allow RPC from trusted IP addresses
  • warningSo Careful: Never expose RPC to the public internet
  • httpsWow Encrypt: Use HTTPS when possible for remote connections

flash_on ZMQ Configuration

ZMQ provides real-time notifications for blocks and transactions. Such streaming, much real-time!

dogecoin.conf - ZMQ Setup
# ZMQ notifications
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333
zmqpubhashtx=tcp://127.0.0.1:28334
zmqpubhashblock=tcp://127.0.0.1:28335

# ZMQ sequence numbers (optional)
zmqpubsequence=tcp://127.0.0.1:28336

satellite_alt ZMQ Topics Available

rawblock Raw block data as received from the network
rawtx Raw transaction data as received from the network
hashtx Transaction hash (32 bytes)
hashblock Block hash (32 bytes)
sequence Sequence number and raw data

computer Example Usage

Basic RPC Commands with CURL
# Get blockchain info
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"1.0","id":"1","method":"getblockchaininfo","params":[]}' \
  http://127.0.0.1:22555/

# Get wallet info
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"1.0","id":"1","method":"getwalletinfo","params":[]}' \
  http://127.0.0.1:22555/

# Get network info
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"1.0","id":"1","method":"getnetworkinfo","params":[]}' \
  http://127.0.0.1:22555/

# Get peer info
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"1.0","id":"1","method":"getpeerinfo","params":[]}' \
  http://127.0.0.1:22555/
Python RPC Client
import requests
import json

class DogecoinRPC:
    def __init__(self, rpc_user, rpc_password, rpc_host='127.0.0.1', rpc_port=22555):
        self.rpc_url = f"http://{rpc_host}:{rpc_port}/"
        self.auth = (rpc_user, rpc_password)
    
    def call(self, method, params=None):
        if params is None:
            params = []
        
        payload = {
            "jsonrpc": "1.0",
            "id": "1",
            "method": method,
            "params": params
        }
        
        response = requests.post(
            self.rpc_url,
            auth=self.auth,
            json=payload,
            headers={'Content-Type': 'application/json'}
        )
        
        return response.json()

# Usage example
rpc = DogecoinRPC('your_username', 'your_password')

# Get blockchain info
blockchain_info = rpc.call('getblockchaininfo')
print(f"Blocks: {blockchain_info['result']['blocks']}")

# Get wallet balance
wallet_info = rpc.call('getwalletinfo')
print(f"Balance: {wallet_info['result']['balance']} DOGE")
JavaScript RPC Client
class DogecoinRPC {
    constructor(rpcUser, rpcPassword, rpcHost = '127.0.0.1', rpcPort = 22555) {
        this.rpcUrl = `http://${rpcHost}:${rpcPort}/`;
        this.auth = btoa(`${rpcUser}:${rpcPassword}`);
    }
    
    async call(method, params = []) {
        const payload = {
            jsonrpc: "1.0",
            id: "1",
            method: method,
            params: params
        };
        
        const response = await fetch(this.rpcUrl, {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json',
                'Authorization': `Basic ${this.auth}`
            },
            body: JSON.stringify(payload)
        });
        
        return await response.json();
    }
}

// Usage example
const rpc = new DogecoinRPC('your_username', 'your_password');

// Get blockchain info
rpc.call('getblockchaininfo').then(result => {
    console.log(`Blocks: ${result.result.blocks}`);
});

// Get wallet balance
rpc.call('getwalletinfo').then(result => {
    console.log(`Balance: ${result.result.balance} DOGE`);
});

Transactions & Raw Transactions Such Transfer!

Learn how to send regular transactions and create raw transactions for advanced use cases. Much sending, so transaction!

send Regular Transactions

Simple way to send DOGE using the wallet interface or RPC commands.

Send DOGE via RPC
# Send 10 DOGE to an address
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"sendtoaddress",
    "params":["D7Y55vD8n2pwcGpcuVrBAeErVHuum6Quwb", 10.0, "Payment for services", "Such payment!"]
  }' \
  http://127.0.0.1:22555/

list Regular Transaction Parameters

address
Destination DOGE address where the funds will be sent
amount
Amount to send in DOGE (can include decimal places)
comment
Optional comment for your own records (not stored on blockchain)
comment_to
Optional comment visible to the recipient (not stored on blockchain)

settings Raw Transactions

Create transactions manually for advanced use cases like multi-sig, custom scripts, or integration with external systems.

1

Create Raw Transaction

Create raw transaction
# Create raw transaction
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"createrawtransaction",
    "params":[
      [{"txid":"previous_tx_id", "vout":0}],
      {"D7Y55vD8n2pwcGpcuVrBAeErVHuum6Quwb": 9.5}
    ]
  }' \
  http://127.0.0.1:22555/
2

Sign Raw Transaction

Sign the transaction
# Sign raw transaction
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"signrawtransaction",
    "params":["raw_transaction_hex"]
  }' \
  http://127.0.0.1:22555/
3

Send Raw Transaction

Broadcast to network
# Send raw transaction
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"sendrawtransaction",
    "params":["signed_transaction_hex"]
  }' \
  http://127.0.0.1:22555/

build Transaction Tools & Utilities

Decode Raw Transaction

Decode transaction
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"decoderawtransaction",
    "params":["raw_transaction_hex"]
  }' \
  http://127.0.0.1:22555/

Estimate Transaction Fee

Estimate fee
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"estimatesmartfee",
    "params":[6]
  }' \
  http://127.0.0.1:22555/

Get Transaction Details

Get transaction info
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"gettransaction",
    "params":["transaction_id"]
  }' \
  http://127.0.0.1:22555/

OP_CODES & Smart Contracts Such Script!

Dogecoin supports a scripting language with OP_CODES that enable smart contract-like functionality. Much scripting, so programmable!

code What are OP_CODES?

OP_CODES are operation codes in Dogecoin's scripting language that define how transactions can be spent. They enable conditional spending, multi-signature wallets, and other advanced features.

lock Basic OP_CODES

OP_DUP Duplicates the top stack item
OP_HASH160 Hash160 of the top stack item
OP_EQUALVERIFY Verifies top two stack items are equal
OP_CHECKSIG Verifies signature against public key
OP_RETURN Marks transaction as unspendable (data storage)

calculate Arithmetic OP_CODES

OP_ADD Adds top two stack items
OP_SUB Subtracts top two stack items
OP_MUL Multiplies top two stack items
OP_DIV Divides top two stack items
OP_MOD Modulo operation on top two stack items

group Multi-Signature OP_CODES

OP_CHECKMULTISIG Verifies multiple signatures
OP_1 to OP_16 Push numbers 1-16 onto stack

lightbulb Smart Contract Examples

1. Data Storage (OP_RETURN)

Store data on the blockchain using OP_RETURN. Such data, much permanent!

Store "Hello Dogecoin!" on blockchain
# Create transaction with OP_RETURN
# This stores "Hello Dogecoin!" as hex: 48656c6c6f20446f6765636f696e21

# Raw transaction output script:
# OP_RETURN 48656c6c6f20446f6765636f696e21

# Using RPC to create:
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"createrawtransaction",
    "params":[
      [{"txid":"input_tx_id", "vout":0}],
      {
        "D7Y55vD8n2pwcGpcuVrBAeErVHuum6Quwb": 9.9,
        "data": "48656c6c6f20446f6765636f696e21"
      }
    ]
  }' \
  http://127.0.0.1:22555/

2. Multi-Signature Wallet

Create a 2-of-3 multi-signature wallet. Such security, much protection!

Create 2-of-3 multisig address
# Create multisig address
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"createmultisig",
    "params":[
      2,
      [
        "public_key_1",
        "public_key_2", 
        "public_key_3"
      ]
    ]
  }' \
  http://127.0.0.1:22555/

# The resulting script will be:
# OP_2 pubkey1 pubkey2 pubkey3 OP_3 OP_CHECKMULTISIG

3. Time-Locked Transaction

Create a transaction that can only be spent after a certain time. Such patience, much timing!

Time-locked transaction
# Create time-locked transaction
# This requires understanding of block height and time locks
# Example: Can only spend after block 4,000,000

# Script: OP_IF OP_4 OP_CHECKLOCKTIMEVERIFY OP_DROP pubkey OP_CHECKSIG OP_ELSE pubkey2 OP_CHECKSIG OP_ENDIF

# This allows spending with either:
# 1. After block 4,000,000 with pubkey signature
# 2. Anytime with pubkey2 signature (emergency)

school Learning Resources

bug_report Script Debugger

Use the script debugger to test your OP_CODE scripts before using them in real transactions.

Debug script
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"decodescript",
    "params":["script_hex"]
  }' \
  http://127.0.0.1:22555/

search Transaction Analysis

Analyze existing transactions to understand how OP_CODES are used in practice.

Analyze transaction
curl -u your_username:your_password \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"1.0",
    "id":"1",
    "method":"getrawtransaction",
    "params":["txid", true]
  }' \
  http://127.0.0.1:22555/

Mainnet & Testnet Connection Such Network!

Learn how to connect to Dogecoin's mainnet (production network) or testnet (testing network). Such networks, much choice!

public Mainnet (Production Network)

The main Dogecoin network where real DOGE transactions occur. Such real, much value!

link

Network ID

mainnet

Primary Dogecoin network
network_check

P2P Port

22556

Peer-to-peer communication
settings_ethernet

RPC Port

22555

JSON-RPC interface
Dogecoin

Currency

Real DOGE

Actual cryptocurrency
Connect to Mainnet
# Start Dogecoin Core on mainnet (default)
dogecoin-qt

# Or start headless
dogecoind

# Configuration for mainnet
server=1
rpcuser=your_username
rpcpassword=your_password
rpcport=22555
port=22556
rpcallowip=127.0.0.1

science Testnet (Testing Network)

Test network for development and testing without using real DOGE. Such testing, much safe!

link

Network ID

testnet

Testing network
network_check

P2P Port

44556

Peer-to-peer communication
settings_ethernet

RPC Port

44555

JSON-RPC interface
science

Currency

Test DOGE

No real value
Connect to Testnet
# Start Dogecoin Core on testnet
dogecoin-qt -testnet

# Or start headless
dogecoind -testnet

# Configuration for testnet
testnet=1
server=1
rpcuser=your_username
rpcpassword=your_password
rpcport=44555
port=44556
rpcallowip=127.0.0.1

build Regtest (Local Testing)

Local regression testing network for development. Such local, much control!

link

Network ID

regtest

Local regression test
network_check

P2P Port

18444

Peer-to-peer communication
settings_ethernet

RPC Port

18332

JSON-RPC interface
build

Mining

Instant

Blocks mined instantly
Connect to Regtest
# Start Dogecoin Core on regtest
dogecoin-qt -regtest

# Or start headless
dogecoind -regtest

# Configuration for regtest
regtest=1
server=1
rpcuser=your_username
rpcpassword=your_password
rpcport=18332
port=18444
rpcallowip=127.0.0.1

# Enable mining for testing
gen=1
genproclimit=1

swap_horiz Switching Between Networks

Learn how to switch between different networks and manage multiple configurations.

Command Line Switching

Switch networks via command line
# Switch to mainnet
dogecoin-qt

# Switch to testnet
dogecoin-qt -testnet

# Switch to regtest
dogecoin-qt -regtest

# Check current network
dogecoin-cli getnetworkinfo

Configuration File Switching

Use different config files
# Mainnet configuration (dogecoin.conf)
server=1
rpcuser=mainnet_user
rpcpassword=mainnet_pass
rpcport=22555
port=22556

# Testnet configuration (dogecoin-testnet.conf)
testnet=1
server=1
rpcuser=testnet_user
rpcpassword=testnet_pass
rpcport=44555
port=44556

# Use specific config file
dogecoin-qt -conf=dogecoin-testnet.conf

build Network Troubleshooting

Diagnose and fix common network connectivity issues with your Dogecoin node. Such troubleshooting, much solutions!

wifi_off

Connection Problems

High Priority
error
Can't Connect to Peers
Common
warning Problem Symptoms:
  • Node shows 0 connections
  • "No block source available" message
  • Stuck at "Connecting to peers"
check_circle Solutions:
1
Check Firewall Settings

Ensure port 22556 (mainnet) or 44556 (testnet) is open

# Windows Firewall netsh advfirewall firewall add rule name="Dogecoin" dir=in action=allow protocol=TCP localport=22556 # Linux UFW sudo ufw allow 22556/tcp
2
Verify Network Configuration

Check your dogecoin.conf file for correct settings

# Add to dogecoin.conf maxconnections=125 addnode=seed.dogecoin.com addnode=seed.multidoge.org
3
Test DNS Resolution

Try different DNS servers if connection fails

# Test DNS nslookup seed.dogecoin.com # Try Google DNS: 8.8.8.8, 8.8.4.4
slow_motion_video
Slow Blockchain Sync
Performance
warning Problem Symptoms:
  • Sync progress very slow or stuck
  • High CPU usage during sync
  • Node falls behind network
check_circle Solutions:
1
Optimize Configuration

Increase connection limits and enable parallel processing

# Add to dogecoin.conf maxconnections=125 dbcache=1024 par=4
2
Use SSD Storage

Move blockchain data to SSD for faster I/O

# Move data directory to SSD # Stop dogecoin, move ~/.dogecoin to SSD location # Update datadir in dogecoin.conf
3
Bootstrap Sync

Download blockchain snapshot for faster initial sync

# Download bootstrap.dat from trusted source # Place in data directory before first run
storage

Storage & Performance

Medium Priority
storage
Insufficient Disk Space
Storage
warning Problem Symptoms:
  • "No space left on device" error
  • Node stops syncing
  • Database corruption warnings
check_circle Solutions:
1
Enable Pruning

Reduce storage requirements by pruning old blocks

# Add to dogecoin.conf prune=550 # This keeps only last 550MB of blocks
2
Move to Larger Drive

Transfer blockchain data to drive with more space

# Stop dogecoin # Move ~/.dogecoin to new location # Update datadir in dogecoin.conf
settings_ethernet

RPC & API Issues

Low Priority
lock
RPC Connection Failed
API
warning Problem Symptoms:
  • "Connection refused" to RPC port
  • Authentication failed errors
  • RPC commands not working
check_circle Solutions:
1
Check RPC Configuration

Verify RPC settings in dogecoin.conf

# Add to dogecoin.conf server=1 rpcuser=your_username rpcpassword=your_secure_password rpcport=22555 rpcallowip=127.0.0.1
2
Test RPC Connection

Verify RPC is working with basic commands

# Test RPC dogecoin-cli getblockchaininfo curl -u user:pass -d '{"method":"getblockchaininfo"}' http://127.0.0.1:22555/

build Diagnostic Tools

analytics
Network Diagnostics

Check your node's network status and connectivity

# Get network info dogecoin-cli getnetworkinfo dogecoin-cli getpeerinfo dogecoin-cli getconnectioncount
memory
Performance Monitor

Monitor node performance and resource usage

# Check blockchain info dogecoin-cli getblockchaininfo dogecoin-cli getmempoolinfo dogecoin-cli getmininginfo
bug_report
Debug Mode

Enable debug logging for detailed troubleshooting

# Enable debug logging dogecoin-cli logging '["net","rpc"]' # Check debug.log for detailed information

analytics Network Monitoring

Monitor your node's connection and performance.

Connection Status

Check network status
# Get network information
dogecoin-cli getnetworkinfo

# Get peer information
dogecoin-cli getpeerinfo

# Get connection count
dogecoin-cli getconnectioncount

# Get network totals
dogecoin-cli getnettotals

Blockchain Status

Check blockchain status
# Get blockchain info
dogecoin-cli getblockchaininfo

# Get sync status
dogecoin-cli getblockcount
dogecoin-cli getbestblockhash

# Get mempool info
dogecoin-cli getmempoolinfo

# Get mining info
dogecoin-cli getmininginfo

Mining & Merged Mining Such Hash!

Learn about Dogecoin mining, how it works, and the unique merged mining system that makes Dogecoin special. Much mining, so secure!

build How Dogecoin Mining Works

Dogecoin uses the Scrypt hashing algorithm for Proof of Work. Miners compete to solve cryptographic puzzles and earn block rewards.

build Algorithm

Scrypt - Memory-hard hashing function that requires significant RAM

schedule Block Time

1 minute - New blocks are created every minute

Dogecoin Block Reward

10,000 DOGE - Fixed reward per block (no halving)

lock Difficulty

Dynamic - Adjusts every block to maintain 1-minute intervals

swap_horiz Merged Mining with Litecoin

Dogecoin's revolutionary feature! The historical partnership with Litecoin that made Dogecoin more secure and efficient. Such innovation, much history!

history The History of Dogecoin-Litecoin Merged Mining

December 2013
Dogecoin Launch

Dogecoin launched as a fun, community-driven cryptocurrency based on Litecoin's codebase.

August 2014
Merged Mining Implementation

Dogecoin implemented Auxiliary Proof of Work (AuxPoW) to enable merged mining with Litecoin, dramatically increasing network security.

Present
Secure & Efficient

Today, Dogecoin's massive network actually provides significant security to Litecoin through merged mining, while maintaining its own unique characteristics and community.

How Dogecoin-Litecoin Merged Mining Works

build
1. Litecoin Mining

Litecoin miners solve Scrypt-based proof-of-work puzzles to secure the Litecoin network.

swap_horiz
2. AuxPoW Integration

The same work that secures Litecoin can also secure Dogecoin through Auxiliary Proof of Work.

security
3. Dual Security

Dogecoin inherits Litecoin's massive hashrate, making it extremely secure against 51% attacks.

account_balance
4. Dual Rewards

Miners earn both LTC and DOGE rewards for the same computational work.

Benefits of Dogecoin-Litecoin Merged Mining

security
Enhanced Security

Dogecoin's massive network provides security to both networks through merged mining, making it one of the most secure cryptocurrencies.

speed
Energy Efficiency

No additional energy consumption needed - the same work secures both networks.

trending_up
Economic Incentive

Miners earn rewards from both networks, making mining more profitable.

public
Network Stability

Reduces the risk of network instability and potential attacks on Dogecoin.

build Mining Setup

Set up your mining operation to start earning DOGE. Such setup, much configuration!

1. Choose Mining Software

CCMiner

Popular for NVIDIA GPUs

CCMiner command
ccminer -a scrypt -o stratum+tcp://stratum.dogecoin.com:3333 -u username.worker -p password
BFGMiner

Good for ASICs and FPGAs

BFGMiner command
bfgminer -o stratum+tcp://stratum.dogecoin.com:3333 -u username.worker -p password -S auto

2. Choose Mining Strategy

You can mine solo or join a pool. Each approach has different benefits and considerations.

group
Pool Mining

Pool Mining Considerations:

  • trending_upMore frequent payouts
  • trending_downSmaller individual rewards
  • warningContributes to centralization
  • account_balance_walletPool fees apply
warning

Centralization Risk: Large mining pools can lead to hashrate centralization, making the network vulnerable to attacks.

Popular Dogecoin Pools (If You Choose Pool Mining)
build
Litecoinpool.org
Merged Mining
build
F2Pool
Multi-coin
build
Antpool
Bitmain
build
ViaBTC
Global

3. Configure Your Wallet

Set up your Dogecoin Core wallet to receive mining rewards.

Mining configuration
# In dogecoin.conf
# Enable mining (optional - not recommended for solo mining)
# gen=1
# genproclimit=1

# Set your mining address
# miningaddress=D7Y55vD8n2pwcGpcuVrBAeErVHuum6Quwb

# For merged mining, you'll need additional configuration
# depending on your mining software

analytics Mining Economics

Understand the economics of Dogecoin mining and profitability factors.

trending_up Revenue Factors

  • DogecoinDOGE
  • card_giftcardBlock rewards (10,000 DOGE)
  • paymentsTransaction fees
  • swap_horizMerged mining rewards

trending_down Cost Factors

  • electrical_servicesElectricity costs
  • computerHardware costs
  • ac_unitCooling requirements
  • wifiInternet bandwidth

assessment Profitability Tools

  • calculateMining calculators
  • analyticsPool statistics
  • track_changesDifficulty tracking
  • monitorPrice monitoring

compare Dogecoin vs Bitcoin & Litecoin Such Comparison!

Understanding how Dogecoin compares to Bitcoin and Litecoin in terms of technical specifications and advantages as a currency. Much technical, so informative!

monetization_on

Bitcoin (BTC)

monetization_on

Litecoin (LTC)

Dogecoin

Dogecoin (DOGE)

build Algorithm
SHA-256
Scrypt
Scrypt
schedule Block Time
10 minutes
2.5 minutes
1 minute
account_balance Block Reward
6.25 BTC (halving)
6.25 LTC (halving)
10,000 DOGE (fixed)
Ideal for currency due to lost wallets, population & economic growth
speed Transaction Speed
Slow (10 min avg)
Fast (2.5 min avg)
Very Fast (1 min avg)
payments Transaction Fees
High ($5-50+)
Low ($0.01-0.10)
Very Low ($0.001-0.01)
security Security Model
Solo Mining
Solo Mining
Merged Mining with LTC
public Use Case
Store of Value
Digital Silver
Fun Currency & Tipping

star Dogecoin's Unique Advantages

speed

Fastest Transactions

1-minute block time makes Dogecoin the fastest among major cryptocurrencies, perfect for daily transactions and tipping.

payments

Lowest Fees

Transaction fees are typically under $0.01, making micro-transactions and small payments economically viable.

security

Enhanced Security

Merged mining with Litecoin provides security comparable to Bitcoin while maintaining efficiency.

mood

Community Driven

Strong, welcoming community that promotes fun, charity, and accessibility in cryptocurrency.

trending_up

Inflationary Model

Fixed 10,000 DOGE per block creates predictable, low inflation that encourages spending over hoarding.

public

Real Currency Use

Designed to be spent, not stored, making it ideal for everyday purchases and micro-transactions.

Dogecoin Why Dogecoin is Better as a Currency

check_circle

Psychological Spending

Unlike Bitcoin's "digital gold" narrative that encourages hoarding, Dogecoin's fun nature and low value per coin encourages spending and circulation.

check_circle

Micro-Transaction Friendly

Low fees and fast confirmation make Dogecoin perfect for small purchases, tips, and micro-payments that would be uneconomical with Bitcoin.

check_circle

Accessible Entry Point

Easy for kids and adults to understand and use because of the friendly community.

check_circle

Stable Inflation

Predictable, low inflation rate (about 3.8% annually) encourages spending while maintaining long-term value stability.

terminal Dogecoin Core Console Commands Such Commands!

Complete reference for all Dogecoin Core console commands and their RPC equivalents. Such documentation, much helpful! Every command can be used both in the console and via RPC calls.

info Blockchain Information Commands

Commands for getting blockchain data, block information, and network statistics.

getblockchaininfo

Info

Returns information about the blockchain including current block height, difficulty, and chain state.

Console: dogecoin-cli getblockchaininfo
RPC: curl -u user:pass -d '{"method":"getblockchaininfo"}' http://127.0.0.1:22555/
Returns: Block count, chain name, difficulty, network active, verification progress, etc.

getblockcount

Info

Returns the number of blocks in the longest blockchain.

Console: dogecoin-cli getblockcount
RPC: curl -u user:pass -d '{"method":"getblockcount"}' http://127.0.0.1:22555/
Returns: Integer representing the current block height.

getblock

Info

Returns block information for a given block hash or height.

Console: dogecoin-cli getblock "blockhash"
RPC: curl -u user:pass -d '{"method":"getblock","params":["blockhash"]}' http://127.0.0.1:22555/
Returns: Block details including hash, height, time, transactions, etc.

getbestblockhash

Info

Returns the hash of the best (tip) block in the longest blockchain.

Console: dogecoin-cli getbestblockhash
RPC: curl -u user:pass -d '{"method":"getbestblockhash"}' http://127.0.0.1:22555/
Returns: Block hash string of the current best block.

account_balance_wallet Wallet Commands

Commands for managing wallets, addresses, and balances.

getbalance

Wallet

Returns the total available balance of the wallet.

Console: dogecoin-cli getbalance
RPC: curl -u user:pass -d '{"method":"getbalance"}' http://127.0.0.1:22555/
Returns: Balance in DOGE as a number.

getnewaddress

Wallet

Generates a new Dogecoin address for receiving payments.

Console: dogecoin-cli getnewaddress
RPC: curl -u user:pass -d '{"method":"getnewaddress"}' http://127.0.0.1:22555/
Returns: New Dogecoin address string.

sendtoaddress

Wallet

Sends DOGE to a specified address.

Console: dogecoin-cli sendtoaddress "address" 10.5
RPC: curl -u user:pass -d '{"method":"sendtoaddress","params":["address",10.5]}' http://127.0.0.1:22555/
Returns: Transaction ID (txid) of the sent transaction.

listtransactions

Wallet

Returns the most recent transactions for the wallet.

Console: dogecoin-cli listtransactions
RPC: curl -u user:pass -d '{"method":"listtransactions"}' http://127.0.0.1:22555/
Returns: Array of transaction objects with details.

network_check Network Commands

Commands for network information, peer management, and connectivity.

getnetworkinfo

Network

Returns information about the node's network state and configuration.

Console: dogecoin-cli getnetworkinfo
RPC: curl -u user:pass -d '{"method":"getnetworkinfo"}' http://127.0.0.1:22555/
Returns: Network version, connections, local services, etc.

getpeerinfo

Network

Returns data about each connected peer.

Console: dogecoin-cli getpeerinfo
RPC: curl -u user:pass -d '{"method":"getpeerinfo"}' http://127.0.0.1:22555/
Returns: Array of peer objects with connection details.

getconnectioncount

Network

Returns the number of connections to other nodes.

Console: dogecoin-cli getconnectioncount
RPC: curl -u user:pass -d '{"method":"getconnectioncount"}' http://127.0.0.1:22555/
Returns: Number of active connections.

addnode

Network

Adds or removes a node from the addnode list.

Console: dogecoin-cli addnode "node:port" "add"
RPC: curl -u user:pass -d '{"method":"addnode","params":["node:port","add"]}' http://127.0.0.1:22555/
Returns: null (success) or error message.

build Mining Commands

Commands for mining operations and block generation.

getmininginfo

Mining

Returns mining-related information including hashrate and difficulty.

Console: dogecoin-cli getmininginfo
RPC: curl -u user:pass -d '{"method":"getmininginfo"}' http://127.0.0.1:22555/
Returns: Mining status, hashrate, difficulty, blocks, etc.

generate

Mining

Mines blocks immediately (regtest only).

Console: dogecoin-cli generate 1
RPC: curl -u user:pass -d '{"method":"generate","params":[1]}' http://127.0.0.1:22555/
Returns: Array of block hashes generated.

getblocktemplate

Mining

Returns data needed to construct a block to work on.

Console: dogecoin-cli getblocktemplate
RPC: curl -u user:pass -d '{"method":"getblocktemplate"}' http://127.0.0.1:22555/
Returns: Block template data for mining.

settings Utility Commands

General utility commands for node management and debugging.

help

Utility

Lists all available RPC commands or shows help for a specific command.

Console: dogecoin-cli help
RPC: curl -u user:pass -d '{"method":"help"}' http://127.0.0.1:22555/
Returns: List of available commands or command help.

stop

Utility

Stops the Dogecoin Core daemon.

Console: dogecoin-cli stop
RPC: curl -u user:pass -d '{"method":"stop"}' http://127.0.0.1:22555/
Returns: "Dogecoin Core stopping..." message.

uptime

Utility

Returns the total uptime of the server.

Console: dogecoin-cli uptime
RPC: curl -u user:pass -d '{"method":"uptime"}' http://127.0.0.1:22555/
Returns: Server uptime in seconds.

getmemoryinfo

Utility

Returns information about memory usage.

Console: dogecoin-cli getmemoryinfo
RPC: curl -u user:pass -d '{"method":"getmemoryinfo"}' http://127.0.0.1:22555/
Returns: Memory usage statistics.

Dogecoin Foundation Projects Such Integration!

The Dogecoin Foundation develops essential tools and projects that integrate seamlessly with Dogecoin Core. Such innovation, much ecosystem! Each project serves a unique purpose in the Dogecoin ecosystem.

apps Some Foundation Projects

A list of some official Dogecoin Foundation projects with GitHub links and documentation.

account_balance_wallet

GigaWallet

Active

Lightweight wallet service API for developers. Provides wallet functionality without requiring a full Dogecoin node.

REST API Lightweight Developer Tools
radio

RadioDoge

Active

Mesh networking solution for Dogecoin transactions. Enables connectivity in areas with limited internet access.

Mesh Network Offline Support Resilient
inventory

Dogebox OS

Active

Specialized operating system for running Dogecoin Core efficiently on dedicated hardware. Plug-and-play solution.

Operating System Optimized Plug & Play
library_books

Libdogecoin

Active

Low-level C library for building compliant Dogecoin nodes and wallets. Provides essential cryptographic functions and transaction handling.

C Library Cryptography Developer Tools

🔗 Integration Examples

Here are practical examples of how to integrate these Foundation projects with your Dogecoin Core setup:

E-commerce Integration

Use GigaWallet + Dogecoin Core for online payments

Payment flow example
# 1. Customer initiates payment
POST /api/v1/wallets/{wallet_id}/addresses
{
  "label": "Payment for Order #12345"
}

# 2. GigaWallet creates address and monitors via Dogecoin Core
# 3. Customer sends DOGE to the address
# 4. GigaWallet detects payment via Dogecoin Core RPC
# 5. Payment is confirmed and order is processed

# GigaWallet uses Dogecoin Core for:
# - Address generation
# - Transaction monitoring
# - Balance verification
# - Confirmation counting

Remote Area Deployment

Use RadioDoge + Dogecoin Core for offline transactions

Mesh network setup
# 1. Deploy Dogecoin Core on central node with internet
# 2. Deploy RadioDoge on mesh network nodes
# 3. RadioDoge forwards transactions to Dogecoin Core
# 4. Users can send DOGE over mesh network
# 5. Transactions are eventually broadcast to main network

# RadioDoge uses Dogecoin Core for:
# - Transaction validation
# - Network synchronization
# - Block verification
# - Peer management

Home Node Setup

Use Dogebox OS for easy home node deployment

Home node configuration
# 1. Flash Dogebox OS to SD card
# 2. Insert into Raspberry Pi or similar device
# 3. Connect to network and power on
# 4. Access web dashboard at http://dogebox.local
# 5. Configure RPC access for your applications

# Dogebox OS provides:
# - Pre-configured Dogecoin Core
# - Web-based management interface
# - Automatic updates
# - Resource monitoring
# - Easy RPC configuration

Help Translate Such Global!

Help make Dogecoin Core documentation accessible to everyone around the world! Such community, much global!

public How to Contribute Translations

1

Fork the Repository

Fork the dogecoin-core-docs repository to your GitHub account.

2

Create Language Directory

Create a new directory for your language (e.g., es/ for Spanish, fr/ for French).

3

Translate Content

Translate the HTML files while keeping the structure and Dogecoin memes intact!

4

Submit Pull Request

Submit a pull request with your translations for review and inclusion.

notes Translation Guidelines

  • moodSuch Memes: Keep Dogecoin memes like "Such", "Much", "Wow", "So" in English
  • translateMuch Technical: Translate technical terms appropriately for your language
  • codeSo Structure: Maintain the HTML structure and CSS classes
  • celebrationWow Fun: Keep the playful and educational tone

translate Languages We Need

language Spanish Needed
language French Needed
language German Needed
language Japanese Needed
language Chinese Needed
language Korean Needed
language Portuguese Needed
language Russian Needed