Skip to content

Instantly share code, notes, and snippets.

@mattupham
Created November 13, 2021 14:00
Show Gist options
  • Save mattupham/0a3af746ccbabeef3f461a9664ba4ea0 to your computer and use it in GitHub Desktop.
Save mattupham/0a3af746ccbabeef3f461a9664ba4ea0 to your computer and use it in GitHub Desktop.
How to create YOUR own Cryptocurrency in 3 Minutes on Ethereum - Matt Upham
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MyCoin is ERC20 {
constructor() ERC20("MY TOKEN", "MYTOKEN") {
_mint(msg.sender, 1000000 * 10**18);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment