OmCoin is an ERC-20 token and wallet dashboard for the Ethereum Sepolia testnet. The project includes the Solidity contract, Hardhat tests and a React interface with a MetaMask-inspired wallet experience.
- ERC-20 token named
OmCoinwith symbolOMC - Fixed initial supply of 1,000,000 OMC
- Sepolia wallet connection through MetaMask
- Balance lookup, token metadata and network validation
- OMC transfers with recipient and amount validation
- Recent transfer activity stored locally in the browser
- Sepolia Etherscan links for the contract and transactions
- Standalone
portal.htmldemo with no build step
git clone https://github.com/OMD-123/omcoin.git
cd omcoin/frontend
npm install
npm run devOpen the Vite URL, install MetaMask, switch to Sepolia and connect your wallet. Sepolia ETH is required to pay transaction gas.
To use the standalone demo, open portal.html in a browser with MetaMask installed.
From the repository root:
npm install
npx hardhat test
npx hardhat compileTo deploy a new instance, configure RPC_URL and PRIVATE_KEY only in a local .env file, then run:
npx hardhat run scripts/deploy.js --network sepoliaNever commit private keys, RPC credentials or local environment files.
contracts/ OmCoin Solidity contract
frontend/ React + Vite wallet dashboard
scripts/ Hardhat deployment scripts
test/ Hardhat contract tests
portal.html Standalone wallet demo
MIT