About MintonShardeum
Welcome to MintonShardeum, where Minton, the token forger, crafts tokens on the Shardeum blockchain! Our mission is to make token creation accessible, secure, and scalable.
The Logic Behind MintonShardeum
MintonShardeum is a decentralized application (dApp) built on Shardeum, an EVM-based Layer 1 blockchain that uses dynamic state sharding for scalability and low-cost transactions. Our smart contract, written in Solidity, allows users to create ERC-20 tokens with customizable parameters such as name, symbol, supply, decimals, and mintability.
Smart Contract Details
The smart contract includes:
- 10 SHM minting fee per transaction.
- 0.1% of minted tokens sent to the fee collector wallet:
0x0eE1b98198E400d8Da9E5431F477C0A1A2269505
. - Support for Shardeum Testnet and Mainnet.
- Mintable option to allow future minting.
Code Documentation
View the full source code and documentation on our GitHub repository. The smart contract is deployed using Remix IDE, and the frontend is built with HTML, CSS, and JavaScript, using Web3.js to interact with MetaMask and the Shardeum network.
Security Measures
We implement input validation to prevent SQL injection and XSS attacks, ensuring only alphanumeric characters are accepted for token names and symbols. The smart contract uses OpenZeppelin’s secure ERC-20 implementation.