All Products
Search
Document Center

Blockchain as a Service:Solidity smart contract development guide

Last Updated:Mar 31, 2026

The Ant Blockchain contract platform supports writing and compiling Solidity smart contracts. The platform's Solidity implementation differs from native Solidity in specific ways — this guide covers those differences, along with the syntax, semantics, and platform-specific operations you need to develop contracts on the platform.

For the complete Solidity language reference, see Solidity documentation.

Choose between Solidity and WASM contracts

The contract platform supports two contract types. Choose based on your requirements:

Solidity contractsWASM contracts
Privacy APIsNot supportedSupported
Cryptographic APIsNot supportedSupported (zero-knowledge proof, homomorphic encryption)
Best forStandard smart contract logicPrivacy-preserving or cryptographic use cases
Note

If your contract requires zero-knowledge proof or homomorphic encryption, use WASM contracts instead.

What this guide covers

The child pages in this section cover:

  • Solidity syntax and semantics as implemented on the Ant Blockchain contract platform

  • Platform-specific functions and operations

  • Behavioral differences between platform Solidity and native Solidity smart contracts