pull down to refresh
0 sats \ 3 replies \ @supratic OP 22 Sep \ parent \ on: Install, Run, Publish & Connect πππππππ‘π to SEND/RECEIVE sats to/from SN meta
Yes, but why connect to SN via NWC via AH when you can connect to SN directly the phoenixd instance? I agree the NWC is useful for other apps too... or is Alby Hub resolving the port forwarding too?
because you can't connect SN directly to phoenixd without running a web server to expose it publicly. Connecting it via ngrok isn't a direct connection, it relies on a middleman (ngrok) who you need an account with, who may change their terms of service, cut you off, or go bankrupt. And if that happens, there aren't many ngrok replacements to jump to. Doing it via NWC (included in Alby Hub) still involves a middleman (the nostr relay), but you don't need an account with them and there are so many of them, they are easy to replace whenever necessary.
or is Alby Hub resolving the port forwarding too?
Yes, NWC (nostr wallet connect) resolves the need to do port forwarding and it is included in Alby Hub
reply
there aren't many ngrok replacements to jump to.
Anyway, make sense and I agree about ngrok playing as middleman, but we are talking about different things here.
There's no doubt NWC is much easier, but is another type of attached wallet that isn't nearly connected with phoenixd. I'll talk about NCW and AlbyHub in another tutorial.
The issue ngrok solve is the port forwarding and providing a publicly accessible url for a Lightning node installed locally. There are probably few options to do it without third parties involved. But for newbies that just want to connect phoenixd to SN, I'll probably skip that technical mess and reach the goal.