Dustin Dannenhauer on Nostr: After I got some practice with nostr_sdk python bindings, I figured I'd attempt at ...
After I got some practice with nostr_sdk python bindings, I figured I'd attempt at writing a DVM from scratch.
Yuki Kishimoto (npub1drv…seet) has done an awesome job with that library, especially now that it's async it's fantastic to read. I do think we need better python documentation with examples for all the features. The examles are good, just not complete. I end up asking an LLM to translate the underlying rust code for me to figure out exactly how to use the functions that aren't in examples.
I'd still say you should make your own DVM implementation! Especially since there will be a wide variety of DVMs, and I expect there will become different libraries to support different DVM types
Published at
2024-08-26 16:20:04Event JSON
{
"id": "3c5d28671bfa0f33050e9fd53fb30a77bbbde6ea43158cdcdc52f34781fd85bf",
"pubkey": "da18e9860040f3bf493876fc16b1a912ae5a6f6fa8d5159c3de2b8233a0d9851",
"created_at": 1724689204,
"kind": 1,
"tags": [
[
"e",
"37b8b3fa7d3d2291c3f7563ce9f6ea3872bd9532af4cbf8f834657c4a79e9c37",
"wss://relay.wellorder.net/",
"root"
],
[
"e",
"e5523601dc83235e38afee85a7071cc46e4d2b73e3fb19f891f65c1f5c64d366",
"wss://relay.damus.io/",
"reply"
],
[
"p",
"be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e",
"",
"mention"
],
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272",
"",
"mention"
]
],
"content": "After I got some practice with nostr_sdk python bindings, I figured I'd attempt at writing a DVM from scratch. nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet has done an awesome job with that library, especially now that it's async it's fantastic to read. I do think we need better python documentation with examples for all the features. The examles are good, just not complete. I end up asking an LLM to translate the underlying rust code for me to figure out exactly how to use the functions that aren't in examples.\n\nI'd still say you should make your own DVM implementation! Especially since there will be a wide variety of DVMs, and I expect there will become different libraries to support different DVM types",
"sig": "56ca6a716c812cd516dc87569d9e0de9c65cfa5d03e9fd7c6ace81054be9898df329ec4ce0f566675feb5a1893c2c4caa42c7b0b0fbd17bd6f4c7f59d4ea9e29"
}