mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
commit
a309c96205
2
46.md
2
46.md
|
@ -34,7 +34,7 @@ The signer scans the QR code and sends a `connect` message to the client in the
|
||||||
|
|
||||||
## Event payloads
|
## Event payloads
|
||||||
|
|
||||||
Event payloads are [NIP-04](04.md)-encrypted JSON blobs that look like JSONRPC messages (their format is specified inside the `.content` of the event formats nelow).
|
Event payloads are [NIP-04](04.md)-encrypted JSON blobs that look like JSONRPC messages (their format is specified inside the `.content` of the event formats below).
|
||||||
|
|
||||||
Events sent by the client to the remote signer have the following format:
|
Events sent by the client to the remote signer have the following format:
|
||||||
|
|
||||||
|
|
2
58.md
2
58.md
|
@ -28,7 +28,7 @@ The following tags MAY be present:
|
||||||
- A `name` tag with a short name for the badge.
|
- A `name` tag with a short name for the badge.
|
||||||
- `image` tag whose value is the URL of a high-resolution image representing the badge. The second value optionally specifies the dimensions of the image as `width`x`height` in pixels. Badge recommended dimensions is 1024x1024 pixels.
|
- `image` tag whose value is the URL of a high-resolution image representing the badge. The second value optionally specifies the dimensions of the image as `width`x`height` in pixels. Badge recommended dimensions is 1024x1024 pixels.
|
||||||
- A `description` tag whose value MAY contain a textual representation of the
|
- A `description` tag whose value MAY contain a textual representation of the
|
||||||
image, the meaning behind the badge, or the reason of it's issuance.
|
image, the meaning behind the badge, or the reason of its issuance.
|
||||||
- One or more `thumb` tags whose first value is an URL pointing to a thumbnail version of the image referenced in the `image` tag. The second value optionally specifies the dimensions of the thumbnail as `width`x`height` in pixels.
|
- One or more `thumb` tags whose first value is an URL pointing to a thumbnail version of the image referenced in the `image` tag. The second value optionally specifies the dimensions of the thumbnail as `width`x`height` in pixels.
|
||||||
|
|
||||||
### Badge Award event
|
### Badge Award event
|
||||||
|
|
Loading…
Reference in New Issue
Block a user