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

@zkproofport/sdk

v0.3.1

Published

Privacy-preserving proof SDK for zkProofport

Readme

ZKProofport SDK

Privacy-preserving proof SDK for verifying on-chain facts and identity without exposing wallet addresses. Supports both EVM chains (Base) and Solana.

Features

  • Complete Privacy: User's wallet address is never exposed to the dApp
  • Multi-Chain: Supports Base (EVM) and Solana verification
  • Browser-Based: Works in any web environment, no installation required
  • Simple Integration: Abstracts away complex ZK logic
  • Extensible: Request different proofs by changing circuitId

Installation

npm install @zkproofport/sdk
# or
yarn add @zkproofport/sdk

Quick Start

Base (EVM) Verification

import { openProofPortal, verifyProof } from "@zkproofport/sdk";
import { JsonRpcProvider } from "ethers";

const provider = new JsonRpcProvider("https://mainnet.base.org");

async function verifyUser() {
  // 1. Open portal and get proof
  const proofData = await openProofPortal({
    circuitId: "coinbase_kyc"
  });

  // 2. Verify the proof
  const result = await verifyProof({
    ...proofData,
    mode: "onchain",  // or "offchain"
    provider,
  });

  if (result.success) {
    console.log("User verified!");
  }
}

Solana Verification

import { openProofPortal, verifySolanaProofSimulate } from "@zkproofport/sdk";

async function verifySolanaUser() {
  // 1. Open portal and get proof (Solana circuit)
  const proofData = await openProofPortal({
    circuitId: "coinbase_kyc_solana"
  });

  // 2. Verify on Solana Devnet
  const result = await verifySolanaProofSimulate({
    proof: proofData.proof,
    publicWitness: proofData.publicInputs,
    verifierProgramId: "Fo4Th6bRHvMv2jcaA6awkRkPde6jkVG8w7QW1yFeM4jF",
    rpcUrl: "https://api.devnet.solana.com",
  });

  if (result.success) {
    console.log("Verified on Solana!", result.explorerUrl);
  }
}

API Reference

openProofPortal(options)

Opens the ZKProofport portal modal for proof generation.

| Parameter | Type | Description | |-----------|------|-------------| | circuitId | string | Circuit ID ("coinbase_kyc" or "coinbase_kyc_solana") |

Returns: Promise<{ proof, publicInputs, meta }>

verifyProof(options) - EVM

Verifies proof on EVM chains (Base).

| Parameter | Type | Description | |-----------|------|-------------| | proof | string | The ZK proof | | publicInputs | any | Public inputs | | meta | object | Metadata from portal | | mode | "offchain" \| "onchain" | Verification mode | | provider | JsonRpcProvider | Required for onchain mode |

verifySolanaProofSimulate(options) - Solana

Verifies proof on Solana.

| Parameter | Type | Description | |-----------|------|-------------| | proof | string | The ZK proof (hex) | | publicWitness | string | Public witness (hex) | | verifierProgramId | string | Solana program ID | | rpcUrl | string | Solana RPC URL |

Returns: { success, signature?, explorerUrl?, error? }

Supported Circuits

| Circuit ID | Chain | Description | |------------|-------|-------------| | coinbase_kyc | Base | Coinbase Identity Verification (EAS attestation) | | coinbase_kyc_solana | Solana | Same attestation, Groth16 proof for Solana |

Verifier Contracts

How It Works

  1. dApp calls openProofPortal() with a circuitId
  2. SDK opens the Portal in an iFrame
  3. User connects wallet and generates proof
  4. Portal returns proof data to dApp
  5. dApp verifies proof (offchain or onchain)

Roadmap

  • [ ] Additional circuits (World ID, POAPs, NFT ownership)
  • [ ] Solana Mainnet support
  • [ ] Client-side Solana proving

License

MIT