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

blyz-sdk

v1.0.0

Published

Minimal TypeScript SDK that signs and launches tokens via the Blyz v4 Fair Launch Factory contract.

Readme

BLYZ SDK

Minimal TypeScript SDK that signs and launches tokens via the Blyz v4 Fair Launch Factory contract.

Requirements

  • Node.js 18+ and Yarn 1.22
  • Access to a Base RPC endpoint (Sepolia or Mainnet) and a funded deployer wallet
  • Sufficient funds on that wallet (gas + launch capital)
  • Blyz v4 Fair Launch Factory contract address for the network you plan to target

Install

Install dependencies with Yarn (recommended) or npm:

# Yarn
yarn install

# npm
npm install

Configure environment variables

  1. Copy the template and adjust the values:
    cp .env.example .env
  2. Edit .env and provide the secrets:
    • PRIVATE_KEY – 32-byte hex string (with 0x prefix) for the deployer wallet that will pay gas. Keep it safe.
    • BASE_RPC_URL – HTTPS RPC endpoint for the Base network you target. The example uses Sepolia.
    • BLYZ_TOKEN_PROTOCOL_ADDRESS – Blyz v4 Fair Launch Factory contract address supplied by the Blyz team for the selected network.

Configure BlyzTokenV4

Open src/index.ts and adjust the tokenConfig passed to new BlyzTokenV4(...) before running the script. Each field maps directly to the on-chain deployment payload:

| Field | Description | | --- | --- | | name | Full ERC20 name (e.g. Example Token). | | symbol | Short uppercase ticker (e.g. EXT). | | metadataCid | IPFS CID of the token artwork stored on IPFS (image file). | | initialTick | Starting tick on the Blyz pool curve. | | creatorAddress | Address registered as the project creator and payout recipient (not necessarily the actual author). | | pairToken | Address of the asset you pair against (WETH, USDC, etc.); use the zero address to pair with native ETH. | | amountIn | BigInt representing how much of the pairToken (in wei) you deposit when creating the pool. |

Run the sample deployment

  1. Ensure the .env file is ready and the tokenConfig passed to new BlyzTokenV4(...) contains your data.
  2. Execute the script:
    # Yarn
    yarn start
    
    # npm
    npm run start
    The start script invokes ts-node src/index.ts, instantiates Blyz, and submits BlyzTokenV4 to the factory defined in .env.
  3. For production builds, compile the SDK and import the generated code from dist/:
    # Yarn
    yarn build
    
    # npm
    npm run build

Example run

$ npm run start

> [email protected] start
> ts-node src/index.ts


Loading Blyz configuration

Configuration ready
    signer: 0xdDEA2b19867531c5fa7003E6d83f6ab37E8872Dd
    factoryAddress: 0xfCA4A96066D1039676B48915901ba400197AB1a6

Blyz client initialized

Deploying token
    name: Example Token
    symbol: EXT

Transaction broadcasted
    transactionHash: 0xf01ac218f61c7591483b60650d2107e8436c21fc88d7071b4a9e888486ec1862

Deployment confirmed
    tokenAddress: 0x7455ED2D8913F218e2Ec659fd017CFD0D6C19eD3
    blockNumber: 33372096
    gasUsed: 2342787

Tip: keep a separate .env per environment (e.g. .env.sepolia, .env.mainnet) and export the right one before running the script.

TODO:

  • Solve all TODOs in code
  • Export as a npm package
  • More detailed documentation on initialTick
  • Add CLI
  • Add Tests
  • Add more functions like claim/harvest (anything else?)