This layer L3 is a giant hot wallet that has transactions not on lightning. I'm not sure exactly how it works but for me to cold storage these SATs earned I need to go threw steps.
  1. Send to my LN wallet
  2. Close channel to settle
  3. Send from LN hot wallet to Cold on chain.
If we build a marketplace on LN we will swap back and forth and eventually settle. The swap back and forth on lightning is possible but it can break very easy with liquidity, channels available and lots of other fun.
I'm not sure exactly how it works
It's just a SQL database keeping track of user balances. But this might change soon when we integrate bitcoin-connect.
reply
Thank you for sharing this. Under the hood is interesting.
reply