mirror of
https://github.com/Retropex/umbrel-bitcoin.git
synced 2025-05-13 03:30:49 +02:00
Update README.md
This commit is contained in:
parent
ac88a2bf2c
commit
418afd0e72
73
README.md
73
README.md
@ -1,27 +1,36 @@
|
|||||||
[](https://github.com/getumbrel/umbrel-middleware)
|
<p align="center">
|
||||||
|
<a href="https://umbrel.com">
|
||||||
|
<img src="https://i.imgur.com/rhDWq5W.jpg" alt="Logo">
|
||||||
|
</a>
|
||||||
|
<h1 align="center">Bitcoin Node for Umbrel</h1>
|
||||||
|
<p align="center">
|
||||||
|
Run a Bitcoin node on your Umbrel personal server. An official app by Umbrel. Powered by Bitcoin Core.
|
||||||
|
<br />
|
||||||
|
<a href="https://umbrel.com"><strong>umbrel.com »</strong></a>
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<a href="https://twitter.com/umbrel">
|
||||||
|
<img src="https://img.shields.io/twitter/follow/umbrel?style=social" />
|
||||||
|
</a>
|
||||||
|
<a href="https://t.me/getumbrel">
|
||||||
|
<img src="https://img.shields.io/badge/community-chat-%235351FB">
|
||||||
|
</a>
|
||||||
|
<a href="https://reddit.com/r/getumbrel">
|
||||||
|
<img src="https://img.shields.io/reddit/subreddit-subscribers/getumbrel?style=social">
|
||||||
|
</a>
|
||||||
|
<a href="https://community.getumbrel.com">
|
||||||
|
<img src="https://img.shields.io/badge/community-forum-%235351FB">
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</p>
|
||||||
|
|
||||||
[](https://github.com/getumbrel/umbrel-middleware/releases)
|
## Getting started
|
||||||
[](https://github.com/getumbrel/umbrel-middleware/actions?query=workflow%3A"Docker+build+on+push")
|
|
||||||
[](https://hub.docker.com/repository/registry-1.docker.io/getumbrel/middleware/tags?page=1)
|
|
||||||
[](https://t.me/getumbrel)
|
|
||||||
[](https://keybase.io/team/getumbrel)
|
|
||||||
|
|
||||||
[](https://twitter.com/getumbrel)
|
This app can be installed in one click via the Umbrel App Store.
|
||||||
[](https://reddit.com/r/getumbrel)
|
|
||||||
|
|
||||||
|
## Running locally for development
|
||||||
# ☂️ bitcoin
|
|
||||||
|
|
||||||
The official bitcoin application for [Umbrel OS](https://github.com/getumbrel/umbrel-os). It wraps [Bitcoin Core](https://github.com/bitcoin/bitcoin)'s RPC exposes it via a RESTful API.
|
|
||||||
|
|
||||||
A variety of applications that run on Umbrel use bitcoin to interact with the bitcoin network.
|
|
||||||
|
|
||||||
## 🚀 Getting started
|
|
||||||
|
|
||||||
This application can be installed with one click via Umbrel's app store.
|
|
||||||
|
|
||||||
Make sure a [`bitcoind`](https://github.com/bitcoin/bitcoin) instance is running and available on the same machine.
|
Make sure a [`bitcoind`](https://github.com/bitcoin/bitcoin) instance is running and available on the same machine.
|
||||||
## 🛠 Running bitcoin
|
|
||||||
|
|
||||||
### Step 1. Install dependencies
|
### Step 1. Install dependencies
|
||||||
```sh
|
```sh
|
||||||
@ -33,45 +42,41 @@ Set the following environment variables directly or by placing them in `.env` fi
|
|||||||
|
|
||||||
| Variable | Description | Default |
|
| Variable | Description | Default |
|
||||||
| ------------- | ------------- | ------------- |
|
| ------------- | ------------- | ------------- |
|
||||||
| `PORT` | Port where middleware should listen for requests | `3005` |
|
| `PORT` | Port where the API should listen for requests | `3005` |
|
||||||
| `DEVICE_HOSTS` | Comma separated list of IPs or domain names to whitelist for CORS | `http://umbrel.local` |
|
| `DEVICE_HOSTS` | Comma separated list of IPs or domain names to whitelist for CORS | `http://umbrel.local` |
|
||||||
| `BITCOIN_HOST` | IP or domain where `bitcoind` RPC is listening | `127.0.0.1` |
|
| `BITCOIN_HOST` | IP or domain where `bitcoind` RPC is listening | `127.0.0.1` |
|
||||||
| `RPC_USER` | `bitcoind` RPC username | |
|
| `RPC_USER` | `bitcoind` RPC username | |
|
||||||
| `RPC_PASSWORD` | `bitcoind` RPC password | |
|
| `RPC_PASSWORD` | `bitcoind` RPC password | |
|
||||||
|
|
||||||
### Step 3. build the web interface
|
### Step 3. Build the web interface
|
||||||
```sh
|
```sh
|
||||||
yarn install:ui
|
yarn install:ui
|
||||||
yarn build:ui
|
yarn build:ui
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 4. Run bitcoin
|
### Step 4. Run
|
||||||
```sh
|
```sh
|
||||||
yarn start
|
yarn start
|
||||||
```
|
```
|
||||||
|
|
||||||
You can access the web interface by visiting `http://localhost:8080/`
|
You can access the app interface by visiting `http://localhost:8080/`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### ⚡️ Don't be too reckless
|
## Contributing
|
||||||
|
|
||||||
> Umbrel is still in an early stage and things are expected to break every now and then. We **DO NOT** recommend running it on the mainnet with real money just yet, unless you want to be really *#reckless*.
|
|
||||||
|
|
||||||
## ❤️ Contributing
|
|
||||||
|
|
||||||
We welcome and appreciate new contributions!
|
We welcome and appreciate new contributions!
|
||||||
|
|
||||||
If you're a developer looking to help but not sure where to begin, check out [these issues](https://github.com/getumbrel/umbrel-middleware/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) that have specifically been marked as being friendly to new contributors.
|
If you're a developer looking to help but not sure where to begin, check out [these issues](https://github.com/getumbrel/umbrel-bitcoin/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) that have specifically been marked as being friendly to new contributors.
|
||||||
|
|
||||||
If you're looking for a bigger challenge, before opening a pull request please [create an issue](https://github.com/getumbrel/umbrel-middleware/issues/new/choose) or [join our community chat](https://t.me/getumbrel) to get feedback, discuss the best way to tackle the challenge, and to ensure that there's no duplication of work.
|
If you're looking for a bigger challenge, before opening a pull request please [create an issue](https://github.com/getumbrel/umbrel-bitcoin/issues/new/choose) or [join our community chat](https://t.me/getumbrel) to get feedback, discuss the best way to tackle the challenge, and to ensure that there's no duplication of work.
|
||||||
|
|
||||||
## 🙏 Acknowledgements
|
## Acknowledgements
|
||||||
|
|
||||||
Umbrel's bitcoin app is built upon the work done by [Casa](https://github.com/casa) on its open-source [API](https://github.com/Casa/Casa-Node-API).
|
This app is built upon the work done by [Casa](https://github.com/casa) on its open source [API](https://github.com/Casa/Casa-Node-API).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
[](https://github.com/getumbrel/umbrel-middleware/blob/master/LICENSE)
|
[](https://github.com/getumbrel/umbrel-bitcoin/blob/master/LICENSE)
|
||||||
|
|
||||||
[getumbrel.com](https://getumbrel.com)
|
[umbrel.com](https://umbrel.com)
|
||||||
|
Loading…
Reference in New Issue
Block a user