selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
datum_gateway logo

Self-host datum_gateway

v0.5.1beta

Bitcoin mining gateway for sovereign block template creation

BetaOpen SourceOther
docker run --name datum-gateway -v /path/to/your/config/directory:/app/config -p 23334:23334 -p 7152:7152 datum_gateway
Updated14 hours ago
LanguageC
Setup difficultyAdvanced
Stars
148
CPU
Powerful enough to run Bitcoin node without validation delays
RAM
Approximately 1 GB of RAM, plus 1 GB per 1,000 Stratum clients, plus Bitcoin node RAM requirements
Storage
Fast storage recommended for the Bitcoin node
Ports
23334 (Stratum v1 listener for mining hardware), 7152 (Web dashboard and JSON API)
Requires
Bitcoin Core, Libcurl, Libjansson, Libmicrohttpd, Libsodium

What is datum_gateway?

DATUM Gateway is a self-hosted Bitcoin mining gateway that gives miners control over block template creation using their own Bitcoin Core node. It offers two operating modes: pooled solo mining where rewards are shared through the encrypted DATUM protocol with a pool such as OCEAN, and pure solo mining without any pool. Mining hardware connects through Stratum v1 with version rolling for ASICBoost support. The gateway talks to Bitcoin Core via RPC for templates and to the pool via the custom DATUM protocol. A built-in web dashboard and JSON API run on port 7152. You can install it through OCEAN's Debian packages, Debian's official package, Docker, source builds with systemd, or a dedicated installer image. Requirements include a synced Bitcoin Core 29.0 or newer, roughly 1 GB RAM plus 1 GB per thousand Stratum clients, and Linux on x86-64 (FreeBSD and ARM64 also tested in CI). The code is MIT-licensed and maintained by Bitcoin Ocean, LLC and Jason Hughes.

Should you self-host datum_gateway?

datum_gateway scores 46/100 on selfhost.directory (how scoring works) and ranks #29 of 42 in Cryptocurrency. It has 148 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is Other-licensed and written mostly in C.

Its closest alternative on selfhost.directory is Freqtrade (86/100, 56 088 stars). It scores higher overall, so compare the two before you pick. See datum_gateway vs Freqtrade side by side.

Features

  • Bitcoin-only miningExplicitly Bitcoin-only by design
  • Coinbase tagging
  • Direct block submission via Bitcoin node
  • Encrypted DATUM protocol to pool
  • Full solo mining
  • HTTP block notifications
  • Local block template creation
  • Multiple installation methods
  • Pooled solo mining with shared rewards
  • Stratum v1 with version rolling (ASICBoost)
  • Variable difficulty (vardiff) for share rate control
  • Web dashboard and JSON API

datum_gateway README

How to install datum_gateway

Install datum_gateway with Docker

Docker Engine
# Build
docker build -t datum_gateway .

# Run
docker run --name datum-gateway -v /path/to/your/config/directory:/app/config -p 23334:23334 -p 7152:7152 datum_gateway

Build from source; no pre-built images on registries

More in Cryptocurrency

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…