Deploying and Verifying - Foundry Book

PHOTO EMBED

Wed Apr 10 2024 05:35:15 GMT+0000 (Coordinated Universal Time)

Saved by @katyno

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import {ERC20} from "solmate/tokens/ERC20.sol";

contract MyToken is ERC20 {
    constructor(
        string memory name,
        string memory symbol,
        uint8 decimals,
        uint256 initialSupply
    ) ERC20(name, symbol, decimals) {
        _mint(msg.sender, initialSupply);
    }
}
content_copyCOPY

https://book.getfoundry.sh/forge/deploying