Skip to main content

14 docs tagged with "smart contracts"

View All Tags

Compatible Tools

Existing EVM tooling is compatible and can be used directly with an IOTA Smart Contracts chain running EVM. You can configure hardhat, metamask, remix, Ether.js and Web3.js among others.

Core Contracts

There currently are 6 core smart contracts that are always deployed on each chain, root, _default, accounts, blob, blocklog, and governance.

ERC721 Example

Create and deploy a Solidity smart contract to mint NFTs using the ERC721 standard.

EVM/Solidity Based Smart Contracts

The current release of IOTA Smart Contracts also has experimental support for EVM/Solidity, providing limited compatibility with existing smart contracts and tooling from other EVM based chains like Ethereum.

How Accounts Work

IOTA Smart Contracts chains keeps a ledger of on-chain account balances. On-chain accounts are identified by an AgentID.

The errors Contract

The errors contract keeps a map of error codes to error message templates. These error codes are used in request receipts.

The evm Contract

The evm core contract provides the necessary infrastructure to accept Ethereum transactions and execute EVM code.

The root Contract

The root contract is the first smart contract deployed on the chain. It functions as a smart contract factory for the chain.