Skip to content

Instantly share code, notes, and snippets.

@1e1f
Created May 16, 2018 00:07
Show Gist options
  • Save 1e1f/9ba414176b2d7687e6b5d579822d0792 to your computer and use it in GitHub Desktop.
Save 1e1f/9ba414176b2d7687e6b5d579822d0792 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.4.23+commit.124ca40d.js&optimize=false&gist=
pragma solidity ^0.4.23;
import "github.com/OpenZeppelin/zeppelin-solidity/contracts/token/ERC20/StandardToken.sol";
contract CBC is StandardToken {
string public symbol = "CBC";
string public name = "CannabisBlockchain";
uint public decimals = 2;
uint public initialSupply = 4 * (1000000000) * (10 ** decimals);
constructor() public {
balances[msg.sender] = initialSupply;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment