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

@t-0/usdt-pay-starter-ts

v0.1.5

Published

Scaffolds a USDt Pay integration in TypeScript

Readme

@t-0/usdt-pay-starter-ts

Creates a USDt Pay integration project in TypeScript, from the starter for the role you are integrating as.

npx @t-0/usdt-pay-starter-ts my-issuer issuer

What you get

./my-issuer — a standalone project, not a workspace member of anything:

my-issuer/
├── .env                 your generated PRIVATE_KEY, ready to use — keep it
├── .env.example         the template it was written from
├── .gitignore           excludes .env
├── package.json         named after your project, depending on @t-0/usdt-pay-sdk
├── README.md            the numbered path from "prints my public key" to "settled a real sale"
├── Dockerfile
├── tsconfig.json
├── tsconfig.test.json
├── src/                 the starter's handlers and outbound calls
└── test/

The command also generates your secp256k1 keypair, writes the private half into .env, and prints the public half. That public key is what t-0 registers you by — they cannot accept your calls until they have it. Send it to your t-0 onboarding contact; that exchange is where NETWORK_PUBLIC_KEY comes back to you.

.env holds the only copy of your private key. It is gitignored, and nothing prints it again. Do not overwrite it from .env.example.

Prerequisites

  • Node 22 or newer.
  • The t-0 network public key — an uncompressed secp256k1 key, 0x04… and 130 hex digits. It comes from your t-0 onboarding contact. The project reads it as NETWORK_PUBLIC_KEY and will not start without it.

After scaffolding

cd my-issuer
# add NETWORK_PUBLIC_KEY to .env — your t-0 onboarding contact gives you this
npm install && npm run build
npm start

It prints your public key and starts the callback server. Then work through the project's own README.md: it is a numbered path through each phase of the integration.

Roles

| Role | Ships in | Command | |---|---|---| | issuer | this package | npx @t-0/usdt-pay-starter-ts my-issuer issuer | | acquirer | usdt-pay-init.jar (Java) | java -jar usdt-pay-init.jar my-acquirer acquirer |

Run this package with no role and it lists what it carries.

Usage

Usage: usdt-pay-starter-ts [project-name] <role>

Options:
  -d, --directory <dir>  Where to create the project (defaults to the current directory)
      --no-color         Disable colored output
  -h, --help             Show this help
  -V, --version          Show the version

The role is required and comes last; there is no default. Omit the project name and you will be asked for it, so npx @t-0/usdt-pay-starter-ts issuer is enough to start interactively — a script or CI job has no terminal to answer the prompt and must pass the name.

Working inside the SDK repo instead

Before 1.0 the contract still moves, and cloning usdt-pay-sdk keeps you on the SDK as it changes: the starters there build against the node/ workspace rather than a published version. Scaffolding is the standalone route — a pinned SDK you upgrade deliberately. The repo README covers both.

The starters this package ships are generated from that repo at publish time, so what you scaffold is the code its CI builds and tests.

MIT — see LICENSE.