Skip to content

Instantly share code, notes, and snippets.

@sekrystal
Created November 11, 2022 15:24
Show Gist options
  • Save sekrystal/22e9ab681a020ceea6fb9e3165df0b78 to your computer and use it in GitHub Desktop.
Save sekrystal/22e9ab681a020ceea6fb9e3165df0b78 to your computer and use it in GitHub Desktop.
EVM Contract Construction Example 8
pragma solidity ^0.8.13;
contract MyCoin2 {
mapping(address => uint256) balances;
constructor(uint256 _totalSupply) {
balances[msg.sender] = _totalSupply;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment