This repo contains a deployment of the Mutiny Wallet for testnet4.
The main deployment is done with docker-compose. It contains various services:
A lot of these required small modifications to work with testnet4.
For the rapid-gossip-sync-server, you need to set the LN_PEERS
variable properly. You can have it connect to the deployed lnd instance by running:
docker exec -it lnd /bin/lncli -n testnet getinfo | jq -r '.identity_pubkey'
This will print the node id of the deployed lnd instance. You can then set the LN_PEERS
variable to this value with the trailing @lnd:9735
part.
You'll also want to connect this lightning node to any other known testnet4 nodes if available.
To run the deployment, you need to have docker and docker-compose installed. Then you can run:
docker-compose up -d
This will start all the services. You can check the logs with:
docker-compose logs -f
You can also run the services individually:
docker-compose up -d bitcoind lnd rgs_server
You can create some aliases to make it easier to interact with bitcoind and lnd:
alias lncli="docker exec -it lnd /bin/lncli -n testnet"
alias bitcoin-cli="docker exec -it bitcoind /usr/local/bin/bitcoin-cli -testnet4"
To update the deployment, you can run:
git pull
docker-compose pull
And then restart the services:
docker-compose up -d