matt on Nostr: At least directly with lightning, it’s not immediately obvious how you could reveal ...
At least directly with lightning, it’s not immediately obvious how you could reveal a key that only allowed you to spend up to some limit. The normal setup in lightning is your key can sign for the whole 2-of-2 channel balance. With pre-setup you could have some extra output on the commitment transaction and a new sub-channel that you could give the recipient control over, but you’d need to have that set up in advance for the exact amount you want to send (and it’d be a fairly complicated protocol extension for everyone to support). Probably just use ecash for the initial minute and then pay with lightning for further minutes after you’re online.
Published at
2024-10-21 12:01:52Event JSON
{
"id": "bbe49b32af5c7ce5b87bb10bbcb865a0f5b7291844a8a80628052d49d0450ce4",
"pubkey": "3d2e51508699f98f0f2bdbe7a45b673c687fe6420f466dc296d90b908d51d594",
"created_at": 1729512112,
"kind": 1,
"tags": [
[
"e",
"fc1f1fbac044339da988c76c42f572369868bbe778a5a57ff6c52a8b269f05e8",
"",
"root"
],
[
"e",
"0d37a8cdc047bdebeaf8f6f28175edfb1692bed75246ddbcbc194a7ff126afa2",
"",
"reply"
],
[
"p",
"6681268ace4748d41a4cfcc1e64006fb935bbc359782b3d9611f64d51c6752d9"
],
[
"p",
"675b84fe75e216ab947c7438ee519ca7775376ddf05dadfba6278bd012e1d728"
],
[
"p",
"58c741aa630c2da35a56a77c1d05381908bd10504fdd2d8b43f725efa6d23196"
]
],
"content": "At least directly with lightning, it’s not immediately obvious how you could reveal a key that only allowed you to spend up to some limit. The normal setup in lightning is your key can sign for the whole 2-of-2 channel balance. With pre-setup you could have some extra output on the commitment transaction and a new sub-channel that you could give the recipient control over, but you’d need to have that set up in advance for the exact amount you want to send (and it’d be a fairly complicated protocol extension for everyone to support). Probably just use ecash for the initial minute and then pay with lightning for further minutes after you’re online.",
"sig": "6414862ead8899527b5b81c27c2daca7ff19d8c1f24313537240360a446b3d0162fc95db80f35043a2463a2dc83adb34bfbb1b32c7999c809086d5b82825d0f8"
}