@latticexyz/dev-tools
TypeScript icon, indicating that this package has built-in type declarations

2.2.8 • Public • Published

MUD Dev Tools

Developer tools to view and explore and interact with MUD data within your app.

Note that if you create a new MUD app using our pnpm create mud tool, MUD Dev Tools will already be included for you.

Installation

npm install @latticexyz/dev-tools

Usage

// https://vitejs.dev/guide/env-and-mode.html
if (import.meta.env.DEV) {
  const { mount: mountDevTools } = await import("@latticexyz/dev-tools");
  mountDevTools({
    config,
    publicClient,
    walletClient,
    latestBlock$,
    storedBlockLogs$,
    worldAddress,
    worldAbi,
    write$,
    // if you're using recs
    recsWorld,
  });
}

/@latticexyz/dev-tools/

    Package Sidebar

    Install

    npm i @latticexyz/dev-tools

    Weekly Downloads

    3,664

    Version

    2.2.8

    License

    MIT

    Unpacked Size

    4.69 MB

    Total Files

    6

    Last publish

    Collaborators

    • holic
    • alvarius
    • l_udens