Skip to content

Instantly share code, notes, and snippets.

View GhostGuy9's full-sized avatar

Daniel GhostGuy9

View GitHub Profile
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.17; // Designate version of solidity
import '@openzeppelin/contracts/token/ERC20/ERC20.sol'; // ERC20 template
contract GhostCoinToken is ERC20 { // Create contract using ERC20 interface
constructor() ERC20('GhostCoin Token', 'GHST') { // Token Name and Ticker
_mint(msg.sender, 10000000); // Mint 10000000 tokens at beginning
### Keybase proof
I hereby claim:
* I am ghostguy9 on github.
* I am ghostguy9 (https://keybase.io/ghostguy9) on keybase.
* I have a public key ASBMHZHEnmRwxZdm26hR0Xl5a7cmMwiaQRnruYsKlNjqTwo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am ghostguy9 on github.
  • I am ghostguy09 (https://keybase.io/ghostguy09) on keybase.
  • I have a public key ASAUC6VICcdqZwfq6DtONyZ-cK2NC7BejwqGeDS0er0U2Ao

To claim this, I am signing this object: