Smart Contracts and Tokens¶
Start a token project with Basic token in every language: seven complete fixed-supply ERC-20 sources, a download bundle and one shared deployment walkthrough.
PQWERAI supports EVM and WASM smart contracts with shared accounts and the Solidity ABI. Solidity, Vyper, Yul, Huff and Fe compile to EVM bytecode. C++ and a supported C# subset compile to WebAssembly for the official WASM VM v1. Start with the first EVM contract or first WASM contract.
| Language | Compiler pinned | Status (tested before the chain 20778 launch; same EVM rules on 20778) | Best for |
|---|---|---|---|
| Solidity | solc 0.8.26 | ✅ Tested (Foundry, Wallet Studio) | Most contracts, OpenZeppelin ecosystem |
| Vyper | 0.4.3 | ✅ Tested (CLI) | Auditable, Pythonic contracts |
| Yul | solc 0.8.26 --strict-assembly |
✅ Tested (CLI) | Hand-written low-level code |
| Huff | Huff Neo hnc 1.7.1 |
Supported in Studio; local conformance tested | Opcode-level optimisation |
| Fe | 26.5.1 | Supported in Studio; pinned pre-1.0 compiler | Typed messages and effects; review compiler-specific limits |
| C++ | clang 23.1.0 / wasi-sdk 34 | WASM VM v1; check connected-node support | Freestanding integer and buffer-based contracts |
| C# | Roslyn 5.9.0 / .NET SDK 10.0.403 + Studio translator | WASM VM v1; supported C# subset | Static methods, unmanaged structs and SDK host calls |
The EVM language comparison shows the same contract in five EVM languages with measured gas. The WASM language guides cover C++ and C#, compiler setup, ABI and storage, deployment and module verification. WASM release acceptance remains separate from feature support. Then explore:
- Standards: ERC-20 · ERC-721 · ERC-1155
- Patterns: access control and ownership · events · payable functions · Solidity libraries
- Verification · Application languages (JS/TS/Python)
Unaudited examples
Every example on these pages is tutorial code. Compiler success is not a security review.
Sources at 83ff5b69f0 (project repository, not public yet): contracts/studio/compilers.json · architecture/MULTILANGUAGE_CONTRACTS.md
Found a problem? Report a documentation issue · Build testnet-20778+83ff5b69f0