Skip to content

Instantly share code, notes, and snippets.

@Abuchtela
Created October 30, 2023 20:31
Show Gist options
  • Select an option

  • Save Abuchtela/3bd92e782353ab072a936a384acadf1d to your computer and use it in GitHub Desktop.

Select an option

Save Abuchtela/3bd92e782353ab072a936a384acadf1d to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.18+commit.87f61d96.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol";
contract MyToken is ERC20, ERC20Permit {
constructor() ERC20("MyToken", "MTK") ERC20Permit("MyToken") {}
}
@Abuchtela
Copy link
Author

contracts...MyToken.sol

@Abuchtela
Copy link
Author

[contracts...MyToken.sol](<script src="https://gist.github.com/Abuchtela/3bd92e782353ab072a936a384acadf1d.js"></script>)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment