Benefits of using the wizard
- All generated contracts use audited, industry-standard implementations from OpenZeppelin.
- The wizard saves time because it removes boilerplate code and common setup configurations.
- You can tailor contracts to your specific requirements through the UI.
- You can learn best practices by examining professionally structured contract code.
- The wizard always generates code that is compatible with the latest Solidity versions and standards.
Available contract types
Step-by-step guide
- Access the wizard: Use the embedded OpenZeppelin widget above, or go to wizard.openzeppelin.com.
- Select the contract type: Choose the standard that matches your project needs, such as ERC20 or ERC721.
- Configure basic settings:
- Set the token name and symbol
- Choose the Solidity version
- Select the access control mechanism, such as Ownable or Roles
- Add security features:
- Pausable functionality
- Permit extensions
- Flash minting capabilities
- Voting mechanisms
- Customize token behavior:
- Premint options
- Burning capabilities
- Token transfer rules
- Supply management
- Review the generated code: The code updates in real time as you make selections.
- Copy and implement: Use the Copy to clipboard button to export your contract code.
- Deploy: The generated code is ready to compile and deploy.
Tips for effective use
- Start simple: Begin with minimal features and add complexity incrementally.
- Understand each option: Hover over the question icons (?) for detailed explanations.
- Review dependencies: Note which OpenZeppelin libraries your contract imports.
- Consider gas costs: More features generally mean higher deployment and operation costs.
- Customize after generation: The wizard gives you a starting point. Most projects need more customization.