Connect from NostrFeed
Point the client at https://api.getzap.me/v1. Old users on ln.nostrfeed.com resolve by pubkey.
1. Discovery (once)
GET https://api.getzap.me/v1/connect GET https://api.getzap.me/v1/openapi.json
CORS allows https://www.nostrfeed.com and https://nostrfeed.com.
2. Resolve the signed-in key (old and new)
GET https://api.getzap.me/v1/identity?pubkey={hex or npub}
GET https://api.getzap.me/v1/identity/{name}
GET https://api.getzap.me/v1/identities
404 → open signup.getzap.me from discovery with a suggested name.
3. Show receive
- Lightning:
pack.lud16(same as NIP-05) - Bitcoin:
pack.bitcoin.address(do not invent abc1)
4. Publish
Sign setup.kind0, kind10002, kind10050, kind10063 and publish to wss://relay.nostrfeed.com. Kind 10002 includes the paid write relay. Set profile nip05 and lud16 to pack.nip05.
Paid write stays in the app. See Paid relay — client setup: POST JSON invoice, show bolt11, poll admission. Do not open the pay website.
5. Wallet connect
NWC pairing secret stays in LNbits / on the device. This API only returns the provider pubkey and relay.