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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@skalenetwork/mpp

v0.1.4-main.0

Published

SKALE payment method for MPP (Machine Payment Protocol)

Readme

@skalenetwork/mpp

SKALE payment method for MPP (Machine Payments Protocol)

Enables private, gasless payments on SKALE Network using confidential tokens with BITE encryption and EIP-3009 gasless transfers.

Installation

npm install @skalenetwork/mpp
# or
pnpm add @skalenetwork/mpp
# or
yarn add @skalenetwork/mpp

Quick Start

import { mpp } from '@skalenetwork/mpp/client'

// Standard transfer on SKALE Base
const method = mpp.charge({
  chain: 'skale-base',
  currency: 'USDC.e'
})

// Gasless with EIP-3009
const gaslessMethod = mpp.charge({
  chain: 'skale-base',
  currency: 'USDC.e',
  extensions: { gasless: 'eip3009' }
})

// Encrypted (BITE Phase I)
const encryptedMethod = mpp.charge({
  chain: 'skale-base',
  currency: 'USDC.e',
  extensions: { skale: { encrypted: true } }
})

// Confidential token (BITE Phase II) + gasless
const confidentialMethod = mpp.charge({
  chain: 'bite-sandbox',
  currency: 'eUSDC',
  extensions: {
    skale: { encrypted: true, confidentialToken: true },
    gasless: 'eip3009'
  }
})

Supported Chains

| Chain | Network | Chain ID | |-------|---------|----------| | skale-base | SKALE Base Mainnet | 284351530983 | | skale-base-sepolia | SKALE Base Testnet | 2024883468 | | bite-sandbox | BITE Sandbox Testnet | 103698795 | | base | Base Mainnet | 8453 | | base-sepolia | Base Sepolia | 84532 |

Extensions

Gasless

Enable gasless payments via EIP-3009 or EIP-2612 permit:

extensions: { gasless: 'eip3009' }  // Default gasless mode
extensions: { gasless: 'eip2612' }  // ERC-2612 permit
extensions: { gasless: true }       // Auto-detect EIP-3009

BITE Encryption (Phase I)

Encrypt transfer amounts on-chain:

extensions: { skale: { encrypted: true } }

Confidential Tokens (Phase II)

Use native confidential tokens with BITE:

extensions: {
  skale: {
    encrypted: true,
    confidentialToken: true
  }
}

Payment Strategies

| Chain | Currency | Gasless | Encrypted | Confidential Token | Mode | |-------|----------|---------|-----------|-------------------|------| | skale-base | USDC.e | - | - | - | Standard transfer | | skale-base | USDC.e | EIP-3009 | - | - | Gasless permit | | skale-base | USDC.e | - | ✓ | - | Encrypted amount | | skale-base | USDC.e | EIP-3009 | ✓ | - | Gasless + encrypted | | bite-sandbox | eUSDC | - | - | ✓ | Confidential token | | bite-sandbox | eUSDC | EIP-3009 | - | ✓ | Confidential + gasless | | bite-sandbox | eUSDC | - | ✓ | ✓ | Confidential + encrypted | | bite-sandbox | eUSDC | EIP-3009 | ✓ | ✓ | Full privacy (all) |

Custom Chains

Use any viem Chain object:

import { mpp } from '@skalenetwork/mpp/client'
import { defineChain } from 'viem'

const myChain = defineChain({
  id: 123456,
  name: 'My Chain',
  nativeCurrency: { name: 'ETH', symbol: 'ETH', decimals: 18 },
  rpcUrls: {
    default: { http: ['https://mychain.rpc'] }
  }
})

const method = mpp.charge({
  chain: myChain,
  currency: {
    address: '0xTokenAddress...',
    symbol: 'TOKEN',
    decimals: 18,
    eip3009: true
  }
})

Server Usage

import { mpp } from '@skalenetwork/mpp/server'

const method = mpp.charge({
  chain: 'skale-base',
  currency: 'USDC.e',
  extensions: { gasless: 'eip3009' }
})

// In your MPPx server setup
const mppx = Mppx.create({
  methods: [method],
  realm: 'api.example.com',
  secretKey: process.env.MPP_SECRET
})

License

MIT