web3@ελίξα:~$
web3 init my-dapp
✓ Created solidity contracts
✓ Installed dependencies
✓ Generated smart contract templates
✓ Scaffolded frontend with Next.js
$

web3 CLI - Your Decentralized Toolkit

Streamline your web3 workflow with our powerful command-line interface. Create, deploy, and manage smart contracts with a single command.

Instant Scaffold

Create a fully functional dApp with smart contracts, frontend, and tests in seconds.

$ web3 init

Smart Contract Linter

Automatically check for security vulnerabilities and best practices in your Solidity code.

$ web3 auditcontracts

Chain Explorer

Inspect blockchain activity and contract storage without leaving the terminal.

$ web3 explore 0x1234...

Local Blockchain

Spin up a temporary Ethereum node for rapid testing and development.

$ web3 blockchain:start

Command Syntax


$ web3 init my-project
$ web3 deploy [--network=goerli]
$ web3 verify CONTRACT_ADDRESS
$ web3 test --coverage
$ web3 console

Use the CLI with flags for custom behavior:

$ web3 deploy
--network <chain>