Interactive smart contract generator based on OpenZeppelin Contracts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Francisco Giordano 2a333cb1f3 Remove Netlify Forms code 4 weeks ago
.github/workflows
packages Remove Netlify Forms code 4 weeks ago
scripts
.gitignore
.nvmrc
LICENSE
README.md
netlify.toml
package.json Update lockfile (#246) 4 weeks ago
renovate.json
screenshot.png
tsconfig.base.json
yarn.lock Update lockfile (#246) 4 weeks ago

README.md

OpenZeppelin Contracts Wizard

Solidity NPM Package Cairo NPM Package

Contracts Wizard is a web application to interactively build a contract out of components from OpenZeppelin Contracts. Select the kind of contract that you want, set your parameters and desired features, and the Wizard will generate all of the code necessary. The resulting code is ready to be compiled and deployed, or it can serve as a starting point and customized further with application specific logic.

Development

Install dependencies with yarn install.

packages/core contains the code generation logic for Solidity.

packages/core-cairo contains the code generation logic for Cairo.

packages/ui is the interface built in Svelte. yarn dev spins up a local server to develop the UI.

Embedding

To embed Contracts Wizard on your site, first include the script tag:

<script async src="https://wizard.openzeppelin.com/build/embed.js"></script>

Then place <oz-wizard></oz-wizard> in the body where you want Contracts Wizard to load.

Optionally focus on specific tab with the data-tab attribute as in <oz-wizard data-tab="ERC721"></oz-wizard>.

For Cairo, use the data-lang attribute: <oz-wizard data-lang="cairo"></oz-wizard>.

API

The following describes how to use the Contracts Wizard programmatic API in your own applications.