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

@scalecrx/launch

v0.1.1

Published

Official ScaleCRX CLI for launching tokens and pools from the terminal

Downloads

118

Readme

@scalecrx/launch

Official ScaleCRX CLI for launching Solana tokens and creating ScaleCRX AMM or VMM pools from the terminal.

Quick start

Run the CLI directly with npx:

npx @scalecrx/launch --name "Scale Token" --symbol SCALE

Useful utility flows:

npx @scalecrx/launch --get-wallet
npx @scalecrx/launch --export-wallet

What it does

The CLI:

  • creates or reuses a managed wallet
  • checks funding before sending transactions
  • creates the token mint
  • mints the initial supply
  • revokes mint authority
  • revokes freeze authority when present
  • creates an AMM pool or VMM pair on ScaleCRX
  • optionally performs a dev buy during pool creation

Requirements

  • Node.js 18+
  • access to a Solana RPC endpoint for your target network
  • enough SOL in the managed wallet to cover rent, fees, and any native-SOL dev buy

Usage

npx @scalecrx/launch --name <tokenName> --symbol <tokenSymbol> [options]

Wallet utilities:

npx @scalecrx/launch --get-wallet [--network <devnet|mainnet>]
npx @scalecrx/launch --export-wallet

Options

Required for a launch

  • --name <string>: token name, max 24 chars
  • --symbol <string>: token symbol, max 6 chars

Launch options

  • --tokenA <mint>: optional base token mint override
  • --supply <number|1B>: total token supply, default 1000000000
  • --decimals <number>: token decimals, default 6
  • --devbuy <amount>: base-token buy amount, default 0
  • --feeshares <csv>: comma-separated wallet,bps pairs
  • --shift <amount>: shift in tokenA units, default 1
  • --curve <constant|exponential>: default constant
  • --pool <amm|vmm>: default amm
  • --network <devnet|mainnet>: default mainnet
  • --prompted: require manual confirmation at key launch checkpoints

Wallet utilities

  • --get-wallet: print the managed wallet address and balance
  • --export-wallet: export the managed wallet private key after explicit confirmation

General

  • --help: print usage
  • --version: print CLI version

Examples

Launch with defaults:

npx @scalecrx/launch --name "Scale Token" --symbol SCALE

Launch a 1B supply token on an AMM:

npx @scalecrx/launch \
  --name "Scale Token" \
  --symbol SCALE \
  --supply 1B \
  --pool amm

Launch on devnet with a dev buy:

npx @scalecrx/launch \
  --name "Scale Dev" \
  --symbol SDEV \
  --network devnet \
  --devbuy 0.25

Use a custom base token:

npx @scalecrx/launch \
  --name "Quoted Token" \
  --symbol QUOTED \
  --tokenA So11111111111111111111111111111111111111112

Split fees across wallets:

npx @scalecrx/launch \
  --name "Shared Fees" \
  --symbol FEES \
  --feeshares wallet1,2500,wallet2,1500

Inspect the managed wallet:

npx @scalecrx/launch --get-wallet --network mainnet

Parameter details

--supply

  • accepts integer token amounts
  • accepts the B suffix for billions, for example 1B
  • is converted to raw mint units using 10^decimals

--devbuy

  • interpreted in tokenA units
  • if tokenA is native SOL, the wallet must hold enough extra SOL for the buy

--feeshares

  • format: wallet1,bps1,wallet2,bps2,...
  • maximum 5 wallet/bps pairs
  • total basis points must be <= 10000

--shift

  • interpreted in tokenA units
  • must be greater than 0
  • converted to raw base-token units before pool creation

--tokenA

  • optional in normal operation
  • required when the platform base token is configured to the dead address sentinel: 1nc1nerator11111111111111111111111111111111

RPC configuration

The CLI resolves RPC endpoints in this order:

  1. environment variables in the current shell
  2. launch/.env.local
  3. launch/.env
  4. Scale SDK defaults

Supported variables:

  • SCALECRX_RPC_DEVNET
  • SCALECRX_RPC_MAINNET
  • SCALECRX_RPC_URL

Example:

SCALECRX_RPC_MAINNET="https://mainnet.helius-rpc.com/?api-key=..." \
  npx @scalecrx/launch --name "Scale Token" --symbol SCALE

Or in launch/.env.local:

SCALECRX_RPC_DEVNET="https://devnet.helius-rpc.com/?api-key=..."
SCALECRX_RPC_MAINNET="https://mainnet.helius-rpc.com/?api-key=..."

Managed wallet

The CLI uses a single managed wallet per machine:

  • macOS/Linux: ~/.config/scalecrx/wallet.json
  • Windows: %APPDATA%/scalecrx/wallet.json

On first run it creates the wallet automatically and prints the public address.

When the wallet is underfunded, the CLI:

  • prints the deposit address
  • tries to render a terminal QR code
  • waits for funding for up to 5 minutes

Output and progress

During a successful launch you should see messages like:

  • Checking wallet funds... sufficient ✅
  • Launching SPL20 token... done: <solscan tx url>
  • Revoking mint authority... done ✅
  • Creating pool... done: <solscan tx url>
  • Launch successful.

Local development

cd launch
npm install
node bin/launch.js --help
node bin/launch.js --version
npm run pack:check

Safety notes

  • --export-wallet prints the raw private key in base58; only use it when necessary
  • keep .env.local out of version control
  • use --prompted if you want manual checkpoints before launch and pool creation
  • double-check --tokenA, --network, --pool, and --feeshares before submitting transactions

AI Skill

Use this prompt when wiring the CLI into an LLM tool or local agent skill:

You have access to the ScaleCRX Launch CLI via `npx @scalecrx/launch`.

Use it to launch Solana tokens and create ScaleCRX AMM/VMM pools directly from the terminal.

Supported actions:
- launch a token with `--name`, `--symbol`, and optional launch flags
- inspect the managed wallet with `--get-wallet`
- export the managed wallet with `--export-wallet` only when the user explicitly requests it

Important rules:
- default to `--pool amm` and `--network mainnet` unless the user says otherwise
- preserve exact user-provided values for `--name`, `--symbol`, `--supply`, `--decimals`, `--devbuy`, `--feeshares`, `--shift`, `--tokenA`, `--curve`, `--pool`, and `--network`
- if required launch fields are missing, ask for them before running the command
- warn before any command that could reveal the private key
- relay the CLI output back to the user with the mint address, pool or pair address, wallet address, and transaction URLs

Example launch command:
`npx @scalecrx/launch --name "Scale Token" --symbol SCALE`