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

wise-signer-snap

v0.0.8

Published

A snap that helps transcribe transactions to human-readable text.

Downloads

91

Readme

Wise Signer Snap

[!Note] This project is in early development and may change significantly. You should still do your own due diligence when using it.

Also, be careful of your settings if you have auto-explain on, or you could easily run up your bill!

A MetaMask Snap that uses Claude AI to explain blockchain transactions in plain English, helping users understand what they're signing before they sign it.

Features

  1. Built-in buttons to quickly send transaction/signature context to your AI of choice
  2. EIP-712 Hash calculation directly in MetaMask
  3. Auto-explain mode for seamless transaction analysis
  4. Buttons to bring your hex data to an ABI decoding site for further inspection

Watch the video here

Getting Started

Requirements

  • node
    • You'll know you've installed it right if you can run node --version and get a response like v20.0.0 or higher
  • yarn
    • You'll know you've installed it right if you can run yarn --version and get a response like 1.22.0
  • MetaMask Flask
    • Development version of MetaMask that supports Snaps
  • git
    • You'll know you've installed it right if you can run git --version and get a response like git version 2.33.0

Environment Variables

No environment variables are required! Users provide their own Claude API keys through the Snap's interface.

Setup

git clone https://github.com/your-username/wise-signer-snap
cd wise-signer-snap
yarn install
yarn start

This will:

  1. Install all dependencies
  2. Build the Snap
  3. Start a local server on http://localhost:8000

To install the Snap in MetaMask Flask:

  1. Open MetaMask Flask
  2. Navigate to http://localhost:8000 in your browser
  3. Click "Connect" when prompted to install the Snap

Debugging

  1. Go to chrome://extensions.
  2. Toggle Developer mode on in the top right corner.
  3. Find MetaMask Flask, and select Details.
  4. Under Inspect views, select offscreen.html.

Usage

Configuration

  1. Get a Claude API Key

  2. Configure the Snap:

    • Click on the Snap in MetaMask (Menu → Snaps → AI Transaction Explainer)
    • Paste your Claude API key and click "Save API Key"
    • Choose your preferred model:
      • Claude Opus 4.1: Most capable, best for complex transactions
      • Claude Opus 4: More balanced performance and speed
      • Claude Sonnet 4: Balanced performance and speed
      • Claude Sonnet 3.7: Fastest responses
    • Toggle "Auto-Explain" based on your preference

Transaction Analysis

When you encounter a transaction:

  • With Auto-Explain Enabled: The Snap automatically analyzes the transaction and shows an AI explanation
  • With Auto-Explain Disabled: Click "Ask AI inside metamask" to get an analysis
  • Without API Key: The Snap shows decoded transaction details and prompts you to add an API key

The AI will:

  • Identify the contract and method being called
  • Explain what the transaction will do
  • Highlight any risks or concerns
  • Search for information about addresses involved
  • Format the explanation with markdown for easy reading

License

MIT License - see LICENSE.* file for details

Acknowledgments