This commit is contained in:
Ben 2023-06-29 11:57:14 +01:00
parent 72d686ff3a
commit 6c273e42bf

6
88.md
View File

@ -90,7 +90,7 @@ Relay responds with payment request, which user pays:
```json{ ```json{
{ {
"request": <string payment-request bolt11 bolt12 onchain stripe paypal shitcoin etc>, "request": <string payment request, bolt11 bolt12 onchain stripe paypal shitcoin etc>,
} }
``` ```
@ -100,7 +100,7 @@ Once paid the mint generates derived keypair from the mints private key, storing
{ {
"key": <integer derived keypair number>, "key": <integer derived keypair number>,
"amount": <integer BTC millisat denomination>, "amount": <integer BTC millisat denomination>,
"user": <string, public-key of user> "user": <string public-key of user>
} }
``` ```
@ -119,7 +119,7 @@ User client stores:
{ {
"key": <string derived private key/ecash>, "key": <string derived private key/ecash>,
"amount": <integer BTC millisat denomination>, "amount": <integer BTC millisat denomination>,
"relay": <string, relay ws address>, "relay": <string relay ws address>,
"relaykey": <string public-key of relay>, "relaykey": <string public-key of relay>,
"timestamp": <integer timestamp, "timestamp": <integer timestamp,
} }