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

@nodpay/core

v0.1.3

Published

NodPay protocol core — verifiable Safe + ERC-4337 primitives

Readme

@nodpay/core

The crypto. Nothing else.

Identity-agnostic protocol primitives for NodPay — verifiable Safe + ERC-4337 operations.

This package deals with owners, signers, and cryptography — not agent/human/recovery roles. Role assignment is the application layer's job (nodpay CLI and web app).

What's Inside

| Module | What it does | |--------|-------------| | constants | Contract addresses, EIP-712 type hashes, ABIs | | hash | Derive safeOpHash (EIP-712) and userOpHash (ERC-4337) from a UserOperation | | decode | Extract real to/value/data from UserOperation calldata | | verify | Recover signers from ECDSA signatures, verify P-256 passkey assertions, recover reject signers | | networks | Chain configs (RPC, explorer, currency) for all supported networks |

Install

npm install @nodpay/core

Usage

import {
  computeSafeOpHash,
  computeUserOpHash,
  decodeCallData,
  recoverEcdsaSigner,
} from '@nodpay/core';

// Decode what a UserOperation actually does
const tx = decodeCallData(userOp.callData);
console.log(`Sending ${tx.value} wei to ${tx.to}`);

// Verify the hash matches the UserOperation
const hash = computeSafeOpHash(userOp, chainId);

// Recover who signed it
const signer = recoverEcdsaSigner(hash, signature);
console.log(`Signed by: ${signer}`);

Zero Trust Verification Chain

Every step in a NodPay operation is independently verifiable:

  1. What am I signing?decodeCallData() extracts the real transaction from raw bytecode
  2. Is the hash correct?computeSafeOpHash() re-derives the hash from first principles
  3. Who signed it?recoverEcdsaSigner() recovers the signer address
  4. Did it execute?computeUserOpHash() matches the bundler's receipt

If any check fails, something is wrong. The code is small enough to audit in one sitting.

Contract Stack

| Component | Address | Purpose | |-----------|---------|---------| | EntryPoint v0.6 | 0x5FF1...2789 | ERC-4337 UserOperation executor | | Safe v1.4.1 | 0x29fc...c762 | Multisig logic (singleton) | | SafeProxyFactory | 0x4e1D...ec67 | Deploys Safe proxies (CREATE2) | | Safe 4337 Module | 0xa581...0037 | Connects Safe to EntryPoint | | SharedSigner | 0x94a4...55c2 | Routes passkey verification | | FCLP256Verifier | 0x445a...e765 | On-chain P-256 signature check |

All addresses are deterministic — same on every EVM chain.

Related

| Package | Description | |---------|-------------| | nodpay | Agent CLI — keygen, propose, txs | | nodpay.ai | Web app — wallet creation & approval |

License

MIT