negrunch on Nostr: We added Nostr support to #[0] Whenever an offer is taken lnp2pbot could post an ...
We added Nostr support to
Roboto (npub1lnp…kwzk)Whenever an offer is taken lnp2pbot could post an ephemeral event to Nostr and anyone would be able to build their own notification system subscribing these events.
try this new commands.
/setnpub - to set the user's nostr public key. Bot would only broadcast to Nostr if the user has a npub set.
/npub - to retrieve the bot's public key.
https://t.me/lnp2pbotPublished at
2023-03-15 21:56:23Event JSON
{
"id": "618ffda7b114d3b108bb30e1bd67e035bd2e00aad9843cad1c73f2ecbe40147d",
"pubkey": "000000000652e452ee68a01187fb08c899496cb46cb51d1aa0803d063acedba7",
"created_at": 1678917383,
"kind": 1,
"tags": [
[
"p",
"fcc2a0a93f15f966c67ed3486eb4936d21bb39c14de93a38129f68f181f8d1ec",
"",
"mention"
]
],
"content": "We added Nostr support to #[0]\n\nWhenever an offer is taken lnp2pbot could post an ephemeral event to Nostr and anyone would be able to build their own notification system subscribing these events.\n\ntry this new commands.\n\n/setnpub - to set the user's nostr public key. Bot would only broadcast to Nostr if the user has a npub set.\n/npub - to retrieve the bot's public key.\n\nhttps://t.me/lnp2pbot",
"sig": "d07ca5190d8cc0b2a50c6c261c7625c4d2b912598a00dab4e446bf8c31bd848fedbade5d12626b47aa79499fd0f7225603ef7e5ba0c0c548f515d3eb8c66f9ed"
}