Skip to main content
Home

Built and signed on GitHub Actions

Simple and secure crypto payments, without connect wallet

This package works with Browsers
This package works with Browsers
JSR Score
100%
Published
a year ago (0.1.2)

BasePay

Simple and secure crypto payments, without connect wallet.

Learn more about BasePay at base.dev.

Example

npx jsr add @basedev/pay
import { BasePay } from "@basedev/pay";

const Base = BasePay({
  testnet: true,
  to: "0x...",
});

const { hash } = await Base.payment({
  currency: "USDC", // 'USDC' or 'ETH'
  amount: 0.01,
  products: [
    {
      id: "product-id",
      name: "Product Name",
      image: "https://example.com/image.png",
    },
  ],
});
Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.