You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
nolim1t d3d32af9f9
Don’t even try to refactor it.
4 years ago
.github removed linux/368 as no node image 4 years ago
bin init 5 years ago
logic cleanup 5 years ago
middlewares auth 4 years ago
models init 5 years ago
resources init 5 years ago
routes auth 4 years ago
services paginated blocks 5 years ago
test init 5 years ago
utils auth 4 years ago
.dockerignore return chain in /sync and use port from env variable 5 years ago
.eslintignore init 5 years ago
.eslintrc init 5 years ago
.gitignore auth 4 years ago
Dockerfile revert back to node-8 slim 4 years ago
LICENSE init 5 years ago
Makefile init 5 years ago
README.md Revert change to readme 5 years ago
app.js return chain in /sync and use port from env variable 5 years ago
package.json Merge branch 'mayankchhabra-auth' into umbrelbox-compose-checks 4 years ago
pre-commit init 5 years ago
qemu-arm-static init 5 years ago
test.setup.js init 5 years ago
wait-for-node-manager.sh Retry 15 times then give up 4 years ago

README.md

API connecting the Umbrel Dashboard to bitcoind & lnd

How to use:

  1. To /home/umbrel/docker-compose.yml, add the following service:
        middleware:
                image: getumbrel/middleware:latest
                depends_on: [ bitcoin, lnd ]
                logging: *default-logging
                restart: on-failure
                network_mode: host
                volumes:
                    - "/home/umbrel/lnd:/lnd"
                environment:
                    BITCOIN_HOST: "0.0.0.0"
                    RPC_PORT: "8332"
                    RPC_USER: "<your rpc username>"
                    RPC_PASSWORD: "<your rpc password>"
                    LND_NETWORK: "mainnet"
                    LND_HOST: "127.0.0.1"
  1. Run docker-compose up -d

  2. Test bitcoin from a computer connected to the same network

curl http://umbrel.local:3005/v1/bitcoind/info/status
  1. Test lightning from a computer connected to the same network
curl http://umbrel.local:3005/v1/lnd/info/status