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

walletdna-sdk

v1.0.1

Published

Official WalletDNA SDK — wallet screening (allow / review / block), batch screening, and signed webhook verification.

Readme

walletdna-sdk

Official JavaScript / TypeScript SDK for the WalletDNA API — screen any wallet for sanctions and high‑risk exposure, get a clear allow / review / block decision, and verify signed webhooks.

API access requires an Advanced or Enterprise plan. Create an API key at https://walletdna.com/developer.

Install

npm install walletdna-sdk

Requires Node 18+ (uses the built‑in fetch and node:crypto).

Screen a wallet

import { WalletDNA } from "walletdna-sdk";

const wdna = new WalletDNA(process.env.WALLETDNA_API_KEY);

const verdict = await wdna.screen("0x722122dF12D4e14e13Ac3b6895a86e84145b6967");
console.log(verdict.decision); // "allow" | "review" | "block"

if (verdict.decision === "block") {
  // reject the deposit / withdrawal
}

Custom thresholds & auto‑monitoring

const verdict = await wdna.screen(address, {
  thresholds: { review: 40, block: 75 }, // map riskScore → decision (sanctioned always blocks)
  monitor: true,                          // also watch this wallet and webhook me on changes
});

Batch (up to 25 addresses)

const { results, count } = await wdna.screenBatch([addrA, addrB, addrC]);
const blocked = results.filter((r) => r.decision === "block");

Webhooks

Register an endpoint (the signing secret is returned once — store it):

const { id, secret } = await wdna.createWebhook("https://api.acme.com/walletdna", [
  "wallet.risk_changed",
  "wallet.sanctioned",
]);

Verify incoming events with the raw request body and the WalletDNA-Signature header:

import { verifyWebhook } from "walletdna-sdk";

app.post("/walletdna", express.raw({ type: "application/json" }), (req, res) => {
  const ok = verifyWebhook(req.body.toString("utf8"), req.get("WalletDNA-Signature"), process.env.WDNA_WEBHOOK_SECRET);
  if (!ok) return res.sendStatus(400);

  const event = JSON.parse(req.body.toString("utf8"));
  // event.type, event.data (a screening verdict + previousScore/label/reportUrl)
  res.sendStatus(200);
});

Errors

Failed requests throw WalletDNAError with .status, .code, and .body. A 429 means you've hit your monthly API limit — add credits in the dashboard.

Reference

Full OpenAPI spec: https://walletdna.com/api/openapi · Docs: https://walletdna.com/docs/api