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

@skate-org/amm-v2

v2.0.0-beta.16

Published

Skate AMM v2 SDK — umbrella package (re-exports core + api + EVM clients)

Readme

@skate-org/amm-v2

Umbrella package for the Skate AMM v2 SDK.

Entry points

Per-VM subpaths (headline API)

Each subpath re-exports its leaf package in full. SkateAmm is the single façade:

// EVM (Arbitrum, MegaETH, …)
import { SkateAmm } from "@skate-org/amm-v2/evm";
const amm = new SkateAmm("PRODUCTION");
const quote = await amm.quote.swap({ poolKey: "USDC_USDT", /* … */ });

// Solana
import { SkateAmm } from "@skate-org/amm-v2/svm";

// Sui
import { SkateAmm } from "@skate-org/amm-v2/sui";

| Subpath | Leaf package | Key exports | | ------------------------ | ------------------------- | --------------------------------------------- | | @skate-org/amm-v2/evm | @skate-org/amm-evm-v2 | SkateAmm, AmmEvm, readPool, submitSwap, … | | @skate-org/amm-v2/svm | @skate-org/amm-svm-v2 | SkateAmm, AmmSvm, buildSwap, buildMint, … | | @skate-org/amm-v2/sui | @skate-org/amm-sui-v2 | SkateAmm, AmmSui, buildSwap, buildMint, … |

Root — core + api only

import { AmmCore, AmmApi, skateAdapter } from "@skate-org/amm-v2";
import { getAction, waitForExecuted, swapQuote } from "@skate-org/amm-v2";

The root entry re-exports only @skate-org/amm-core-v2 and @skate-org/amm-api-v2. Chain-specific classes (AmmEvm, AmmSvm, AmmSui, SkateAmm) are on the per-VM subpaths above.

Install

pnpm add @skate-org/amm-v2

If you need only one transport, install the leaf package directly to avoid bundling all three VM dependencies:

pnpm add @skate-org/amm-evm-v2   # EVM only
pnpm add @skate-org/amm-svm-v2   # Solana only
pnpm add @skate-org/amm-sui-v2   # Sui only

Breaking changes in 2.0.0-beta.16

The following exports that existed on previous beta releases have been deleted and will not be aliased:

  • Root AmmEvm, AmmSvm, AmmSui — use @skate-org/amm-v2/evm, /svm, /sui subpaths.
  • Root SkateAmm — no single root re-export; import from the appropriate VM subpath.
  • Root svm.* / sui.* namespaces — the old namespace objects are gone; import named exports from /svm and /sui.
  • Flat buildSwap, buildMint, buildBurn, buildIncreaseLiquidity, buildDecreaseLiquidity on root — these were EVM-only calldata builders previously exported at the root. They now live exclusively on @skate-org/amm-v2/evm (or its leaf @skate-org/amm-evm-v2).

Migration:

- import { AmmSvm, buildSwap } from "@skate-org/amm-v2";
+ import { AmmSvm, buildSwap } from "@skate-org/amm-v2/svm";

- import { AmmSui } from "@skate-org/amm-v2";
+ import { AmmSui } from "@skate-org/amm-v2/sui";

- import { AmmEvm } from "@skate-org/amm-v2";
+ import { AmmEvm } from "@skate-org/amm-v2/evm";

Why v2 differs from v1

  • Kernel chain: MegaETH (4326), not Skate.
  • API base: unified at {env}.api.skatechain.org/amm-action-v2.
  • No backwards-compat shims with the v1 monolith @skate-org/skate-app-amm.

See CHANGELOG.md for version history.