Skip to main content
Merge mining lets you earn block rewards on two CryptoNote blockchains at the same time without doing any extra computational work. Your mining hardware solves proof-of-work puzzles once, and if a valid solution is found it is submitted to both chains simultaneously. Fuego supports CryptoNote merge mining, so you can point a compatible merge-mining pool — or a standalone miner — at the Fuego daemon and collect XFG rewards alongside another coin.

How it works

When a mining pool or miner requests a block template from the Fuego daemon (getblocktemplate), the daemon can embed a secondary chain’s merge-mining tag in the coinbase transaction. The miner works on this combined template. A solution that meets Fuego’s difficulty target is submitted to the Fuego daemon via submitblock. The same solution may also meet the difficulty target of the other chain, in which case it is submitted there too. Because both chains share the same proof-of-work, merge mining adds no extra electricity cost or hardware requirement.

Prerequisites

  • A fully synced fuegod daemon (the daemon must be at chain tip before blocks you submit will be accepted)
  • A compatible CryptoNote coin that supports merge mining
  • Mining software or a pool that understands the CryptoNote merge-mining protocol
The fuegod daemon must be fully synced before you start mining. Blocks submitted to an out-of-sync node will be rejected. Check sync status by running ./fuegod and watching the block height, or query the RPC endpoint: curl http://127.0.0.1:18180/getinfo.

Miner flags

The Fuego standalone miner (miner) accepts the following flags:
FlagDescription
--addressThe fire… address that receives block rewards
--daemon-hostHostname or IP of the fuegod RPC interface (default: 127.0.0.1)
--daemon-rpc-portRPC port of the fuegod daemon (default: 18180)
--threadsNumber of CPU threads to use for mining

Setup

1

Start and sync the Fuego daemon

Launch fuegod and wait for it to reach the current chain height. The sync process downloads the full blockchain, which may take time depending on your connection.
./fuegod --rpc-bind-ip 0.0.0.0 --rpc-bind-port 18180
Confirm sync is complete before proceeding:
curl http://127.0.0.1:18180/getinfo
Look for "synced": true or compare height and top_block_height in the response.
2

Configure your pool or standalone miner

Point your merge-mining pool software at the Fuego daemon’s RPC endpoint. The two JSON-RPC methods your pool needs are:Get a block template:
{
  "jsonrpc": "2.0",
  "method": "getblocktemplate",
  "params": {
    "wallet_address": "fireXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "reserve_size": 8
  },
  "id": 1
}
Submit a solved block:
{
  "jsonrpc": "2.0",
  "method": "submitblock",
  "params": ["<block_blob_hex>"],
  "id": 1
}
Configure your pool to call these endpoints at http://<daemon-host>:18180/json_rpc.
3

Start the Fuego miner (standalone mode)

If you are solo mining or testing without a pool, use the standalone miner binary:
./miner \
  --address fireXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \
  --daemon-host 127.0.0.1 \
  --daemon-rpc-port 18180 \
  --threads 4
Adjust --threads to match the number of logical CPU cores you want to dedicate. The miner will log accepted shares and any blocks found.
4

Verify block submissions

Successful block submissions from your pool or miner will appear as coinbase transactions in the Fuego block explorer. You can also check your mining address balance in simplewallet after the mined output matures (60 blocks for coinbase outputs).

Network parameters

ParameterValue
Block target480 seconds (~8 minutes)
P2P port10808
RPC port18180
Coinbase maturity60 blocks
Check the Fuego Discord community (https://discord.gg/5UJcJJg) for an up-to-date list of pools that support XFG merge mining. Community members regularly share working pool configurations and compatible coin pairings.