mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-03-29 03:02:07 +01:00
formatting
This commit is contained in:
parent
7ae58de527
commit
92e3521fd0
8
26.md
8
26.md
@ -31,16 +31,16 @@ The **delegation token** should be a 64-byte Schnorr signature of the sha256 has
|
||||
nostr:delegation:<pubkey of publisher (delegatee)>:<conditions query string>
|
||||
```
|
||||
|
||||
##### Supported Conditions
|
||||
##### Conditions Query String
|
||||
|
||||
The following fields and operators are supported in the above query string:
|
||||
|
||||
**Fields**:
|
||||
###### Fields:
|
||||
1. `kind`
|
||||
- **Operators**:
|
||||
- ###### Operators:
|
||||
- `=${KIND_NUMBER}` - delegator may only sign events of this kind
|
||||
2. `created_at`
|
||||
- **Operators**:
|
||||
- ###### Operators:
|
||||
- `<${TIMESTAMP}` - delegator may only sign events created ***before*** the specified timestamp
|
||||
- `>${TIMESTAMP}` - delegator may only sign events created ***after*** the specified timestamp
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user