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

@moltium/world-cli

v0.1.25

Published

CLI tool for creating and managing Moltium World SDK projects

Readme

@moltium/world-cli

CLI tool for creating and managing Moltium World SDK projects on the Monad blockchain.

Installation

npm install -g @moltium/world-cli

Quick Start

# Create a new world project
moltium-world init my-world

# Navigate to project
cd my-world

# Install dependencies
npm install

# Deploy smart contracts
npm run deploy:contracts

# Start your world
npm run dev

Commands

moltium-world init [name]

Initialize a new world project with interactive prompts.

Options:

  • -d, --directory <path> - Output directory

Example:

moltium-world init my-awesome-world

moltium-world token deploy

Deploy a custom ERC20 token for your world.

Options:

  • -c, --config <path> - Token config file (default: ./token.config.json)
  • -r, --rpc-url <url> - RPC URL (overrides .env)
  • -s, --silent - No interactive prompts

Example:

moltium-world token deploy

moltium-world token verify

Verify your token contract on Sourcify.

Options:

  • -a, --address <address> - Token contract address

Example:

moltium-world token verify --address 0x...

moltium-world deploy

Deploy AgentRegistry and WorldMembership contracts.

Options:

  • -r, --rpc-url <url> - RPC URL (overrides .env)

Example:

moltium-world deploy

moltium-world start

Start the world server.

Options:

  • -p, --port <port> - Server port (default: 4000)
  • --dev - Development mode with auto-reload

Example:

moltium-world start --dev

Token Options

During project initialization, you can choose between two token types:

Default Token (MON)

Use Monad's native currency for all world transactions.

  • ✅ No deployment needed
  • ✅ Instant liquidity
  • ✅ Lower gas costs

Custom ERC20

Deploy your own world token with custom tokenomics.

  • ✅ Branded currency
  • ✅ Custom economics
  • ✅ Full control over supply

Project Structure

After running init, your project will have:

my-world/
├── src/
│   └── index.ts          # World entry point
├── world.config.json     # World configuration
├── token.config.json     # Token config (if custom)
├── .env                  # Environment variables
├── package.json
└── README.md

Configuration

world.config.json

Main configuration file for your world:

{
  "name": "MyWorld",
  "description": "An AI agent world",
  "type": "generic",
  "server": {
    "port": 4000,
    "host": "localhost"
  },
  "admission": {
    "maxAgents": 100,
    "entryFee": 0.1
  },
  "persistence": {
    "type": "sqlite"
  },
  "blockchain": {
    "rpcUrl": "https://rpc-testnet.monadinfra.com",
    "chainId": 10143
  }
}

token.config.json

Token configuration (for custom tokens):

{
  "type": "custom",
  "name": "MyWorld Token",
  "symbol": "MWT",
  "decimals": 18,
  "initialSupply": "1000000",
  "maxSupply": "10000000",
  "mintable": true,
  "burnable": true
}

.env

Environment variables:

MONAD_RPC_URL=https://rpc-testnet.monadinfra.com
DEPLOYER_PRIVATE_KEY=0x...
AGENT_REGISTRY_ADDRESS=
WORLD_MEMBERSHIP_ADDRESS=

Development

# Install dependencies
npm install

# Build CLI
npm run build

# Run in development mode
npm run dev

# Test
npm test

License

MIT