Skip to main content

Mine XBT on DxPool with a DATUM Gateway

Updated: 2026-09-22

This guide explains how to connect compatible BLAKE2b miners to DxPool through your own DATUM Gateway. The gateway gets block templates from your node over RPC and distributes work to your miners. If you prefer not to run your own, you can connect directly to the DxPool public gateway (see section 3).

Before you start​

  • Use compatible BLAKE2b miners; SHA256d Bitcoin miners cannot mine XBT.
  • Prepare a Linux server that can run continuously, and a valid XBT payout address (same format as Bitcoin mainnet addresses).
  • The node needs a fast disk, enough storage and bandwidth.

1. Set up the Bitcoin Knots node​

The node must be Bitcoin Knots 29.4.2 or later with XBT support. On Ubuntu:

sudo add-apt-repository ppa:luke-jr/bitcoinknots
sudo apt install bitcoind psmisc

Add the following to the node's configuration file ~/.bitcoin/bitcoin.conf:

server=1
rpcuser=datum
rpcpassword=choose-a-strong-password
maxmempool=1000
blockmaxweight=785000
blocknotify=killall -USR1 ratum-gateway
prune=10000

Restart the node and wait until it is fully synced before continuing.

2. Install and configure the gateway​

XBT requires the RATUM Gateway; the original datum_gateway does not support XBT.

Build​

sudo apt install build-essential git curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
git clone https://github.com/iohzrd/ratum.git
cd ratum
git checkout cffaf47
cargo build --release -p ratum-gateway

Use the version shown above. The built program is target/release/ratum-gateway.

Configure​

Create gateway.json:

{
"bitcoind": {
"rpcuser": "datum",
"rpcpassword": "the same password as in bitcoin.conf",
"rpcurl": "http://127.0.0.1:8332"
},
"stratum": {
"listen_port": 23334,
"require_address_username": true
},
"mining": {
"pool_address": "your XBT payout address"
},
"api": {
"admin_password": "choose a strong password",
"listen_port": 7152
},
"datum": {
"pool_host": "xbt.datum.dxpool.com:28915",
"pool_port": 28915,
"pool_pubkey": "13dceb1f532408e88661e613c017e88becf0f0e0f3c06fcbb457b49a5033fe427326610133e943af4d3d0fd083a5b18c93f4364c26e3d71472cfe7dbf0ee5514"
}
}

Leave all options not listed here at their defaults. Put only the host name in pool_host and the port in pool_port.

Security: run chmod 600 gateway.json, and do not expose ports 7152 and 23334 to the internet.

Start​

RUST_LOG=info ./target/release/ratum-gateway -c gateway.json

DATUM Server MOTD in the log means the gateway is connected to DxPool. We recommend running it as a service (for example with systemd).

3. Configure your miners​

SettingYour own gatewayDxPool public gateway
Pool URLstratum+tcp://your_gateway_ip:23334stratum+tcp://xbt.public-gateway-01.dxpool.com:23334
Usernameyour XBT address or your XBT address.workernameSame
Passwordxx
  • The username must be an XBT address; sub-account names are not supported. A wrong address earns no rewards.
  • Worker names should use only digits and lowercase letters, up to 64 characters.
  • For Goldshell miners, omit the stratum+tcp:// prefix.
  • xbt.datum.dxpool.com:28915 is for gateways only; miners cannot connect to it directly.

4. Verify the connection​

  1. Open http://your_gateway_ip:7152 in a browser and check that Current job is shown; after logging in, Miners lists your miners and their accepted shares.
  2. After a few minutes, enter your address on the XBT pool page of the DxPool website to see your hashrate and earnings.

If your miners do not appear, check the gateway's IP, port 23334, the payout address and the miners' network connection.

Earnings​

  • Earnings are paid directly to your address when a block is found; no withdrawal is needed.
  • Under XBT rules, mining rewards can be spent only after about 45 days.
  • Fees are as published on the DxPool website.

For more on compatible devices, see the XBT mining tutorial.