Supported Virtual Machines & Languages
The current release of IOTA Smart Contracts has support for EVM/Solidity smart contracts, as well as experimental smart contracts, providing compatibility with existing smart contracts and tooling from other EVM based chains like Ethereum. This allows us to offer the existing ecosystem around EVM/Solidity a familiar alternative.
EVM Smart Contracts
What is EVM/Solidity?
EVM stands for "Ethereum Virtual Machine" and is currently the tried and tested virtual machine running most smart contract networks.
Solidity is the programming language of choice for the EVM. It was created for this specific purpose.
The main benefit of using EVM/Solidity is its sheer amount of resources from years of development. The IOTA Smart Contracts implementation is fully compatible with all of them. If you have experience developing on other EVM based chains, you will feel right at home. Any existing contracts you've written will need no changes to function on IOTA Smart Contracts.
How IOTA Smart Contracts Work With EVM
Every deployed ISC chain automatically includes a core contract
called evm
. This core contract is responsible for running EVM code and
storing the EVM state.
The Wasp node also provides a standard JSON-RPC service, which allows you to interact with the EVM layer using existing tooling like MetaMask, Remix or Hardhat. Deploying EVM contracts is as easy as pointing your tools to the JSON-RPC endpoint.
The ISC EVM layer is also designed to be as compatible as possible with existing Ethereum tools and functionalities. However, please make sure you have checked out the current properties and limitations
IOTA Smart Contracts (ISC) provide a sandboxed environment through an API, facilitating secure and deterministic interactions with ISC functions. This API supports any Virtual Machine (VM) aiming to build a system for smart contract code execution on ISC.
Supported Functionalities
The ISC sandbox environment offers:
- Smart contract metadata and state data access.
- Request data retrieval for function calls.
- Token management within the contract.
- Utility functions from the host.
- Smooth initiation of other smart contract functions.
- Logging facility.