Skip to content

Instantly share code, notes, and snippets.

View AtotheY's full-sized avatar

Anthony Sistilli AtotheY

View GitHub Profile
@AtotheY
AtotheY / SimpleMint_flat.sol
Created February 19, 2022 20:28
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.12+commit.f00d7308.js&optimize=false&runs=200&gist=
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
@AtotheY
AtotheY / scripts...SimpleMint.sol
Created February 14, 2022 01:29
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.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
contract SimpleMint is ERC721, Ownable {
uint256 public mintPrice = 0.05 ether;
uint256 public totalSupply;
uint256 public maxSupply;