https://github.com/lnbits/lnbits-on-phoenixd
Run LNbits on Pheonixd
https://github.com/lnbits/lnbits-on-phoenixd
Last synced: 3 months ago
JSON representation
Run LNbits on Pheonixd
- Host: GitHub
- URL: https://github.com/lnbits/lnbits-on-phoenixd
- Owner: lnbits
- License: mit
- Created: 2024-09-12T20:29:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T22:14:08.000Z (almost 2 years ago)
- Last Synced: 2025-12-01T00:22:12.334Z (7 months ago)
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LNbits on Phoenixd
Video tutorial using lunanode VPS:
https://www.youtube.com/watch?v=t28coHBX3aI
(We use screen sessions in the video tutorial to run but for production systemctl would make more sense)
(Yvettes more comprehensive wonderful guide with systemd files https://github.com/arbadacarbaYK/LNbits.on.phoenixd.on.MacOS/blob/main/Ubuntu.md)
### Install Pheonixd
https://github.com/ACINQ/phoenixd/releases/
```
wget
sudo apt install -y unzip
unzip phoenix-0.3.4-linux-x64.zip
cd phoenix-0.3.4-linux-x64/
chmod +x phoenixd
chmod +x phoenix-cli
./phoenixd
cd /home/ubuntu/.phoenix
cat seed.dat # Put your pheonixd seed somewhere safe!
cat phoenixd.conf # Copy the api key for phoenixd
```
### Install LNbits
```
wget https://raw.githubusercontent.com/lnbits/lnbits/main/lnbits.sh &&
chmod +x lnbits.sh &&
./lnbits.sh
# Once finished ctrl+c to shut down
# To run again
export PATH="/home/$USER/.local/bin:$PATH"
./lnbits.sh
```
### Set your DNS records
Set an "a" record for your vps ip address.

### Install and run caddy
https://caddyserver.com/docs/install#debian-ubuntu-raspbian
```
# Note your DNS record may take a while to propogate, so if this fails wait a little while and try again.
caddy stop
sudo caddy reverse-proxy --from yoururl.com --to :5000
```