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

2.0.11 • 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,
  });
}

Readme

Keywords

none

Package Sidebar

Install

npm i @latticexyz/dev-tools

Weekly Downloads

2,811

Version

2.0.11

License

MIT

Unpacked Size

4.74 MB

Total Files

47

Last publish

Collaborators

  • holic
  • alvarius
  • l_udens