Using Remix IDE
This page describes how to deploy smart contracts using Remix IDE.
Last updated
This page describes how to deploy smart contracts using Remix IDE.
Last updated
Remix IDE is used for the entire journey of smart contract development by users at every knowledge level. It requires no setup, fosters a fast development cycle, and has a rich set of plugins with intuitive GUIs. The IDE comes in two flavors (web app or desktop app) and as a VSCode extension.
Remix Online IDE, see: https://remix.ethereum.org
Add 'Kroma Mainnet' to your wallet, you can refer to the Wallet Configuration.
Click the run icon ().
Select the Environment Injected Provider - MetaMask
.
Accept the connection in the wallet.
Make sure your environment is Injected Web3 and the network ID is '255'.
Click the File explorer icon ().
Click the Create New File ().
Write the source code - testContract.sol
.
The constructor of testContract
needs a parameter (of type uint256
). Input a uint256 and click on Deploy
.
Confirm the transaction in the wallet.
Scroll down. In the At Address field, type the contract address. Then, click At Address. Expand the contract to see you can interact with it.
You can view your transactions through Block Explorer.
this icon means that there is no problem compiling.(), Click the run icon ().