aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-01-16 14:57:14 -0800
committerAdam Soltys <[email protected]>2025-01-16 14:57:14 -0800
commitef71c296071be3081b3ac0d742283a261135ae6d (patch)
treead74616c3e32c306ad5c1ded6b1ecf4da85f0591 /index.ts
parent127806d1b703eb3d144e302f20268a7555f9b016 (diff)
downloadcoinos-server-ef71c296071be3081b3ac0d742283a261135ae6d.tar.gz
coinos-server-ef71c296071be3081b3ac0d742283a261135ae6d.zip
zap endpoints
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index e4212c0e..0c2010ed 100644
--- a/index.ts
+++ b/index.ts
@@ -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);