Nostr基础介绍Nostr 是一个非常轻量级的开放协议,“有机会”(根据项目文档)作为一个去中心化的社交媒体平台。协议规范在 NIP(Nostr 改进提案)中定义,可在此处找到。 该协议的基础是一个 WebSocket 服务器(称为 nostr-relay),它处理和存储一个非常简单的数据结构,称为Event. 它看起来像下面这样:{ "id": <32-bytes sha256 of the the serialized event data> "pubkey": <32-bytes hex-encoded public key of the event creator>, "created_at": <unix timestamp in seconds>, "kind": <integer>, "tags": [ ["e", <32-bytes hex of the id of another event>, <recommended relay URL>], ["p", <32-bytes hex of...