A simple decentralized web application that allows users to instantly deploy their own ERC-20 token on the Monad Testnet β built with Solidity, Ethers.js, and MetaMask integration.
- π§± Deploy ERC-20 tokens directly to the Monad Testnet
- π MetaMask wallet connection with network check (chain ID 10143)
- βοΈ Customizable token name, symbol, and total supply
- π Modern responsive UI with glowing border and smooth styles
- π§ Built with HTML, CSS, and JavaScript (using Ethers.js)
- Frontend: HTML, CSS, JavaScript
- Blockchain Library: Ethers.js
- Smart Contracts: Solidity
- Network: Monad Testnet
- Wallet: MetaMask
- Connect your MetaMask wallet.
- Ensure itβs switched to the Monad Testnet (Chain ID:
10143). - Enter token details (name, symbol, total supply).
- Click Deploy Token β your token will be deployed instantly!
- Add your deployed token to MetaMask to view it.
The contract is a standard ERC-20 token implemented in Solidity and deployed via the dApp interface.
Example:
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MyToken is ERC20 {
constructor(string memory name, string memory symbol, uint256 initialSupply)
ERC20(name, symbol) {
_mint(msg.sender, initialSupply * 10 ** decimals());
}
}