From 73362c0217320d951eb5b44ec5f63381b200d81d Mon Sep 17 00:00:00 2001 From: reid Date: Wed, 19 Jan 2022 07:44:51 -0600 Subject: [PATCH] Fixed mainnet script and new readme --- README.md | 155 ++----------------------------------------- rpc/mainnet-start.sh | 45 ++++--------- 2 files changed, 17 insertions(+), 183 deletions(-) diff --git a/README.md b/README.md index dd55812..a660544 100644 --- a/README.md +++ b/README.md @@ -1,158 +1,13 @@ -# %btc-provider full node on Docker +# Umbrel %btc-provider node -[Dockerhub](https://hub.docker.com/r/wexpertsystems/urbit-bitcoin-node) +This image is a port of the self-contained [%btc-provider](https://github.com/wexpertsystems/urbit-bitcoin-node) image which acts as a backend for Urbit's Bitcoin wallet. This port is an app for [Umbrel](https://getumbrel.com/), a personal server project focused on crypto sovereignty. -Urbits communicate with the Bitcoin blockchain via providers, who themselves are connected to full nodes running a few pieces of extra software. This stack can be a little complicated to set up on your own -- using this Docker container should simplify setup and scaling. +Since Umbrel ships with `bitcoind` and `electrs` out of the box, the only remaining component from the original stack is a custom Express proxy that translates `electrs`'s RPC calls from TCP to HTTP. As a result it is quite lightweight, but entirely dependent on the host's services. -We'll go through the full setup process, from installing Docker to connecting your provider. +The Docker Compose file is included for reference. Most importantly it imports env vars that describe the `bitcoind` and `electrs` servers to communicate with. This package does not need persistent storage. -To begin with, you will need **at least** 600GB of disk space available. This setup requires the full blockchain, plus additional space for indexing. Once you have a disk available, make note of its path; you might just use your home directory if if you are running this on a spare PC, or it may be somewhere like `/media/