You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+53-15Lines changed: 53 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,21 +88,59 @@ Install Docker from their [official guide](https://docs.docker.com/engine/instal
88
88
89
89
### Accepting Payments
90
90
91
-
1.[ZEBEDEE](https://zebedee.io)
92
-
-[Sign up for a ZEBEDEE Developer Dashboard account](https://dashboard.zebedee.io/signup), create a new LIVE Project, and get that Project's API Key
93
-
- Set `ZEBEDEE_API_KEY` environment variable with the API Key above
94
-
- On `.nostr/settings.yaml` file make the following changes:
95
-
-`payments.enabled` to `true`
96
-
-`payments.processor` to `zebedee`
97
-
-`paymentsProcessors.zebedee.callbackBaseURL` to match your Nostream URL (e.g. `https://{YOUR_DOMAIN_HERE}/callbacks/zebedee`)
98
-
- Read the in-depth guide for more information: [Set Up a Paid Nostr Relay with ZEBEDEE API](https://docs.zebedee.io/docs/guides/nostr-relay)
99
-
100
-
2. Nodeless.io
101
-
- Sign up for a new account at https://nodeless.io and create a new store. Take note of the store ID.
102
-
- Create a store webhook and make sure to check all of the events. Grab the store webhook secret.
103
-
- Go to Profile > API Tokens and generate a new key and keep note of it.
104
-
- Set NODELESS_API_KEY and NODELESS_WEBHOOK_SECRET environment variables with generated key and webhook secret, respectively.
105
-
- On your .nostr/settings.yaml file, update the field `paymentsProcessors.nodeless.storeId1 with your store ID.
91
+
1. Before you begin
92
+
- Complete one of the Quick Start guides in this document
93
+
- Create a `.env` file
94
+
- On `.nostr/settings.yaml` file make the following changes:
95
+
- Set `payments.enabled` to `true`
96
+
- Set `payments.feeSchedules.admission.enabled` to `true`
97
+
- Set `limits.event.pubkey.minBalance` to the minimum balance in msats required to accept events (i.e. `1000000` to require a balance of `1000` sats)
98
+
- Choose one of the following payment processors: `zebedee`, `nodeless`, `lnbits`, `lnurl`
99
+
100
+
2.[ZEBEDEE](https://zebedee.io)
101
+
- Complete the step "Before you begin"
102
+
-[Sign up for a ZEBEDEE Developer Dashboard account](https://dashboard.zebedee.io/signup), create a new LIVE Project, and get that Project's API Key
103
+
- Set `ZEBEDEE_API_KEY` environment variable with the API Key above on your `.env` file
104
+
105
+
```
106
+
ZEBEDEE_API_KEY={YOUR_ZEBEDEE_API_KEY_HERE}
107
+
```
108
+
109
+
- Follow the required steps for all payments processors
110
+
- On `.nostr/settings.yaml` file make the following changes:
111
+
- `payments.processor` to `zebedee`
112
+
- `paymentsProcessors.zebedee.callbackBaseURL` to match your Nostream URL (e.g. `https://{YOUR_DOMAIN_HERE}/callbacks/zebedee`)
113
+
- Restart Nostream (`./scripts/stop` followed by `./scripts/start`)
114
+
- Read the in-depth guide for more information: [Set Up a Paid Nostr Relay with ZEBEDEE API](https://docs.zebedee.io/docs/guides/nostr-relay)
115
+
116
+
3. [Nodeless.io](https://nodeless.io)
117
+
- Complete the step "Before you begin"
118
+
- Sign up for a new account at https://nodeless.io, create a new store and take note of the store ID
119
+
- Go to Profile > API Tokens and generate a new key and take note of it
120
+
- Create a store webhook with your Nodeless callback URL (e.g. `https://{YOUR_DOMAIN_HERE}/callbacks/nodeless`) and make sure to enable all of the events. Grab the generated store webhook secret
121
+
- Set `NODELESS_API_KEY` and `NODELESS_WEBHOOK_SECRET` environment variables with generated API key and webhook secret, respectively
0 commit comments