# datum_gateway

> Self-hosted Bitcoin mining gateway for creating your own block templates via Bitcoin Core, optionally pooling rewards via encrypted DATUM protocol.

- **Category:** Cryptocurrency
- **Licence:** Other
- **Latest version:** v0.5.1beta
- **Open source:** oss
- **Languages:** C
- **Platforms:** Docker, Windows, Debian
- **Tags:** Self Hosted, Bitcoin mining, Solo mining, Bitcoin core, Stratum V1, Datum Protocol, Block Template, Pooled Mining, Asicboost, Mining Gateway

## Description

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.

## Links

- [Homepage](https://github.com/OCEAN-xyz/datum_gateway)
- [Installation Guide](https://github.com/OCEAN-xyz/datum_gateway/blob/master/doc/INSTALL.md)
- [Optimization Guide](https://github.com/OCEAN-xyz/datum_gateway/blob/master/doc/OPTIMIZATIONS.md)
- [Username Configuration](https://github.com/OCEAN-xyz/datum_gateway/blob/master/doc/usernames.md)
- [Original Declaration](https://github.com/OCEAN-xyz/datum_gateway/blob/master/doc/original.md)
- [DATUM Deep Dive (YouTube)](https://www.youtube.com/watch?v=FJ0Hye52Ib8)
- [DATUM: The Mining Upgrade (YouTube)](https://www.youtube.com/watch?v=qpJ4KDXNPZI)

---
Source: https://selfhost.directory/project/datumgateway