Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
basedevelopers/monorepoSimple and secure crypto payments, without connect wallet
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