diff --git a/83.md b/83.md index 7bfbba1..cace970 100644 --- a/83.md +++ b/83.md @@ -22,6 +22,10 @@ There are two simple clients sending json over [NIP04](https://github.com/nostr- 2. `service client`: Built into service/client that wants wallet functions. +### Permissions + +In `funding source client` nostr pubkeys used by `service client` are given and permissions granted (such as `read`/`create_invoice_only`/`pay_invoices`) + ### Creating an invoice `service client` sends `create_invoice` event: @@ -60,6 +64,8 @@ There are two simple clients sending json over [NIP04](https://github.com/nostr- } ``` +`funding source client` checks the pubkey has permission and attempts to pay the invoice. + ### Checking a payment in/out `service client` sends `check_payment` event: