Repolode
OpenZeppelin

OpenZeppelin/contracts-wizard

Interactive web app and generator that builds smart contracts from OpenZeppelin Contracts components for Solidity, Cairo, Stellar, Stylus and more.

Stars
295
Forks
188
Open issues
47
Last commit
yesterday

What is it?

Contracts Wizard is a web application for building smart contracts from components of OpenZeppelin Contracts. You pick the contract type, set parameters, and toggle features, and it generates the corresponding source code, ready to compile and deploy or to extend with custom logic.

Beyond the web interface, the project ships a CLI and MCP servers so scripts and AI agents can generate contracts, plus a TypeScript API for generating code inside your own applications. Generators are available for Solidity, Cairo, Stellar, Stylus and Uniswap hooks. An embeddable script tag lets other sites host the wizard with a chosen tab or language preselected.

Key features

  • 01Generates Solidity, Cairo, Stellar, Stylus and Uniswap hook contracts from OpenZeppelin components.
  • 02Provides a web UI for selecting contract type, parameters and features.
  • 03Offers a CLI for generating contracts from the command line.
  • 04Exposes MCP servers so AI agents can generate contracts.
  • 05Includes a TypeScript API for programmatic code generation.
  • 06Can be embedded in other websites via a script tag.

Use cases

  • Quickly scaffolding an ERC20, ERC721 or similar token contract with standard features.
  • Generating a starting point for a smart contract that you then customize.
  • Letting AI coding agents produce audited-library-based contract code.
  • Embedding a contract builder in a dApp or documentation site.

Quick start

  1. 1

    Open the web app in your browser

  2. 2

    Install the Solidity generator package from npm

  3. 3

    Use the CLI package for command-line generation

Things to know

  • The README does not give a single local run command; the quick start relies on the hosted web app or separate packages.

Topics

FAQ

What is contracts-wizard?
Interactive web app and generator that builds smart contracts from OpenZeppelin Contracts components for Solidity, Cairo, Stellar, Stylus and more. Contracts Wizard is a web application for building smart contracts from components of OpenZeppelin Contracts. You pick the contract type, set parameters, and toggle features, and it generates the corresponding source code, ready to compile and deploy or to extend with custom logic.
Is contracts-wizard free to use? What license does it have?
contracts-wizard is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
Is contracts-wizard still maintained?
Actively maintained. The last commit to contracts-wizard was on Nov 6, 2026.
What can I use contracts-wizard for?
Quickly scaffolding an ERC20, ERC721 or similar token contract with standard features. Generating a starting point for a smart contract that you then customize. Letting AI coding agents produce audited-library-based contract code. Embedding a contract builder in a dApp or documentation site.
How do I install contracts-wizard?
Open the web app in your browser Install the Solidity generator package from npm Use the CLI package for command-line generation
Where can I get contracts-wizard?
The source code and installation instructions are on GitHub: https://github.com/OpenZeppelin/contracts-wizard

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects