What is Nostr?
PolyD_
npub1775…9jcw
2024-02-07 19:01:56
in reply to nevent1q…zpsw

PolyD_ on Nostr: So depending on what type of Template you're doing, you may to do something to ...

So depending on what type of Template you're doing, you may to do something to mitigate someone stealing your funds, think Ark and its ALTC's. For Timeout-Trees, the casual user just always withholds their signature. For stuff like lightning channels, or for CTV, the cold channel model, the optimistic path is the keypath spend between A/B and the pessimistic paths have CSV to mitigate stealing. In the more basic templates, this type of security isn't really necessary especially if you're the sole recipient. If you have a basic batched payment pool, what you can do is make alternative paths for if A/B/C want to individually withdraw their UTXO while the other parties are split off into their own shared utxo

Does this diagram for Cold Channels help?

The Cold Channel construct is a receive address, with spend paths that make it usable as a lightning channel with a chosen counterparty.
When you reveal these paths to them, it’s instantly ready to use - WITHOUT another on-chain transaction. You can now send the funds over LN.

Author Public Key
npub1775tuvua6h9mkmlqm3ragxpv3z3eegahhshydj36u2xq72vve9lsq29jcw