Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 805 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 805 Bytes

RegularNFT

Regular ERC721-standard contract, built inheriting all the attributes of the OpenZeppelin ERC721 smart contract. Contains basic functions like mint. This 'Mint' function is not allowed for use by the contract owner, a user can only mint the NFT once, and is guarded for ReEntrancy attacks. The user is allowed to mint only if a value of 0.005 Ether is sent along (nothing more nor less) while invoking the mint function. The funds received by the 'Mint' function from the sender is immediately transferred to the contract owner. No Scripts, just basic tests. MintAll function is only available to the BasicNFT contract deployer.

This is a raw skeletal framework of an ERC721 function customized for minting 1 NFT per user and can be further modified by any developer to suit specific needs.