Deploy Smart Contracts with Remix
Prerequisites
Step 1: Create ERC-20 Token Contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
/// @title MyToken - A basic ERC20 Token on HeLa Chain
/// @custom:dev-run-script ./scripts/deploy.js
contract MyToken is ERC20 {
constructor(uint256 initialSupply) ERC20("MyFirstHeLaToken", "HLT") {
_mint(msg.sender, initialSupply * 10 ** decimals());
}
}
Step 2: Adding a Deploy Script
Step 3: Compile the Contract

Step 4: Deploy to HeLa

Step 5: Get Contract Address
Step 6: Verify on Block Explorer
Step 7: Import Token to MetaMask

Step 8: Verify Token Balance
Step 9: Transfer Tokens
Troubleshooting
Support :
Last updated