Application languages¶
JavaScript, TypeScript and Python are application languages in the supported workflows. On-chain contracts use EVM bytecode from the EVM language center, or WebAssembly built from C++ and C#. Application languages:
- read chain state over JSON-RPC and the explorer API;
- encode calls with a contract's ABI;
- sign transactions locally and submit them with
eth_sendRawTransaction.
| Language | Libraries | Guide |
|---|---|---|
| TypeScript / JavaScript | ethers.js v6, viem 2 | ethers.js · viem |
| Python | web3.py 7, or the standard library | web3.py · opcode probe |
| Shell | Foundry cast |
Foundry |
WASM VM v1 is an official required Core feature; the 20778 profile enables it from genesis. Studio supports C++ and a defined C# subset. This does not add on-chain JavaScript, TypeScript or Python runtimes. Follow Your first WASM contract for the supported authoring workflow and its verification limits.
Sources at 83ff5b69f0 (project repository, not public yet): architecture/MULTILANGUAGE_CONTRACTS.md
Found a problem? Report a documentation issue · Build testnet-20778+83ff5b69f0