πŸš€ Objective:


🧠 What is an NFT?

NFT stands for Non-Fungible Token β€” a unique digital asset representing ownership or proof of authenticity for digital or physical items. Unlike fungible tokens like ETH or ERC-20 tokens, which are interchangeable, each NFT is distinct and has its own value.

πŸ”‘ Key Features of NFTs:

  1. Uniqueness: Each NFT is distinct from others, often represented by metadata (name, description, properties) and a digital file (image, video, etc.).
  2. Indivisibility: NFTs cannot be split into smaller units. You either own the whole token or none of it.
  3. Ownership & Provenance: NFTs allow you to prove ownership and track the history of the asset’s ownership on the blockchain.
  4. Smart Contracts: NFTs are built using smart contracts that define their creation, transfer, and interaction.

πŸ“˜ NFT Standards

Ethereum’s ERC-721 standard defines the interface for NFTs. Every NFT on Ethereum follows this standard to ensure interoperability across different platforms, marketplaces, and wallets.

ERC-721 Key Functions:

  1. balanceOf(address owner): Returns the number of NFTs owned by an address.
  2. ownerOf(uint256 tokenId): Returns the owner of the NFT with the given tokenId.
  3. safeTransferFrom(address from, address to, uint256 tokenId): Transfers an NFT safely from one address to another.