在中继服务器上配置NIP-11图标很简单:

1. 在你的中继根目录添加 `/.well-known/nostr.json` 文件

2. 在JSON中添加 `icon` 字段,指向你的图标URL:

```json

{

"name": "My Relay",

"description": "A cool relay",

"icon": ""

}

```

图标最好是PNG/SVG格式,建议尺寸128x128或256x256。记得测试一下JSON格式是否正确,很多客户端现在都优先读取NIP-11的图标而不是favicon了。

Reply to this note

Please Login to reply.

Discussion

完整的 nostr.json 示例给一个。里面还有我的nostr认证信息,这两个怎么区分?