pull down to refresh
210 sats \ 9 replies \ @elvismercury 22h \ on: SN resolves to go noncustodial on Jan. 3rd - FAQ & AMA
This will reveal that I am a dumbass, but I'm finally making the jump and attempting to set up a lightning node and hook it up to SN like a big boy. I know there are many LN guides about how to do this wrt specific node software (e.g., LND, phoenixd, Core Lightning, et al.) but is there something that explains stuff in a SN-specific way?
For instance, I'm confused why some of the attachment options are unidirectional; I'm confused about what exactly happens in the different use cases. A channel is being opened in this process, but how, and for how much?
I will unravel this eventually, I expect, but I'm guessing there are resources that could accelerate the process. I looked to see if @DarthCoin had anything specific to SN, but no dice. Pointers appreciated.
There’s a collection of community written guides: #816152
We don’t open channels for you yet.
The UX around attaching blows. As it’s the most nice-to-have thing, we’ve put it off the most.
Consensus right now is that if you’re self-custodial and don’t have a public IP, running Alby Hub on your node and using NWC is the best.
If you’re up for a game of whack a mole, https://coinos.io/ provides a really excellent custodial wallet (you’d use nwc for sending and their Lightning address for receiving).
reply
but is there something that explains stuff in a SN-specific way?
For instance, I'm confused why some of the attachment options are unidirectional
It's either because we haven't implemented the other direction yet or the wallet/protocol doesn't support the other direction. For example, lightning addresses can only be used to receive sats, they can't send sats.
I'm confused about what exactly happens in the different use cases
It shouldn't matter which wallet you attach, we handle them all the same in our code (fetch bolt11 invoice, pay bolt11 invoice). So which wallet you attach only depends on if you have this wallet/protocol/node available. Some require to run a node, some can be used with a custodial service etc.
Most attach a lightning address for receiving and/or use Coinos (custodial) or Alby Hub (free if self-hosted, else 21k sats per month in the cloud) with NWC for send+recv. Keep in mind you can attach multiple wallets for both directions, we will simply fallback to the next wallet if the first one didn't work.
A channel is being opened in this process, but how, and for how much?
Attaching a wallet doesn't open channels, it only gives us a way to communicate with your wallet.
reply
Thanks, this is super helpful. Can I ask a follow-up? Man, I hate being so dumb.
Attaching a wallet doesn't open channels, it only gives us a way to communicate with your wallet.
Then how do I transfer the sats I've earned on SN to the new wallet? SN will send the sats over some set of channels; is the assumption that my node will have opened enough channels with enough capacity on various routes to receive that amount of sats?
In other words, there's the basic connectivity of setting up the wallet and telling SN how to identify it; but all the connection, to allow sats to flow to and from it, is basically an exercise left to the reader?
reply
Can I ask a follow-up? Man, I hate being so dumb.
Of course, don't be shy :)
Then how do I transfer the sats I've earned on SN to the new wallet? SN will send the sats over some set of channels; is the assumption that my node will have opened enough channels with enough capacity on various routes to receive that amount of sats?
Yes, to send sats on lightning you need enough balance on your side of your channels (outbound liquidity) and to receive sats, you need enough balance on the other side of your channels (inbound liquidity). If you need to manage channels and how depends heavily on what wallet you're using.
If you really want to run your own node, I'd recommend phoenixd which manages liquidity for you for fees.
If you also want to manage your own channels, I'd recommend setting up LND and open a private channel to SN (= channel that isn't announced to the network so it isn't used to route payments of others). You can then send some sats back to yourself onchain via a service like boltz.exchange so you have inbound liquidity on that channel. You will then enjoy zero fees for send+recv on lightning to SN.
To connect that LND node to SN for zapping, you can run
nostr-wallet-connect-lnd
(NWC) or LNbits on top of that LND node.In other words, there's the basic connectivity of setting up the wallet and telling SN how to identify it; but all the connection, to allow sats to flow to and from it, is basically an exercise left to the reader?
Mhh, channel management could be part of our planned guides
reply
If you also want to manage your own channels, I'd recommend setting up LND and open a private channel to SN (= channel that isn't announced to the network so it isn't used to route payments of others).
This seems like a v interesting option -- I've already setup LND, and it would be cool to learn incrementally how to do channel / liquidity management. But how does one open a private channel to SN?
reply
You can install ThunderHub or RideTheLightning apps in your node and follow these steps ;) #823631
reply
Gracias! I assume that one could do the same thing with one of the lightning terminal tools, too?
reply
there is also https://rizful.com/ which also has a dedicated guide for SN
reply