NIP42
客户端到中继的身份验证
动机
定义
["AUTH", <challenge-string>]["AUTH", <signed-event-json>]{
"id": "...",
"pubkey": "...",
"created_at": 1669695536,
"kind": 22242,
"tags": [
["relay", "wss://relay.example.com/"],
["challenge", "challengestringhere"]
],
"content": "",
"sig": "..."
}协议流
签名事件验证
Last updated