/NFT-Marketplace-ERC721-Smart-Contracts

NFT Marketplace Smart Contracts implementing ERC-721 Smart Contract

Primary LanguageSolidity

NFT-Marketplace-ERC721-Smart-Contracts

What are NFTs?

Non-fungible tokens (NFTs) are cryptographic assets on a blockchain with unique identification codes and metadata that distinguish them from each other.

Unlike cryptocurrencies, they cannot be traded or exchanged at equivalency. This differs from fungible tokens like cryptocurrencies, which are identical to each other and, therefore, can serve as a medium for commercial transactions.

Fungible vs Non-fungible Token

Like physical money, cryptocurrencies are fungible, meaning that they can be traded or exchanged, one for another. For example, one bitcoin is always equal in value to another bitcoin. Similarly, a single unit of ether is always equal to another unit. This fungibility characteristic makes cryptocurrencies suitable as a secure medium of transaction in the digital economy.

NFTs shift the crypto paradigm by making each token unique and irreplaceable, thereby making it impossible for one non-fungible token to be equal to another. They are digital representations of assets and have been likened to digital passports because each token contains a unique, non-transferable identity to distinguish it from other tokens. They are also extensible, meaning you can combine one NFT with another to “breed” a third, unique NFT.

What is ERC-721

ERC-721 defines the minimum interface—ownership details, security, and metadata—required for the exchange and distribution of gaming tokens.
  • TotalSupply: The total number of tokens that will ever be issued
  • BalanceOf: The account balance of a token owner's account
  • Transfer: Automatically executes transfers of a specified number of tokens to a specified address for transactions using the token
  • TransferFrom: Automatically executes transfers of a specified number of tokens from a specified address using the token
  • Approve: Allows a spender to withdraw a set number of tokens from a specified account, up to a specific amount
  • Allowance: Returns a set number of tokens from a spender to the owner
  • Transfer: An event triggered when a transfer is successful (an event)
  • Approval: A log of an approved event (an event)
  • Marketplace Features

  • Minting & Creating NFTs
  • Buying NFTs
  • Selling NFTs