normalize unit to what mints use

This commit is contained in:
Pablo Fernandez
2024-07-17 12:00:00 +01:00
parent 90707d555b
commit 8ae9b9b744
2 changed files with 13 additions and 11 deletions

6
60.md
View File

@@ -22,8 +22,8 @@ This NIP doesn't deal with users' *receiving* money from someone else, it's just
{
"kind": 37375,
"content": nip44_encrypt([
[ "balance", "100", "sats" ],
[ "privkey", "hexkey" ] // explained in Appendix 2
[ "balance", "100", "sat" ],
[ "privkey", "hexkey" ] // explained in NIP-61
]),
"tags": [
[ "d", "my-wallet" ],
@@ -31,7 +31,7 @@ This NIP doesn't deal with users' *receiving* money from someone else, it's just
[ "mint", "https://mint2" ],
[ "mint", "https://mint3" ],
[ "name", "my shitposting wallet" ],
[ "unit", "sats" ],
[ "unit", "sat" ],
[ "description", "a wallet for my day-to-day shitposting" ],
[ "relay", "wss://relay1" ],
[ "relay", "wss://relay2" ],