Contract Studio¶
The Studio page is a visual, vertical flowchart for building and deploying smart contracts. Each step turns green when it is valid, so you always know what is left to do.
For a complete C++ or C# WebAssembly project, follow Your first WASM contract. The WASM guides include compiler setup, supported language features, ABI/storage/host interfaces, deployment and module verification.
Two flows¶
Template flow (tokens and NFTs):
Contract type → Name and symbol → Supply (or Items and metadata) → Features → Owner → Review → Deploy on chain → Verify and track
Custom-code flow:
Code from AI or file → Compile or load artifact → Constructor arguments → Review → Deploy → Verify
Tokens and NFTs from templates¶
Since wallet 0.9.1, creating a token is one click away: Create token in the Studio header, the Create a token card on the first wizard screen (no-code ERC-20 for every language, or the selected language's token example for Solidity, Vyper, Fe, C++ and C#), and the Create a token card on the Tokens page.
ERC-20 tokens and ERC-721 collections use two OpenZeppelin 5.0.2 templates that are precompiled (pinned
solc 0.8.26, evmVersion: london, deterministic, zero warnings). Because they are precompiled, no compiler is
needed to deploy them. After deployment the wallet checks that the on-chain runtime code is byte-identical to
the shipped artifact, reads back name/symbol/supply/owner, and adds the contract to Tokens.
Working with an AI assistant¶
Studio is designed to round-trip with an assistant such as Claude or Codex:
- Copy AI prompt puts clear instructions on the clipboard.
- Paste from AI reads the assistant's whole answer back. Markdown code fences are stripped, and the content
is recognised automatically as a project (
"schema": "pqwerai-studio-project/2"), supported source code, a compiled artifact (solc standard JSON, Hardhat, Foundry or Remix) or raw bytecode. - Copy the project JSON or source to send the current design back to an assistant for review.
- Flows can also be saved and opened as files.
Older pqwerai-flow/1 projects are migrated when opened. Save after compilation and deployment to retain the
language, source, ABI, bytecode, attached files and deployment records.
Compiling pasted Solidity¶
Pasted Solidity is compiled with standard JSON over stdin. @openzeppelin/contracts 5.0.2 imports resolve
from a bundled copy, so the compiler reads no files from your disk and needs no network access. Rules the
Studio enforces:
- User code targets the connected chain's supported EVM capabilities; the shipped templates retain the conservative London target.
- Bytecode is checked against the node's supported opcode set.
- EIP-170 and EIP-3860 size limits are enforced.
The compiler is either the official solc 0.8.26, downloaded on request and accepted only if its SHA-256 matches
the pinned value 537fd8d8…eb67 (from binaries.soliditylang.org), or a solc.exe you choose yourself.
Deploy and verify¶
Every deployment goes through the normal confirmation dialog (all parameters, fee and chain ID) and your password. Custom code is clearly labelled unaudited — you are responsible for what it does. After deploying, the wallet verifies the contract and tracks it.
For WASM, choose C++ or C#, run Check connected chain, compile with the matching toolchain, inspect the
generated ABI and constructor arguments, simulate and deploy. The module uses wasm-vm/v1; its Solidity ABI
works in the contract console and ordinary EVM application libraries. Studio verifies its module identity
using the deployment record, as described in WASM verification.
Seven languages
Through the Studio, PQWERAI supports seven contract languages (Solidity, Yul, Vyper, Huff, Fe, and C++/C# for the WASM VM), each checked against the chain's own EVM and WASM VM. See the EVM language center and C++ / C# WASM guides.
Sources at 83ff5b69f0 (project repository, not public yet): apps/pqwerai-wallet-windows/README.md · apps/pqwerai-wallet-windows/docs/STUDIO_DEVELOPER_GUIDE.md
Found a problem? Report a documentation issue · Build testnet-20778+83ff5b69f0