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

@tetherto/create-wdk-module

v1.0.0-beta.1

Published

Create WDK modules with a single command

Downloads

85

Readme

create-wdk-module

Create WDK (Wallet Development Kit) modules with a single command.

https://github.com/user-attachments/assets/e342eeef-1e45-4ac0-bd16-bb5cdd63d501

Quick Start

npx create-wdk-module@latest

Or with specific options:

# Create a wallet module
npx create-wdk-module@latest wallet stellar

# Create a swap protocol module
npx create-wdk-module@latest swap jupiter solana

# Create with npm scope
npx create-wdk-module@latest wallet stellar --scope @myorg

Module Types

| Type | Description | Example | |------|-------------|---------| | wallet | Blockchain wallet integration | wdk-wallet-stellar | | swap | DEX/token swap protocol | wdk-protocol-swap-jupiter-solana | | bridge | Cross-chain bridge protocol | wdk-protocol-bridge-wormhole-evm | | lending | DeFi lending protocol | wdk-protocol-lending-compound-evm | | fiat | Fiat on/off-ramp provider | wdk-protocol-fiat-moonpay |

CLI Options

| Option | Alias | Description | Default | |--------|-------|-------------|---------| | [type] | | Module type | (prompt) | | [name] | | Module/protocol name | (prompt) | | [blockchain] | | Target blockchain | (prompt) | | --scope <scope> | -s | npm scope (e.g., @myorg) | none | | --git | | Initialize git repository | true | | --no-git | | Skip git initialization | | | --yes | -y | Skip prompts, use defaults | false | | --version | -v | Show version | | | --help | -h | Show help | |

Interactive Mode

When run without arguments, the CLI guides you through the setup:

$ npx create-wdk-module@latest

  Create WDK Module

? What type of module do you want to create?
  > Wallet Module (blockchain wallet integration)
    Swap Module (DEX/token swap integration)
    Bridge Module (cross-chain bridging)
    Lending Module (DeFi lending protocol)
    Fiat Module (fiat on/off-ramp)

? What is the blockchain name? (e.g., "stellar", "solana")
  > stellar

? npm scope (leave empty for none, e.g., @myorg):
  >

? Initialize git repository?
  > Yes

Creating wdk-wallet-stellar...

✓ Template files copied
✓ Initialized git repository

Success! Created wdk-wallet-stellar at ./wdk-wallet-stellar

Next steps:
  cd wdk-wallet-stellar
  npm install
  npm test

Documentation: https://docs.wallet.tether.io/sdk/wallet-modules

Generated Project Structure

Wallet Module

wdk-wallet-stellar/
├── .github/
│   └── workflows/
│       └── build.yml
│       └── publish.yml
│   └── ISSUE_TEMPLATE/
│       └── general.md
│   └── PULL_REQUEST_TEMPLATE.md
├── src/
│   ├── wallet-manager-stellar.js
│   ├── wallet-account-stellar.js
│   └── wallet-account-read-only-stellar.js
├── tests/
│   └── wallet-manager-stellar.test.js
│   └── wallet-account-stellar.test.js
│   └── wallet-account-read-only-stellar.test.js
├── types/
│   └── index.d.ts
│   └── src/
│       └── wallet-manager-stellar.d.ts
│       └── wallet-account-stellar.d.ts
│       └── wallet-account-read-only-stellar.d.ts
├── .editorconfig
├── .gitignore
├── .npmignore
├── bare.js
├── index.js
├── LICENSE
├── package.json
├── README.md
└── tsconfig.json

Protocol Modules

Protocol modules (swap, bridge, lending, fiat) follow a similar structure with a single provider file:

wdk-protocol-swap-jupiter-solana/
├── src/
│   └── jupiter-protocol-solana.js
├── tests/
│   └── jupiter-protocol-solana.test.js
├── types/
│   └── index.d.ts
│   └── src/
│       └── jupiter-protocol-solana.d.ts
├── ...

Development

# Clone the repository
git clone https://github.com/tetherto/create-wdk-module.git
cd create-wdk-module

# Install dependencies
npm install

# Run locally
npm start

# Run tests
npm test

Resources

License

Apache-2.0