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

tonkey

v0.0.2

Published

CLI wallet for the TON blockchain: review balances and transfer TON / Jettons.

Downloads

273

Readme

tonkey

A CLI wallet for the TON blockchain. Review balances and transfer TON / Jettons from the terminal.

Install

$ npm install -g tonkey

Or run locally from source:

$ npm ci --ignore-scripts
$ npm run audit:deps
$ npm run build
$ ./dist/index.js --help

Commands

| Command | What it does | |---|---| | tonkey seed | Generate a fresh 24-word TON mnemonic. | | tonkey address | Show the bounceable / non-bounceable / raw forms of a wallet. | | tonkey config | Interactive config (network, RPC, wallet source, wallet version). | | tonkey balance [-t <jettonMaster>] | Native TON (and optional Jetton) balances across all loaded wallets. | | tonkey transfer -f <from> -t <to> [--token <jettonMaster>] [-a <amount>] | Send TON or a Jetton. |

Wallet versions

By default tonkey derives W5 (V5R1) addresses. To work with legacy V4R2 funds, run tonkey config and change walletVersion to v4, or pass --version v4 to commands that take a wallet selector.

The same private key derives a different address per contract version — EQ...(v5) and EQ...(v4) are two distinct on-chain accounts.

Wallet sources

  • env (default): per-wallet env vars.
    • WALLET_MNEMONIC_N — one 24-word TON mnemonic per wallet (recommended; addresses are importable into Tonkeeper / Wallet.tg).
    • WALLET_PKEY_N — raw 64-byte ed25519 secret in hex (advanced).
  • mnemonic: a single MNEMONIC env var, enumerated across subwallet_id values. Convenient for bulk operations. Subwallet addresses are NOT importable into stock TON wallet apps — keep them inside this CLI.

Network & RPC

Defaults to TonCenter mainnet (https://toncenter.com/api/v2/jsonRPC). Set TONCENTER_API_KEY for the 10 RPS tier (the unauthenticated tier is 1 RPS, which the CLI will throttle to).

Supply-chain safety

Every dependency is pinned to an exact version. npm run audit:deps walks package-lock.json and flags any tarball whose registry entry was modified in the May 2026 attack window (or matches a known-compromised name list).

Before any npm install after the initial scaffold:

$ npm ci --ignore-scripts
$ npm run audit:deps

Tipping

  • TON: (set after you have an address you want to publish)