Skip to content

Instantly share code, notes, and snippets.

@Turupawn
Last active June 29, 2024 11:36
Show Gist options
  • Save Turupawn/1cab4224ef4dec4ed55eb218209a7e15 to your computer and use it in GitHub Desktop.
Save Turupawn/1cab4224ef4dec4ed55eb218209a7e15 to your computer and use it in GitHub Desktop.
Deploying and verifying a contract in Scroll

Links

Demo contract: ERC20 Token

// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

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

contract SimpleToken is ERC20 {
    constructor(
        string memory name,
        string memory symbol,
        uint256 initialSupply
    ) ERC20(name, symbol) {
        _mint(msg.sender, initialSupply * 1 ether);
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment