web3market-kit
A CLI toolkit for scaffolding, developing, and deploying Solidity dApps. Handles project setup, contract compilation, code generation, React hook generation, and deployment to EVM chains.
npm install -g @web3marketlabs/cliThen scaffold a project:
w3m new my-project --template token-standardDocumentation
Getting StartedCLI ReferenceConfigurationModulesReact@web3marketlabs/sdkDeploymentAI FeaturesAuthenticationAPI ReferenceTiers & Pricing
Overview
web3market-kit is a monorepo with 9 packages organized into four layers:
Layer 1: Shared Configuration
| Package | Description |
|---|---|
@web3marketlabs/tsconfig | Shared TypeScript configuration |
Layer 2: Core Libraries
| Package | Description |
|---|---|
@web3marketlabs/sdk | Chain definitions, ABI utilities, Viem client factories, type exports |
@web3marketlabs/config | Configuration loader and Zod schema for kit.config.ts |
@web3marketlabs/codegen | TypeScript binding and React hook generation from compiled contracts |
@web3marketlabs/api | Hono API server — authentication, templates, deployment preflight, AI endpoints |
Layer 3: Feature Packages
| Package | Description |
|---|---|
@web3marketlabs/components | Component registry (token) with Handlebars templates |
@web3marketlabs/react | React components (KitProvider, ConnectButton, TransactionButton) |
Layer 4: CLI
| Package | Description |
|---|---|
@web3marketlabs/cli | CLI binary (w3m) — new, auth, add, dev, test, deploy, generate, templates, audit |
@web3marketlabs/create-web3-dapp | npx @web3marketlabs/create-web3-dapp — runs w3m new under the hood |
What Works Without Authentication
All local development features work without authentication:
w3m new— Create projects from templates or interactivelyw3m dev— Start Anvil + deploy + frontend dev serverw3m test— Run contract and TypeScript testsw3m audit— Run Slither security analysisw3m— Interactive workspace menu- Local deployment — Deploy to Anvil from the workspace menu
Authentication is only required for deploying to testnets and mainnets (w3m deploy --chain <chain>), browsing templates (w3m templates), and marketplace publishing (w3m publish).
Supported Chains
| Chain | Chain ID | Type |
|---|---|---|
| Ethereum | 1 | Mainnet |
| Sepolia | 11155111 | Testnet |
| Arbitrum One | 42161 | Mainnet |
| Arbitrum Sepolia | 421614 | Testnet |
| Base | 8453 | Mainnet |
| Base Sepolia | 84532 | Testnet |
| Polygon | 137 | Mainnet |
| Polygon Amoy | 80002 | Testnet |
| Optimism | 10 | Mainnet |
| Optimism Sepolia | 11155420 | Testnet |
| Anvil (local) | 31337 | Local |
Requirements
- Node.js 20+
- Foundry (recommended) for smart contract compilation, testing, and deployment
- Package manager: pnpm (recommended), npm, yarn, or bun