8000 GitHub - CapTake/contracts-wizard: Interactive smart contract generator based on OpenZeppelin Contracts.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CapTake/contracts-wizard

 
 

Repository files navigation

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

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.

Cairo

See Contracts Wizard API for Cairo.

Solidity

Contracts Wizard API for Solidity is not available yet. Please reach out to us on issue #129 if you would be interested in it.

About

Interactive smart contract generator based on OpenZeppelin Contracts.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 60.3%
  • Svelte 24.9%
  • HTML 6.6%
  • CSS 5.2%
  • JavaScript 2.8%
  • Solidity 0.2%
0