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

create-iota-dapp

v1.0.2

Published

Scaffold a Next.js Web3 boilerplate with IOTA network integration

Readme

create-iota-dapp

Scaffold a production-ready Next.js Web3 application with IOTA network integration and Move smart contract support.

Overview

create-iota-dapp is a CLI tool that generates a complete IOTA dApp boilerplate with automated deployment, contract integration, and AI-assisted customization capabilities. Get from zero to deployed dApp in minutes.

Quick Start

npx create-iota-dapp

You'll be prompted for:

  1. Project name
  2. Network selection (testnet/devnet/mainnet)

Then:

cd <your-project-name>
npm install --legacy-peer-deps
npm run iota-deploy  # Deploy your contract
npm run dev

Features

Automated Setup

  • Dynamic Project Configuration: Automatically updates project name, Move contract package name, module names, and all references throughout the codebase
  • Network Configuration: Sets up IOTA CLI environment for your selected network (testnet/devnet/mainnet)
  • Default Network: Automatically configures Provider.tsx with the selected network
  • Move Contract Setup: Updates Move.toml with correct network dependencies

Automated Deployment

The npm run iota-deploy script handles the entire deployment process:

  • IOTA CLI environment setup
  • Account creation and management
  • Automatic token requests from faucet (using IOTA SDK)
  • Contract building and publishing
  • Automatic extraction of package ID from deployment output
  • Automatic extraction of module name, method names, and struct fields from Move contract
  • Automatic generation of TypeScript types and data extraction code
  • Automatic update of configuration files
  • Automatic generation of AI customization prompts

Developer Experience

  • Zero Configuration: Everything works out of the box
  • Type Safety: Full TypeScript support with auto-generated types
  • Error Handling: Built-in error handling and loading states
  • AI Integration: Automatically generates ready-to-use prompts for ChatGPT/Cursor/Gemini
  • Explorer Links: Automatic generation of IOTA explorer links for addresses, packages, and transactions

What's Included

This template includes:

  • Next.js 16 with TypeScript
  • IOTA dApp Kit for wallet connection and network interaction
  • Move Smart Contracts example (counter contract)
  • Radix UI for accessible, modern components
  • Tailwind CSS for styling
  • Automated deployment scripts with intelligent extraction
  • Beginner-friendly structure with clear separation of concerns

Project Structure

my-iota-dapp/
├── app/              # Next.js app directory
│   ├── layout.tsx    # Root layout with providers
│   └── page.tsx      # Main page
├── components/       # React components
│   ├── Provider.tsx  # IOTA providers wrapper
│   ├── sample.tsx  # Main dApp integration component
│   └── Wallet-connect.tsx  # Wallet connection button
├── hooks/            # Custom React hooks
│   └── useContract.ts  # Contract interaction logic
├── lib/              # Configuration and utilities
│   └── config.ts     # Network configuration
└── contract/         # Move smart contracts
    └── <project-name>/  # Your Move contract

Customization

Automatic Configuration

After running npm run iota-deploy, the following are automatically configured:

  • Package ID: Extracted and saved to lib/config.ts
  • Module Name: Extracted from Move contract
  • Method Names: Extracted from Move functions
  • Struct Fields: Extracted and TypeScript types generated
  • Data Extraction: Code automatically generated based on your struct
  • AI Prompt: Generated in prompts/ folder with current contract details

Manual Customization

Option A: AI-Assisted (Recommended)

  1. Check the prompts/ folder for the generated prompt file
  2. Copy the prompt content
  3. Paste to ChatGPT/Cursor/Gemini with your requirements
  4. Get customized code back
  5. Replace existing files

Option B: Manual Edit

  • Edit components/sample.tsx for UI customization
  • Edit hooks/useContract.ts for additional custom logic

Move Contract

The template includes a sample counter contract. Deploy it automatically:

npm run iota-deploy

This will:

  • Build your contract
  • Deploy to the selected network
  • Extract package ID automatically
  • Configure all contract details automatically
  • Generate AI customization prompt

No manual configuration needed.

Requirements

Learn More

License

MIT