nevent 到底是由哪些 key生成的 ? return encode_bech32("nevent",{"id":event['id'],

'author':event['pubkey']}

)

不是这样的?

Reply to this note

Please Login to reply.

Discussion

const nevent = nip19.neventEncode({ id: eventOrId.id, author: eventOrId.pubkey })

id, relays, author, kind 除了 id 都是可选的

我弄完成了,在 jumble和yakihonne 都不认。我拿你们做好的解开再生成对比是对的。 不知道错在哪里,明天用nostr-tools试试。验证一下。

我是用 nostr-tools 生成的,也不太了解内部细节😂

嗯,我明天验证一下就知道了。