tim on Nostr: Thanks, Mabbus! Tweaked the keys but still having trouble with the sig, which states ...
Thanks, Mabbus!
Tweaked the keys but still having trouble with the sig, which states the property is undefined. The getPublicKey() should return a hex which I’m using in the signEvent() function.
Published at
2023-05-02 18:07:58Event JSON
{
"id": "33bf3092c7bf62635cb2f2fd35c7eea499cb8850caea3bc70fe739cfc993b521",
"pubkey": "3f779beac7601cfd12b0d6e8aa467c0ee8677975badbd22ef095f8fd8ef20881",
"created_at": 1683050878,
"kind": 1,
"tags": [
[
"e",
"233194011bd99a2833f7f87aad37f37af9acbb04a96dd50e828bb7482d8ec535"
],
[
"e",
"2b7f2bccd9d250fd4aac29e41c4223ad53f0aea5fc9efe9c7e4409696aeaeef8"
],
[
"p",
"0e172ab9858740df98250cba2ffa129836c0cc943a9dae35d44fe9b3e7aca6ed"
]
],
"content": "Thanks, Mabbus!\n\nTweaked the keys but still having trouble with the sig, which states the property is undefined. The getPublicKey() should return a hex which I’m using in the signEvent() function.",
"sig": "18e0442dfe798fe325c191480b657317b79039941f28f3636010d588b59f0ad6cc0f728a4d7e79ffda8905bf6271eaa16f17d54bbafd3fae4427520e15e53129"
}