orangeKid on Nostr: Ahh I see. For that you would have to give the keypair to the user of the other node ...
Ahh I see. For that you would have to give the keypair to the user of the other node If you want to make it without onchain transactions. This would mean two people have access to the keys. It would also mean a change of the contract with the other end of the channel so maybe consensus should be needed.
It should be possible to do it with only one onchain transaction instead of two though.
One end of the channel could pay for a special mainchain transaction and the other end can decide within the htlc-time if he wants to accept the change or close the channel.
Published at
2023-04-21 03:53:38Event JSON
{
"id": "0ea64b4db530e0c2b253f084fca012fc15a29377a5a12b0217f1549af5e16cbb",
"pubkey": "9bbe185a20f50607b6e021c68a2c7275649770d3f8277c120d2b801a2b9a64fc",
"created_at": 1682049218,
"kind": 1,
"tags": [
[
"e",
"78d3efac612005000072ca86fd70e68faf3306541d8d9f6ec68f33a20d564b65"
],
[
"e",
"700cff6857ef76e486e4e3b901c9cb5a7d44a77b285fad5b7d388d54a4a13a03"
],
[
"e",
"32edc2e8aaa6ff21e7939d81e50e231c92cc646d3d84ddaf1783fbd5187c49d6"
],
[
"p",
"e17273fbad387f52e0c8102dcfc8d8310e56afb8f4ac4e7653e58c8d5f8abf12"
],
[
"p",
"9bbe185a20f50607b6e021c68a2c7275649770d3f8277c120d2b801a2b9a64fc"
]
],
"content": "Ahh I see. For that you would have to give the keypair to the user of the other node If you want to make it without onchain transactions. This would mean two people have access to the keys. It would also mean a change of the contract with the other end of the channel so maybe consensus should be needed.\n\nIt should be possible to do it with only one onchain transaction instead of two though.\nOne end of the channel could pay for a special mainchain transaction and the other end can decide within the htlc-time if he wants to accept the change or close the channel. ",
"sig": "eb642642a8688c8c8f627f3fc69c0d1c606612c737701b057457af99e669bbd0bc230a4b0969eeb958b0d5558e79f8681c8e2b62814dc252c4817842b57ab297"
}