Skip to content

Instantly share code, notes, and snippets.

@grasshaussoftware
Created May 21, 2022 11:21
Show Gist options
  • Save grasshaussoftware/2bfc3ace510554a11d3f933c0ab344e4 to your computer and use it in GitHub Desktop.
Save grasshaussoftware/2bfc3ace510554a11d3f933c0ab344e4 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.14+commit.80d49f37.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
import 'https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol';
contract CannaCoin is ERC20 {
constructor() ERC20('Cannacoin', 'CCN') {
_mint(msg.sender, 13141591 * 10 ** 18);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment