web3-devkit-cli

Bootstrap dApps, generate smart contracts, and manage wallets for EVM and Solana blockchains.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/devtools-skills --skill web3-devkit-cli-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web3-devkit-cli
Source: https://github.com/reason-machines/devtools-skills/tree/main/skills/web3-devkit-cli
Command: npx skills add https://github.com/reason-machines/devtools-skills --skill web3-devkit-cli-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up blockchain projects requires juggling multiple tools for scaffolding, contract generation, wallet management, RPC testing, deployment, and event monitoring across EVM and Solana networks. This Skill consolidates those tasks into a single CLI workflow. ## Core Features & Use Cases - Project Bootstrapping: Initialize EVM (Foundry, Hardhat), Solana (Anchor), or full-stack dApp projects from curated templates. - Contract Generation & Deployment: Generate ERC20, ERC721, staking, vault, and prediction-market contracts, then deploy with gas estimation and explorer verification. - Wallet, RPC & Monitoring: Create wallets, check balances, test RPC endpoints, and monitor on-chain events for contracts, wallets, and tokens in real time. - Use Case: Scaffold a full-stack EVM dApp, generate an ERC721 NFT contract, add wagmi and RainbowKit to the Next.js frontend, deploy to Base, and monitor Transfer events. ## Quick Start Ask the AI to scaffold a new EVM project with Foundry and generate an ERC20 token contract named MyToken using the web3-devkit CLI.

Frequently Asked Questions about web3-devkit-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an ERC20 token contract from the command line?▼

Run web3 generate token with the chain, variant, and name flags: web3 generate token -c evm -v erc20 -n MyToken -y. The contract is written to ./contracts by default, or to a directory specified with the -o flag.

How to deploy a smart contract to Base network?▼

Estimate gas first with web3 deploy evm -n base --estimate, then deploy with web3 deploy evm -n base -y. Deployment records are stored in .web3-devkit/deployments/, and you can verify the contract on the explorer with web3 verify.

Does web3-devkit support Solana as well as Ethereum?▼

Yes, it supports both EVM chains (ethereum, base, arbitrum, polygon, bsc, avalanche) and Solana networks (mainnet-beta, devnet, testnet). Solana workflows use Anchor templates and require the Anchor CLI installed.

Why does web3 rpc test fail or time out?▼

RPC test failures usually come from a missing or incorrect RPC URL in the config. Check with web3 config get rpc.base, update it with web3 config set, or pass the endpoint via the BASE_RPC_URL environment variable.

Can I add wallet connection to a Next.js frontend?▼

Yes, run web3 add wagmi, rainbowkit, wallet-connect, viem, or solana-wallet inside a Next.js project to add wallet providers and chain configurations. You must still install peer dependencies and wrap the app with WagmiConfig.

What are the requirements for using web3-devkit-cli?▼

You need Node.js 18 or later with npm or yarn. EVM workflows require Foundry or Hardhat installed, Solana workflows require the Anchor CLI, and deployments need valid RPC endpoints and a funded wallet private key.