Danny on Nostr: The nostr protocol is incredibly simple (and that's a good thing), so making a bot ...
The nostr protocol is incredibly simple (and that's a good thing), so making a bot isn't that hard. For example a simple bot that greets anyone that writes !greeterBot is as follows: you read any kind 1 event and then submit your own kind 1 mentioning #e the previous event. Does that make sense?
Published at
2024-10-03 19:03:28Event JSON
{
"id": "1f526f395e1cfc61191b18c6db103b2c40c146badf6b72e363d4fce9a75e4bfd",
"pubkey": "66675158e6338fe89fda418e42a0bf2a7a2b132504dd347f015a18971b644430",
"created_at": 1727982208,
"kind": 1,
"tags": [
[
"e",
"2957af39c99fc435a4f8530ac471da123619d2e40682f6ed88a69960399eeb2b",
"",
"root"
],
[
"e",
"eaace57736dc3a74af823dcae3ede9c66a2ff5355a448221d43686ef8e56b540",
"",
"reply"
],
[
"p",
"e2ccf42180c56901bd03ddb7c26d37752b7aecc0a59a4fb2d59cefd44eb9291d"
],
[
"p",
"e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
],
[
"p",
"e621fab50e87fbf82259ae61e96520c9bf04ebc770eece1c142e62d9091ff586"
],
[
"t",
"e"
]
],
"content": "The nostr protocol is incredibly simple (and that's a good thing), so making a bot isn't that hard. For example a simple bot that greets anyone that writes !greeterBot is as follows: you read any kind 1 event and then submit your own kind 1 mentioning #e the previous event. Does that make sense? ",
"sig": "8be0e4a79b22e4201b3d234098a7b87735351ff6155ddffdafbbc04b984f033c6b091fa268a742241ae86d6ebd28a244182a9a761352ac29d22979ac7cbd734d"
}