diff options
| author | Adam Soltys <[email protected]> | 2025-01-16 14:57:14 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-01-16 14:57:14 -0800 |
| commit | ef71c296071be3081b3ac0d742283a261135ae6d (patch) | |
| tree | ad74616c3e32c306ad5c1ded6b1ecf4da85f0591 /index.ts | |
| parent | 127806d1b703eb3d144e302f20268a7555f9b016 (diff) | |
| download | coinos-server-ef71c296071be3081b3ac0d742283a261135ae6d.tar.gz coinos-server-ef71c296071be3081b3ac0d742283a261135ae6d.zip | |
zap endpoints
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -55,6 +55,9 @@ app.get("/:pubkey/followers", nostr.followers); app.get("/:pubkey/follows", nostr.follows); app.get("/event/:id", nostr.event); app.post("/event", auth, nostr.publish); +app.get("/zaps/:id", nostr.zaps); +app.post("/zap", auth, nostr.zap); +app.post("/zapRequest", auth, nostr.zapRequest); app.get("/info", payments.info); app.post("/payments", auth, payments.create); |
