Skip to main content

ERC721

ERC721 is the standard for representing NFTs (non-fungible tokens).

We recommend using the optimized ERC721A standard for integrating NFT functionality into your smart contract.

Base Contracts Implementing This Feature

Unlocked Features

By implementing the ERC721A standard, you unlock the following features in the SDK and dashboard:

SDK FeatureDescription
Get NFT BalanceView the number of NFTs owned by a wallet address
View NFT MetadataView the token URI and fetch the metadata from IPFS
Transfer NFTTransfer an NFT from one wallet to another

Implementing It Yourself

This section is meant for advanced users who want to write the functionality from scratch.

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@thirdweb-dev/contracts/eip/ERC721A.sol";

contract Contract is ERC721A {
constructor(
string memory _name,
string memory _symbol
)
ERC721A(
_name,
_symbol
)
{}
}