mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 08:55:52 -05:00
feat: Refactor kind:902 structure for contracts
- Updated the tags section to include an optional "on_behalf_of" field for Power Of Attorney. - Modified the content field to represent the Name/Title for the Contract.
This commit is contained in:
parent
ae2708a4f5
commit
0151f1f988
7
79.md
7
79.md
|
@ -88,14 +88,13 @@ The role of witnesses is to provide an additional layer of verification for the
|
||||||
{
|
{
|
||||||
"kind": 902,
|
"kind": 902,
|
||||||
"tags": [
|
"tags": [
|
||||||
[ "e", "<Contract's (kind:900) Event ID>" ],
|
[ "e", "<Contract's (kind:900) Event ID>" ]
|
||||||
[ "e", "<Signature (kind:901) Event ID>" ]
|
[ "on_behalf_of", "<Name/Title for the Contract>" ] // optional for Power Of Attorney
|
||||||
],
|
],
|
||||||
"pubkey": "[Party's Public Key]",
|
"pubkey": "[Party's Public Key]",
|
||||||
"created_at": [Creation Timestamp],
|
"created_at": [Creation Timestamp],
|
||||||
"content": "",
|
"content": "<Name/Title for the Contract>",
|
||||||
"id": "[Event ID]",
|
"id": "[Event ID]",
|
||||||
"ots": "<base64-encoded OTS file data>"
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user