pull down to refresh
I meant to circle back and try Lightning.Pub to see how it was progressing, but the easiest device to do that on is an Ubuntu machine that is already running Alby Hub. With the one line install there are port conflicts. Since running Alby Hub is fairly common, is there any way to get a one line install that uses alternate ports and doesn’t interfere with Alby Hub?
The bigger problem would be both trying to use LND, the script installs LND as well which is probably the conflict
Alby hub is using LDK. Would there still be a conflict with LND then?
Ah, LDK must be using 9735, that's the standard lightning P2P port... Maybe I can add a switch to change the default...
Testing this now but can't reproduce it with 9735, can you show me the error exactly?
I think I got it, merging now...
The new change will check if the port is occupied before installing LND and then bump it
Take it for another spin, should work over the existing failed install, but if not just stop the hung lnd first systemctl --user stop lnd so the script can confirm its not lnd hogging the port
After its up if you cat ./lnd/lnd.conf you should see what port is is listening on, it increments so likely 9736
Thanks for your efforts here. This is what I got:
Have to head back out. Will try again later. I went from Lightning.Pub to Alby Hub, so previous Lightning.Pub files were still around. Seems like the install may have worked? I'll have to figure out how to get the nprofile to pop up again. I have the nprofile saved from the last time I was running Lightning.Pub but that isn't working as a source in Shockwallet. I get a "Cannot connect to source. error enrolling admin token. Nostr connection timeout" error in Shockwallet . Maybe wiping Lightning.Pub and starting from scratch with a fresh nprofile is the way to go. LND is also hanging around from the previous Shockwallet install. Wiping that and reinstalling might also help.
trying wget -qO- https://deploy.lightning.pub | bash give me an error in macOS. It's that normal?
$ wget -qO- https://deploy.lightning.pub | bash
dyld[84152]: Library not loaded: /usr/local/opt/libunistring/lib/libunistring.2.dylib
Referenced from: <EA607B2B-AD3B-3A0D-85F9-B4E54C36EC2F> /usr/local/Cellar/wget/1.21.1/bin/wget
Reason: tried: '/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/usr/local/opt/libunistring/lib/libunistring.2.dylib' (no such file), '/usr/local/lib/libunistring.2.dylib' (no such file), '/usr/lib/libunistring.2.dylib' (no such file, not in dyld cache), '/usr/local/Cellar/libunistring/1.3/lib/libunistring.2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/libunistring/1.3/lib/libunistring.2.dylib' (no such file), '/usr/local/Cellar/libunistring/1.3/lib/libunistring.2.dylib' (no such file), '/usr/local/lib/libunistring.2.dylib' (no such file), '/usr/lib/libunistring.2.dylib' (no such file, not in dyld cache)All smooth on Linux
Yea macos support not implemented yet, though I should probably make sure to give a better error...
Can you do this on mobile?
Which part? ShockWallet has apps for both mobile OS's and a PWA
Pub needs a Linux system
Pub.
Game changer. Well done SN team and special h/t to @ek for feedback throughout the implementation.
Will get a more detailed guide up in the next few days and maybe an "in 100 seconds" video once we merge a few more things, but here's a quick outline:
CLINK is a nostr based transport for invoices, a bit like LNURL, but end to end encrypted and key-identified so you don't need a web server of your own to use it trustlessly, works with any open relay. Also provides an much better alternative to the slow and unreliable onion-based messaging of Bolt12. The spend spec offers functionality like NWC or LNURL-Withdraw, but without prior account setup and secret sharing.
Lightning.Pub is the fastest and easiest node to set up BY FAR.
Paste one line into a terminal, and you've got a full nostr-based account system over LND.
wget -qO- https://deploy.lightning.pub | bashIn less than a minute, assuming a half decent internet connection, it'll look like this:
The
nprofile:stringin the output is what you'll paste into ShockWallet to connect (with administrative dashboard privileges) to the node over Nostr. No horsing around with a network config required and no flakey ecash gateway!ShockWallet is available on iOS Test Flight, an Android APK, or as a WebApp
Fire up and hit "add connection"
Hit "add" to insert your nodes
nprofile(and :adminkey).You should get a green toast and then see the node available as a spending and receiving source
Click the logo to go back to the main screen navigation, and click Linked Apps
At the bottom you'll see the debit string to provide to SN an endpoint.
Copy and pasta that bad larry into SN
For the receiving next step, go to wallet nav for Offer Codes, copy your default offer to paste into SN... this default offer is fine for all arbitrary payments (you can set up others with webhooks etc but that's out of scope here)
As soon as you go to Zap some content, ShockWallet will request authorization for the spend, you can also set up a rule for future requests
This rule gives SN a 1000 sat per month budget without requiring additional authorizations
If you've made it this far, you're now based and CLINK-pilled.