About
About TorusWhitepaper
Ecosystem
Developers
Developer HubContract DeployerContract WizardContract ExplorerDocumentationTestnet Faucet
Staking
Stake TQFValidator CalculatorVesting Portal
Community
Contact
Developer Hub

Smart Contract Wizard

Interactive code generator for OpenZeppelin Solidity smart contracts (v0.8.20+). Configure parameters, preview code live, and deploy directly to Torus Chain.

Basic Settings

Features & Capabilities

Access Control

Upgradeability Pattern

Advanced Settings & License

MyToken.sol
Deploy on Torus
1// SPDX-License-Identifier: MIT
2pragma solidity ^0.8.20;
3
4import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
5import "@openzeppelin/contracts/access/Ownable.sol";
6import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
7import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol";
8
9contract MyToken is ERC20, Ownable, ERC20Burnable, ERC20Permit {
10 constructor(address initialOwner)
11 ERC20("MyToken", "MTK")
12 ERC20Permit("MyToken")
13 Ownable(initialOwner)
14 {
15 _mint(msg.sender, 1000000 * 10 ** decimals());
16 }
17}
18
Smart Contract Wizard — Torus Developer Hub | Torus Chain