From ef71c296071be3081b3ac0d742283a261135ae6d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 16 Jan 2025 14:57:14 -0800 Subject: zap endpoints --- index.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.ts') 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); -- cgit v1.2.3