Step 1 / 3 — Basics

Forge a new token

Token.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/// @title ForgeCoin (FORGE)
/// @notice Smithed with Coinsmith — audited, renounce-ready, no honeypots.
contract FORGE is ERC20, Ownable {
    uint8 private constant _DECIMALS = 18;

    constructor()
        ERC20("ForgeCoin", "FORGE")
        Ownable(msg.sender)
    {
        _mint(msg.sender, 1000000 * 10 ** 18);
    }

    function decimals() public pure override returns (uint8) {
        return _DECIMALS;
    }
}
Coinsmith

Crafted on-chain · Built to last · No honeypots

Made with Emergent