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

rokitpay

v1.3.83

Published

**RokitPay** is a modular Web3 payment solution enabling secure USDC payments on multiple EVM-compatible blockchains. It provides an easy-to-integrate modal that handles wallet connection, transaction processing, and responsive UX for merchants and users.

Readme

RokitPay Overview

RokitPay is a modular Web3 payment solution enabling secure USDC payments on multiple EVM-compatible blockchains. It provides an easy-to-integrate modal that handles wallet connection, transaction processing, and responsive UX for merchants and users.


Key Features

  • Multi-chain support: Works with major EVM-compatible networks such as Polygon, BSC, Ethereum, and Base.
  • Wallet integration: Users can connect their preferred Web3 wallets securely.
  • USDC payments: Focused on stablecoin payments for predictable transaction value.
  • Processing state management: Includes loading spinners and disables user interaction while transactions are being processed.
  • Responsive design: Scales dynamically to screen width for optimal mobile and desktop experience.
  • Customizable modal: Merchants can embed the payment modal with adjustable parameters (amount, chain, merchant ID).
  • Smooth UX: Animated modal transitions, dark overlays during processing, and clear step-by-step instructions for users.

Impact

  1. Frictionless Web3 payments
    RokitPay abstracts complex blockchain interactions, allowing users to pay with a single modal without dealing with raw transaction details.

  2. Increased merchant conversion
    Simplifies crypto payments and handles the UI/UX of wallet connection, reducing payment abandonment.

  3. Cross-chain compatibility
    Merchants can accept payments on multiple networks, broadening audience reach.

  4. Security & transparency
    Transactions are handled client-side through user wallets, reducing centralized exposure to funds.

  5. Developer-friendly
    Easy integration into React apps with minimal configuration: just pass merchant, amount, and chain.


Installation

npm install rokitpay


Integration Example
import React, { useState } from "react";
import { RokitPayModalEvm } from "rokitpay";

export default function App() {
  const [modalOpen, setModalOpen] = useState(false);

  return (
    <div>
      <button onClick={() => setModalOpen(true)}>Pay with RokitPay</button>

      <RokitPayModalEvm
        isOpen={modalOpen}
        onClose={() => setModalOpen(false)}
        merchant="0xMerchantWalletAddress"
        amount={50} // Amount in USDC
      />
    </div>
  );
}

Component Behavior

Open Modal Sets the modal visible and disables body scrolling.

Connect Wallet Users connect via EvmConnectButton.

Payment Step Users pay USDC via PaymentButton. Modal shows a spinner while processing.

Close Modal On transaction completion or cancellation, resets processing state and closes modal.

Supported Chains Chain Chain ID (Hex) Polygon USDC 0x89

Advantages

Funds stay in user wallets until payment confirmation — no need to trust a centralized service.

Modular and reusable across different projects or product pages.

Built-in accessibility and responsive design ensures good UX across devices.

Real-time visual feedback during payments improves trust and usability.

RokitPay bridges Web3 payment infrastructure and everyday merchant needs, enabling stablecoin adoption in a clean, developer-friendly React package.

RokitPay bridges Web3 payment infrastructure and everyday merchant needs, enabling stablecoin adoption in a clean, developer-friendly React package.