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

@epoch-sui/cli

v0.1.0

Published

Epoch vesting CLI — deploy and manage vesting vaults on SUI from the terminal

Readme

Epoch CLI

Command-line tool to deploy and inspect vesting vaults on SUI via Epoch.

Installation

npm install -g @epoch-sui/cli

Or run locally from this folder:

npm install
npm run build
node dist/index.js --help

Setup

Export your SUI private key (bech32 format, starts with suiprivkey):

export SUI_PRIVATE_KEY=suiprivkey...

To find your private key: open your SUI wallet → Settings → Export Private Key.

Check which wallet address is loaded:

epoch wallet

Commands

epoch info <vaultId>

Display vault details without needing a private key.

epoch info 0xVAULT_ID
epoch info 0xVAULT_ID --network testnet

Output example:

  Vault 0x2de31ef0…  Multi  Cliff

  Token         0x3087d2::ept::EPT
  Total locked  1.0000B
  Creator       0x4ac248…
  Beneficiaries 3 wallets
  Claimed       333.3000M (33.33%)

  Cliff         May 6, 2026, 3:32 PM (100%)

  Explorer      https://suivision.xyz/object/0xVAULT_ID
  Epoch         https://epochsui.com/vault/0xVAULT_ID

epoch create — Single beneficiary vault

Linear — gradual unlock from start to end

epoch create \
  --token 0x2::sui::SUI \
  --amount 1000 \
  --beneficiary 0xABC... \
  --start 2026-01-01 \
  --end 2027-01-01

Cliff — 100% unlocks at a single date

epoch create \
  --token 0xPKG::module::TOKEN \
  --amount 500000 \
  --beneficiary 0xABC... \
  --cliff-date 2027-06-01 \
  --cliff-pct 100

Hybrid — percentage at cliff, then linear until end

epoch create \
  --token 0xPKG::module::TOKEN \
  --amount 1000000 \
  --beneficiary 0xABC... \
  --cliff-date 2026-06-01 \
  --cliff-pct 30 \
  --start 2026-06-01 \
  --end 2027-06-01

30% unlocks on June 1 2026, then the remaining 70% unlocks linearly until June 1 2027.

All options:

| Option | Required | Description | |---|---|---| | --token <type> | ✅ | Coin type (e.g. 0x2::sui::SUI) | | --amount <n> | ✅ | Amount in token units (e.g. 1000) | | --beneficiary <addr> | ✅ | Recipient SUI address | | --end <date> | ✅ | Vesting end date (ISO format) | | --cliff-date <date> | — | Cliff unlock date | | --cliff-pct <0-100> | — | % unlocked at cliff (default: 0) | | --start <date> | — | Linear start date (default: cliff date) | | --network <net> | — | mainnet or testnet (default: mainnet) |


epoch create-multi — Multi-beneficiary vault

All beneficiaries share the same vesting schedule. Percentages must sum to 100.

Linear

epoch create-multi \
  --token 0xPKG::module::TOKEN \
  --amount 1000000 \
  --beneficiaries '[{"address":"0xABC","pct":50},{"address":"0xDEF","pct":50}]' \
  --start 2026-01-01 \
  --end 2027-01-01

Cliff

epoch create-multi \
  --token 0xPKG::module::TOKEN \
  --amount 1000000 \
  --beneficiaries '[{"address":"0xABC","pct":50},{"address":"0xDEF","pct":30},{"address":"0xGHI","pct":20}]' \
  --cliff-date 2027-06-01 \
  --cliff-pct 100

Hybrid — percentage at cliff, then linear

epoch create-multi \
  --token 0xPKG::module::TOKEN \
  --amount 1000000 \
  --beneficiaries '[{"address":"0xABC","pct":50},{"address":"0xDEF","pct":30},{"address":"0xGHI","pct":20}]' \
  --cliff-date 2026-06-01 \
  --cliff-pct 25 \
  --start 2026-06-01 \
  --end 2027-06-01

25% unlocks for all beneficiaries on June 1 2026 (split 50/30/20), then the remaining 75% unlocks linearly until June 1 2027.

All options:

| Option | Required | Description | |---|---|---| | --token <type> | ✅ | Coin type | | --amount <n> | ✅ | Total amount to lock | | --beneficiaries <json> | ✅ | JSON array of {address, pct} — must sum to 100 | | --end <date> | ✅ | Vesting end date (ISO format) | | --cliff-date <date> | — | Cliff unlock date | | --cliff-pct <0-100> | — | % unlocked at cliff (default: 0) | | --start <date> | — | Linear start date | | --network <net> | — | mainnet or testnet (default: mainnet) |


Testnet

Add --network testnet to any command to use testnet instead of mainnet:

epoch create --network testnet --token 0x2::sui::SUI --amount 1 --beneficiary 0xABC... --end 2027-01-01
epoch info 0xVAULT_ID --network testnet

Testnet deploy fee: 0.1 SUI Mainnet deploy fee: 10 SUI


How it works

  1. Loads your keypair from SUI_PRIVATE_KEY
  2. Fetches your coin balance from the SUI RPC
  3. Builds and signs the transaction locally
  4. Submits it to the Epoch smart contract on-chain
  5. Returns the vault ID and direct links to SuiVision and Epoch

No backend involved — everything goes directly to the SUI blockchain.