Quick Start
Welcome to the IoTeX Layer 1 Quick Start series. This guide is split into two tutorials to help you get up and running with smart contract development and interaction on the IoTeX blockchain.
Part 1: Deploy a Simple Smart Contract
In this first tutorial, you'll learn how to write and deploy a basic Ethereum-compatible smart contract to the IoTeX testnet using Solidity and Web3.js. The contract includes a simple function that accepts a string argument and emits a log event containing that string. This allows anyone to write a permanent message on the IoTeX blockchain — a great introduction to how data can be immutably recorded.
Part 2: Interact with Your Contract Using JavaScript
In the second tutorial, you'll build a Node.js application to interact with the deployed contract using Web3.js. Instead of sending IOTX tokens, your application will call the contract's function to send messages and view events logged on-chain.
These tutorials use JavaScript (Node.js), Solidity, MetaMask, and Web3.js — all common tools for Ethereum developers — to provide a smooth onboarding experience for building on IoTeX Layer 1.
Last updated