Arianee Contracts Wizard is a web application to interactively build a contract out of components from Arianee 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. This project is a fork of OpenZeppelin Contracts Wizard.
Install dependencies with npm install
.
packages/core
contains the code generation logic for Solidity.
packages/ui
is the interface built in Svelte. npm run dev
spins up a local server to develop the UI.
To embed Contracts Wizard on your site, first include the script tag:
<script async src="https://wizard.arianee.org/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="SmartAsset"></oz-wizard>
.
The following describes how to use the Contracts Wizard programmatic API in your own applications.