Demo · sample data
Smart Contract Studio
Configure a token and get Solidity plus a mock audit checklist
rajibsai.com/demos/smart-contract-studio
Mock audit checklist3/6 pass
- Access control on privileged functions — onlyOwner via Ownable
- Supply cap on minting — Owner can mint without limit — add a cap or timelock
- Emergency stop — Not pausable (by design?)
- Centralization risk — Single owner key — consider a multisig
- Audited base library — OpenZeppelin v5 ERC20
- Reentrancy surface — No external calls
Illustrative checklist only — not a security audit.
DemoToken.sol
1// SPDX-License-Identifier: MIT2pragma solidity ^0.8.24;34import "@openzeppelin/contracts/token/ERC20/ERC20.sol";5import "@openzeppelin/contracts/access/Ownable.sol";6import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";78contract DemoToken is ERC20, ERC20Burnable, Ownable {9 constructor() ERC20("Demo Token", "DEMO") Ownable(msg.sender) {10 _mint(msg.sender, 1_000_000 * 10 ** decimals());11 }1213 function mint(address to, uint256 amount) external onlyOwner {14 _mint(to, amount);15 }16}About this demo
Pick a token name, symbol, supply and features, and watch a Solidity contract assemble itself next to an illustrative pre-audit checklist. It shows how I scope token contracts before writing production code, tests and deployment scripts.
Features
- Live Solidity output that updates as you change the token settings
- Toggle minting, burning, pausing and a supply cap
- Mock audit checklist that reacts to the options you pick
- Copy the generated code in one click
Tech used
SolidityHardhatEthers.jsReactTypeScript
Use cases
- Token launches with vesting and staking
- Utility and governance tokens on Ethereum, BSC or Polygon
- Contracts that need tests, verified sources and deployment scripts
Want the production version?
Real contracts, APIs and integrations, scoped to your project.