Skip to main content
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
82%
Published
a week ago (0.1.5)
function PodcastPaymentFromNostrEvent
PodcastPaymentFromNostrEvent(
event: NostrEvent,
options?: { relays?: string[]; },
): PodcastPayment | null

PodcastPayment - converts a kind 30090 nostr payment event to a podcast payment

Parameters

event: NostrEvent
optional
options: { relays?: string[]; }

Return Type

Add Package

deno add jsr:@fountain/podpay

Import symbol

import { PodcastPaymentFromNostrEvent } from "@fountain/podpay";

---- OR ----

Import directly with a jsr specifier

import { PodcastPaymentFromNostrEvent } from "jsr:@fountain/podpay";

Add Package

npx jsr add @fountain/podpay

Import symbol

import { PodcastPaymentFromNostrEvent } from "@fountain/podpay";

Add Package

yarn dlx jsr add @fountain/podpay

Import symbol

import { PodcastPaymentFromNostrEvent } from "@fountain/podpay";

Add Package

pnpm dlx jsr add @fountain/podpay

Import symbol

import { PodcastPaymentFromNostrEvent } from "@fountain/podpay";

Add Package

bunx jsr add @fountain/podpay

Import symbol

import { PodcastPaymentFromNostrEvent } from "@fountain/podpay";