jb55 on Nostr: you can use nostril creating an event will generate a random key if you don’t ...
you can use nostril
https://github.com/jb55/nostrilcreating an event will generate a random key if you don’t specify one. nak probably has something like this as well.
nostril uses libsecp256k1 directly, nothing fancy.
Published at
2025-04-01 20:34:32Event JSON
{
"id": "c65dc62520e1d25e14301de65b88dcfe21b612b30bdbfd91897c802eb99257f3",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1743539672,
"kind": 1,
"tags": [
[
"e",
"2cb1d037fa3596d1f0ce9b6c0c3dd762ac88643bb970b95a3a0b835ac6c340e4",
"",
"root"
],
[
"p",
"cb367c07e03bc072c6ae12b205e9dad42960d54ea0cb4bdf06fd05df08be87ea"
],
[
"r",
"https://github.com/jb55/nostril"
]
],
"content": "you can use nostril https://github.com/jb55/nostril\n\ncreating an event will generate a random key if you don’t specify one. nak probably has something like this as well.\n\nnostril uses libsecp256k1 directly, nothing fancy.",
"sig": "1cbb6aef51550f4649c359dc89d749716d8bee75c478a013866eacf64121a0025dba9b6a912cb2f7833b68014b1502f7cb5b10d02ee07e7c1dbd05e19aaed180"
}