Smart Contracts
Six deployable contract templates built on OpenZeppelin v5 and Solidity ^0.8.20, compiled and deployed from plain English descriptions.
How It Works
Describe your contract in natural language. Create selects the matching template, fills in your parameters, compiles server-side with solc-js, and presents a wallet transaction for you to sign and deploy.
6 Deployable Contract Templates
All contracts use OpenZeppelin v5 with Solidity ^0.8.20. Each template has specific placeholders that the AI fills from your description.
Standard fungible token with owner-controlled features:
- Mint, burn, and pause functions
- Airdrop to multiple addresses
- Configurable max supply and decimals
NFT contract with public minting and on-chain royalties (ERC-2981):
- ownerMint — free, only the contract owner
- publicMint — payable, any user, max 10 per transaction
- Configurable mint price, max supply, and base URI
- Royalties set in basis points (e.g. 500 = 5%)
ERC-20 token extended with voting power and ERC20Permit for gasless approvals:
- Built-in vote delegation and checkpointing
- Compatible with Governor and Timelock contracts
- ERC20Permit for off-chain approval signatures
TimelockController with a configurable execution delay for DAO operations:
- Minimum delay in seconds (default 3600 = 1 hour)
- Queues proposals before execution
- Part of the DAO stack: deploy before the Governor
Full on-chain governance: proposals, voting, and execution via Timelock:
- Configurable voting delay, voting period, and proposal threshold
- Quorum percentage based on total supply
- Deploy order: GovernanceToken → Timelock → Governor → setup roles
ERC-20 staking with time-based reward distribution (Synthetix pattern):
- stake, withdraw, claimReward, and exit functions
- Owner calls notifyRewardAmount to fund reward periods
- Separate staking and reward token addresses
Supported Chains
Deploy to L2 networks and their testnets. Ethereum L1 is not supported.
Base
Chain 8453
Arbitrum
Chain 42161
Optimism
Chain 10
Polygon
Chain 137
Writing Effective Contract Prompts
The AI maps your description to one of the six templates above. Be specific about which features you need.
Bad — too vague:
Create a tokenGood — uses real template features:
Create an ERC-20 token called MYTOKEN with 1M supply, 18 decimals, owner can mint and pauseBad — requests unsupported features:
NFT with whitelist, reveal mechanic, and Dutch auctionGood — matches the template:
Create an NFT collection with 5000 max supply, 0.05 ETH mint price, 5% royaltiesBad — single vague request:
Make me a DAOGood — specifies governance parameters:
Set up a DAO with governance token, 1-day voting delay, 1-week voting period, 4% quorumSecurity & Deployment
All contracts inherit OpenZeppelin v5 audited implementations. The deploy flow keeps your keys under your control at all times.
Deploy Flow
From description to on-chain contract in four steps.
Compile
The server compiles your contract with solc-js (optimizer 200 runs, EVM "paris") and returns the ABI + bytecode.
Prepare Transaction
The client calls prepareTransaction to build the deployment transaction with your constructor arguments.
Wallet Confirmation
Your wallet pops up. You review the gas estimate and confirm the transaction. The server never has your keys.
Receipt & Verification
waitForReceipt confirms the deploy. The contract source is then verified on the block explorer automatically.
What Is Not Supported
Create uses fixed templates, not arbitrary Solidity generation. The following are outside the current scope:
- Ethereum L1 deployment
- ERC-1155 multi-token contracts
- Upgradeable proxy patterns (UUPS, Transparent)
- Arbitrary Solidity code — only the six templates above are available
- Transfer taxes, vesting schedules, liquidity pool logic
- Whitelist/allowlist minting, reveal mechanics, Dutch auctions
Ready to deploy a contract?
Describe what you need and Create handles compilation, deployment, and verification.
Deploy Contract