About How-to Guides
Explore the how-to guides for IOTA Smart Contracts, offering step-by-step instructions on various topics and functionalities.
Ethereum Virtual Machine.
View all tagsExplore the how-to guides for IOTA Smart Contracts, offering step-by-step instructions on various topics and functionalities.
How to allow native assets and base token
Each smart contract instance has a program with a collection of entry points and a state.
Basic smart contract example.
Smart contracts can be invoked through their entry points, from outside via a request, or from inside via a call.
Calling smart contract view functions with Solo.
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.
IOTA Smart Contracts consensus is how Layer 2 validators agree to change the chain state in the same way.
There currently are 6 core smart contracts that are always deployed on each chain, root, _default, accounts, blob, blocklog, and governance.
How to create a L1 foundry
How to Create a Native Token Foundry.
Solidity smart contract ERC20.
Create and deploy a Solidity smart contract to mint NFTs using the ERC721 standard.
How this works in Solidity / EVM
This is the first part of a three-part series that will guide you as you build a cross-chain NFT marketplace using IOTA Smart Contracts (ISC). The marketplace will allow users to trade NFTs on the IOTA EVM Testnet and BNB Testnet.
This is the second part of a three-part series that will guide you as you build a cross-chain NFT marketplace using IOTA EVM Smart Contracts. The marketplace will allow users to trade NFTs on the IOTA EVM Testnet and BNB Testnet.
How to use the custom functionality of ERC20NativeToken
This is a comprehensive guide to the DeFi Lend Borrow DApp, a decentralized application built using React and the ethers library. The DApp allows users to lend and borrow cryptocurrency assets on IOTA EVM Testnet.
DeFi Lend Borrow is a decentralized finance (DeFi) application that enables users to lend and borrow assets on the IOTA EVM testnet. The project is built using Solidity and Hardhat, with the core functionality provided by smart contracts.
Learn how to deploy smart contracts to IOTA EVM Testnet using popular tools like Remix and Hardhat.
Compatibility between the ISC EVM layer and existing Ethereum smart contracts and tooling.
This guide will help you quickly get started with the EVM
Example of a _Solo_ test. It deploys a new chain and invokes some view calls.
How to get the allowance of native assets and base token
How to get the balance of L1 assets on L2
How to get NFT metadata from a L1 NFT
How to get the L2 NFTs in a collection.
How to get the L2 NFTs owned by an account.
How to get information about an on-chain NFT.
You can use the ISC Magic Contract in EVM contracts to access ISC functionality, such as randomness.
IOTA Smart Contracts chains keep a ledger of on-chain account balances. On-chain accounts are identified by an AgentID.
With call and callView you can interact with any core contract
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.
Learn about the role of in oracles in blockchain,their role in providing external data to smart contracts and the available oracles in IOTA EVM.
How to mint L1 NFT
How to mint native token on an L1 foundry.
How to handle native NFTs on L2 and use them as ERC721
How to handle native tokens on L2 and use them as ERC20
Networks and endpoints in the IOTA ecosystem.
How to register a native token as ERC20
Smart Contracts can only interact with the world by using the Sandbox interface which provides limited and deterministic access to the state through a key/value storage abstraction.
The ISC Magic Contract allows EVM contracts to access ISC functionality.
Introduction
How to send funds from L1 to L2.
How to Send Native Tokens Across Chains.
Introduction
Smart contracts are applications you can trust that run on a distributed network with multiple validators all executing and validating the same code.
State manager is Wasp component, which is responsible for keeping the store up to date.
The state of the chain consists of balances of native IOTA digital assets and a collection of key/value pairs which represents use case-specific data stored in the chain by its smart contracts outside the UTXO ledger.
Learn about the role of subgraphs in smart contracts and how they can provide indexed blockchain data to your smart contracts.
Compatibility between languages and different virtual machines.
How to take the allowance of native assets and base token
Learn how to test smart contracts before deploying them on public networks to avoid vulnerabilities and ensure functionality aligns with requirements using unit, and integration testing, alongside frameworks and testing with the IOTA Sandbox and the EVM Testnet.
Solo is a testing framework that allows developers to validate real smart contracts and entire inter-chain protocols.
The ISC Core Contracts allows VMs to access ISC functionality.
The evm core contract provides the necessary infrastructure to accept Ethereum transactions and execute EVM code.
How to interact with the L1 ledger in Solo.
Smart contracts can exchange assets between themselves on the same chain and between different chains, as well as with addresses on the L1 ledger.
Tooling for EVM/Solidity
How to use a native NFT like an ERC721 NFT
Each chain is run by a network of validator nodes which run a consensus on the chain state update.
Yield Farming Tutorial Using Solidity.