Smart Contract Studio
A focused Solidity IDE: templates built on OpenZeppelin, AI contract generation with permission analysis, sandboxed compilation, ABI and bytecode inspection.
Starting points#
Contracts start from a template, an AI generation, a blank file or the contracts inside a project. Templates are written against OpenZeppelin Contracts; options such as minting or mutable metadata are explicit opt-ins, never defaults.
| Template | Category | What it is |
|---|---|---|
| ERC-20 token | Tokens | Fungible token with a fixed initial supply minted once at deployment. Minting and burning are explicit opt-ins. |
| ERC-721 collection | NFTs | NFT collection with a fixed max supply and a public mint at a fixed price. Owner can withdraw proceeds. |
| ERC-1155 multi-token | NFTs | Multi-token contract (editions, game items) where the owner mints. Optional holder burning and URI updates. |
| Token vesting | Finance | OpenZeppelin VestingWallet with a cliff: releases HYPE or any ERC-20 linearly to one beneficiary. |
| Token-gated access | Access | On-chain access check: an address has access while it holds at least a minimum ERC-20 balance. |
| DAO voting (Governor) | Governance | OpenZeppelin Governor: token-weighted proposals and votes with quorum, executing calls directly (no timelock). |
| Treasury | Finance | Holds HYPE and ERC-20s. Only accounts with TREASURER_ROLE can withdraw, with an optional per-transaction limit. |
| Escrow | Finance | Buyer funds a deal in HYPE; buyer or arbiter releases to the seller, seller or arbiter refunds the buyer. No admin. |
| Subscription payments | Payments | Prepaid ERC-20 subscriptions: users pay for whole periods up front; no automatic pulls from wallets. |
| NFT marketplace | Marketplaces | List ERC-721 tokens for a fixed HYPE price; buyers pay, sellers get paid minus an immutable, capped fee. |
Generating a contract with AI#
Create a fixed-supply ERC-20 token with no additional minting permissions and transparent ownership configuration.A generation returns Solidity source, documentation, constructor configuration, deployment instructions, unit tests, a permission analysis and security considerations. The model also states claims about the contract — mintable after deploy, pausable, upgradeable, ownable, uses roles, can self-destruct, uses delegatecall, fixed supply, holds funds.
| Operation | Generation credits |
|---|---|
| Generate a contract | 5 |
| AI fix for a compile/test error | 3 |
| Explain code or a finding | 1 |
| Compile, test, scan | Free |
Compilation#
Compilation runs Foundry offline inside a per-job sandbox: no network, writes only to the job directory, read access limited to the job, the pinned libraries and the pinned compilers. Results — artifacts, errors and warnings with file and line — are stored as they came out of the compiler.
| Setting | Value |
|---|---|
| Solidity versions | 0.8.30, 0.8.28, 0.8.24 (default 0.8.30) |
| EVM target | cancun (HyperEVM and Arbitrum Orbit chains such as Elysium execute Cancun) |
| Libraries | OpenZeppelin Contracts 5.6.1, forge-std 1.17.0 |
| Allowed imports | @openzeppelin/contracts/…, forge-std/… and relative paths — URLs, absolute paths and other packages are rejected |
| Size limits | Up to 24 files per contract package; runtime bytecode is checked against the EIP-170 limit of 24,576 bytes |
Editor and inspection#
- Monaco editor with Solidity highlighting, a file explorer for
src/,contracts/andtest/, and inline error markers from the real compiler output. - ABI viewer grouped by functions, events and errors; bytecode size and the compiler settings that produced it.
- Dependency view showing the imports each file resolves to.
- AI explanation panel for selected code, compiler errors and scan findings.
Contract configuration#
| Field | Options |
|---|---|
| Name & version | Display name and a human package version (e.g. 1.0.0). |
| Solidity version | One of the installed compilers. |
| Ownership | none, ownable, ownable2step, access-control. |
| Admin roles | Named roles for access-control contracts. |
| Upgradeability | none or uups. Upgradeable contracts are flagged in review. |
| Constructor parameters | Name, type, description and an example value, used by the deployment wizard. |
| Network | The network the contract is intended for. |
