Add NIP-95 upload endpoint documentation to README
This commit is contained in:
parent
55a70866eb
commit
8f855fa61b
14
README.md
14
README.md
@ -28,6 +28,20 @@ npm run dev
|
||||
## Environment Variables
|
||||
|
||||
- `NEXT_PUBLIC_NOSTR_RELAY_URL`: Nostr relay URL (default: wss://relay.damus.io)
|
||||
- `NEXT_PUBLIC_NIP95_UPLOAD_URL`: NIP-95 media upload endpoint URL (required for image/video uploads)
|
||||
|
||||
### NIP-95 Upload Service
|
||||
|
||||
The application requires a NIP-95 compatible upload service for media uploads (images and videos). You can use services like:
|
||||
- [nostr.build](https://nostr.build/) - Public NIP-95 service
|
||||
- [void.cat](https://void.cat/) - Another public NIP-95 service
|
||||
- Or host your own NIP-95 compatible service
|
||||
|
||||
Example `.env.local`:
|
||||
```
|
||||
NEXT_PUBLIC_NOSTR_RELAY_URL=wss://relay.damus.io
|
||||
NEXT_PUBLIC_NIP95_UPLOAD_URL=https://nostr.build/api/v2/upload
|
||||
```
|
||||
|
||||
## Lightning Wallet Setup
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user