mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-03-25 17:21:52 +01:00
Merge ea1e645fe0085476ee128ffe642136e2d7336c92 into 0619f370bca3485bb9c5870bc2defa03c7c3d10e
This commit is contained in:
commit
4b172817f1
16
60.md
16
60.md
@ -40,6 +40,22 @@ Tags:
|
||||
* `mint` - Mint(s) this wallet uses -- there MUST be one or more mint tags.
|
||||
* `privkey` - Private key used to unlock P2PK ecash. MUST be stored encrypted in the `.content` field. **This is a different private key exclusively used for the wallet, not associated in any way to the user's Nostr private key** -- This is only used for receiving [NIP-61](61.md) nutzaps.
|
||||
|
||||
## Wallet Backup Events
|
||||
|
||||
A Wallet Backup Event SHOULD be created at the same time as a new Wallet Event so that future inadvertent overwrites of the `privkey` do not lead to loss of funds.
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"kind": 375,
|
||||
"content": nip44_encrypt([
|
||||
[ "privkey", "hexkey" ],
|
||||
[ "mint", "https://mint1" ],
|
||||
[ "mint", "https://mint2" ]
|
||||
]),
|
||||
"tags": []
|
||||
}
|
||||
```
|
||||
|
||||
## Token Event
|
||||
Token events are used to record unspent proofs.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user