Skip to content

Instantly share code, notes, and snippets.

@anoochit
Last active May 11, 2022 23:59
Show Gist options
  • Save anoochit/b2f9263ef9a121555f31e1059bc2fa0b to your computer and use it in GitHub Desktop.
Save anoochit/b2f9263ef9a121555f31e1059bc2fa0b to your computer and use it in GitHub Desktop.
social network wallet - gift token
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts@4.6.0/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts@4.6.0/token/ERC20/ERC20.sol";
contract GIFT is ERC20 {
using SafeERC20 for ERC20;
constructor() ERC20("GIFT Token", "GIFT") {
_mint(msg.sender, 1000000000 * 10 ** decimals());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment