project screenshot 1
project screenshot 2
project screenshot 3

Cauldron Codes

A frontend web app that streamlines the creation of Solidity smart contracts. By selecting desired properties, users can swiftly produce both ERC-20 token contracts and corresponding test suites.

Cauldron Codes

Created At

ETHOnline 2023

Project Description

This application serves as a wizard for ERC-20 token generation with a focus on simplifying the developer experience. Users can:

Input custom token names and symbols.

  • Options for additional features like minting and burning capabilities.
  • Automatically generate a Hardhat-compatible test suite alongside the contract.
  • The application is purely frontend, ensuring users don't need to trust a backend service with potentially proprietary token logic.

THIS PROJECT IS FOR ILLUSTRATIVE PURPOSES ONLY AND THE GENERATED CODE IS UNAUDITED AND SHOULD NOT BE USED IN PRODUCTION!

How it's Made

  1. Technologies Used:
  • HTML/CSS: For the interface of the wizard.
  • JavaScript: Drives dynamic creation of Solidity code based on user input. No frameworks were used to keep the application lightweight and dependency-free.
  1. Process:
  • User Input: Accepts the token's name, symbol, and desired properties (like mintable and burnable) from the user.
  • Contract Generation: Based on selections, JavaScript dynamically concatenates contract pieces to form a complete Solidity smart contract.
  • Test Suite Generation: Besides the contract, a corresponding test suite is dynamically produced. This is essential for developers to validate the newly generated contract.
  1. Future Enhancements:
  • Integrate with popular Solidity development tools like Hardhat.
  • Add more ERC token standards and additional functionalities.
  • Provide a UI for deploying the generated contract to popular Ethereum testnets.
background image mobile

Join the mailing list

Get the latest news and updates