npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

abstractpay

v0.1.9

Published

The chain-abstracted payment SDK for seamless stablecoin transactions across blockchains

Readme

AbstractPay

The chain-abstracted payment SDK for seamless stablecoin transactions across blockchains.

AbstractPay is a powerful, Convenient, and secure SDK designed to make cross-chain payments simple and fast. With AbstractPay, developers can enable users to spend and accept fragmented stablecoins from any chain to any chain in seconds.

Features

  • Fast: Payments complete in seconds.
  • Convenient: Let your users pay with any stablecoin, from any chain.
  • Simple: Pay in a single step.
  • Secure: No extra counterparties—AbstractPay never holds user funds.

Use Cases

  1. For Developers:
    Onboard users from any chain and allow them to always pay using fragmented stablecoins.
  2. For DApps:
    Accept payments from any chain and provide users with the simplicity of always paying in stablecoins.

Installation

Install AbstractPay using npm:

npm install abstractpay

Usage

Initialize the SDK

For API key access, reach out to us directly via direct message or email.

import { AbstractPay } from 'abstractpay';

const sdk = new AbstractPay({
  apiKey: '<your-api-key>',
  baseUrl: '<api-base-url>',
  testnet: boolean // optional, default: false
});

// Set the owner's wallet for signing transactions
sdk.setOwnerWallet(wallet);

One click payment

const paymentParams = {
  receiverAddress: '<recipient-address>',
  amount: '2.2', // amount in dollars
  destinationChain: 421614, // Arbitrum sepolia
  destinationToken: '0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d', // USDC
  orderType: 'p2p',
  senderAddress: '<sender-address>',
};

const order = await sdk.pay(paymentParams);
console.log('Order Created:', order);

Other Example Workflow

  1. User Initiates Payment: The DApp calls initialisePayment to create a payment order.
  2. User Signs the Order: The SDK handles signing of the order hash.
  3. Payment Submission: The signed payment is submitted to AbstractPay's backend for processing.

License

AbstractPay is licensed under the MIT License. See LICENSE for details.


Feedback & Contributions

We welcome contributions to improve AbstractPay! Feel free to open issues, suggest features, or submit pull requests.

For any questions or feedback, contact us at [email protected].