ryanthegentry on Nostr: Gotcha so an example would be a new RPC `lncli publishevent`? Tbh I think it would be ...
Gotcha so an example would be a new RPC `lncli publishevent`?
Tbh I think it would be a cleaner separation to have an external nostr client use the `lncli signmessage`RPC. And maybe we could include that in the litd bundle? So users running the bundle could hit `litcli publishevent` which calls the nostr client which generates a message for lnd to sign… what would you think about that?
Published at
2023-01-12 13:24:24Event JSON
{
"id": "04c090bd53e44e168ed05bac07a791aeb91d46530ebbc9e25a1530b06b8af0ed",
"pubkey": "e75692ec71174e698df1f3d1f5771855bcc4e6e568489d2eaad489d81064ace6",
"created_at": 1673529864,
"kind": 1,
"tags": [
[
"e",
"a65a09e1a3e2a93b3b270057a7c49820f959a4f0e131c03b1c77d631596012a9",
"wss://nostr.fmt.wiz.biz"
],
[
"e",
"282df685b8ee4a5d770f4a4eb3df1c32e9febc2656d4275a0b233c528eb6a13c"
],
[
"p",
"d76726da1b64e8679d8b6e66facf551ba96f2612de5a171fac818ee85ce3e5fe"
],
[
"p",
"d76726da1b64e8679d8b6e66facf551ba96f2612de5a171fac818ee85ce3e5fe"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"d76726da1b64e8679d8b6e66facf551ba96f2612de5a171fac818ee85ce3e5fe"
],
[
"p",
"d76726da1b64e8679d8b6e66facf551ba96f2612de5a171fac818ee85ce3e5fe"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
]
],
"content": "Gotcha so an example would be a new RPC `lncli publishevent`?\n\nTbh I think it would be a cleaner separation to have an external nostr client use the `lncli signmessage`RPC. And maybe we could include that in the litd bundle? So users running the bundle could hit `litcli publishevent` which calls the nostr client which generates a message for lnd to sign… what would you think about that?",
"sig": "801aa1a500fe2900ff776c15478a4ab82a28cc7b40ac9150e970d910153977d83e0dfaf65150a64e8874e008726b561b8b17c4f2e791356501d77b8e6b6a4815"
}