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

@mysten-incubation/create-deepbook-sandbox

v0.1.1

Published

Scaffold a DeepBook V3 sandbox workspace

Readme

@mysten-incubation/create-deepbook-sandbox

A one-command scaffolder for the DeepBook V3 sandbox: a local development environment with Sui localnet, deployed DeepBook contracts, a market maker, an oracle service, an indexer, and a web dashboard — everything you need to build and test against DeepBook without touching mainnet or testnet.

What this package does

When you run pnpm create @mysten-incubation/deepbook-sandbox, it:

  1. Verifies that docker, sui, pnpm, and git are installed on your machine
  2. Looks up the latest v* release tag of the deepbook-sandbox repository
  3. Runs git clone --recurse-submodules --branch <tag> into your target directory
  4. Prints the next commands to run

You get a pinned, reproducible snapshot of the upstream repo and its external/deepbook submodule, ready to pnpm install.

Why this scaffolder uses a recursive clone

The sandbox includes sandbox/packages/example_contract — a Move package where you can drop your own contracts and have them publish alongside DeepBook on a fresh localnet, with local Move dependencies wired up against the latest DeepBook source:

[dependencies]
token = { local = "../../.external-packages/token" }
deepbook = { local = "../../.external-packages/deepbook" }
deepbook_margin = { local = "../../.external-packages/deepbook_margin" }

For example_contract (and any Move package you add alongside it) to compile against the latest DeepBook interfaces, the Move source for deepbook, token, and deepbook_margin has to physically exist on disk at the paths declared by local = "../path". The sandbox vendors that source via the external/deepbook git submodule so it always tracks the latest DeepBook V3 release.

That's why this CLI clones with --recurse-submodules: a recursive clone is the simplest way to land the sandbox and the Move source it builds against in one step, so you can start writing and publishing your own Move packages alongside DeepBook immediately.

So this package exists for two reasons:

  • Discoverabilitypnpm create @mysten-incubation/deepbook-sandbox is easier to find and remember than a long git clone command
  • Preflight + reproducibility — it checks your toolchain up front and pins you to a tagged release instead of main

The manual equivalent is:

git clone --recurse-submodules --branch <latest-tag> \
  https://github.com/MystenLabs/deepbook-sandbox.git

Quick Start

pnpm create @mysten-incubation/deepbook-sandbox

Or with a custom directory name:

pnpm create @mysten-incubation/deepbook-sandbox my-project

What you get

The scaffolded workspace includes:

  • Sui localnet with DeepBook V3 contracts deployed
  • Market maker providing liquidity on DEEP/SUI and SUI/USDC pools
  • Oracle service updating Pyth price feeds every 10 seconds
  • DeepBook indexer + API server for querying on-chain data
  • Web dashboard for monitoring and interacting with the sandbox
  • SDK examples demonstrating common DeepBook integrations

Prerequisites

The CLI checks for these before scaffolding:

Usage

After scaffolding, install dependencies and start the sandbox:

cd <project>/sandbox
pnpm install
pnpm deploy-all

This starts localnet, deploys contracts, and launches all services. See the project README for full documentation.

License

Apache-2.0