ERC-721: Getting Started - What is an ERC-721 and how to deploy ERC-721 smart contracts

thirdweb
12 Jun 202428:29

Summary

TLDRIn this informative video, Sean Wata guides viewers through deploying ERC 721 smart contracts using Thirdweb. He explains the ERC 721 standard, contrasting it with ERC 20, highlighting its use for unique digital assets like NFTs. The tutorial covers deploying various ERC 721 contracts, including NFT Collection, NFT Drop with claim conditions, and Open Edition NFTs, showcasing their distinct use cases and functionalities. Viewers learn how to mint NFTs, set claim conditions, and even embed NFT drops on websites, providing a comprehensive guide for creating and managing NFT projects on the blockchain.

Takeaways

  • πŸ“˜ The video provides an in-depth tutorial on deploying ERC 721 smart contracts, which are used for creating non-fungible tokens (NFTs).
  • πŸ” ERC 721 is distinguished from other standards like ERC 20 by its non-fungibility, meaning each token is unique and cannot be exchanged one-to-one with another token.
  • 🎨 The script covers the use of 'Thirdweb' to deploy smart contracts, offering a user-friendly platform for creating and managing NFTs.
  • πŸ–ΌοΈ NFTs, as explained in the script, are often used for digital collectibles, such as unique digital art, avatars, or in-game items, each with its own distinct value and attributes.
  • πŸ› οΈ The video demonstrates how to deploy different types of ERC 721 smart contracts, including the standard NFT collection, NFT drop, and open edition contracts.
  • 🏷️ Metadata is crucial for NFTs, as it provides information about the token, such as its name, description, and media file references, which are unique to each token.
  • πŸ’Ύ The script explains the process of 'lazy minting', which involves preparing the metadata for NFTs in advance, allowing for efficient claiming and minting when needed.
  • πŸ”‘ The video discusses the importance of setting permissions for who can mint NFTs, with options to restrict minting to the owner or allow a list of approved wallets.
  • πŸ’° It outlines how to set up claim conditions for NFT drops, including the ability to set prices, claim limits, and phases for different groups of claimants.
  • 🌐 The deployment process is shown to be compatible with any EVM (Ethereum Virtual Machine) compatible blockchain, providing flexibility in choosing the deployment network.
  • πŸ“ˆ The script also touches on the analytics and event tracking features available for smart contracts, allowing creators to monitor their NFTs' performance and transactions.

Q & A

  • What is the main focus of the video by Sean Wata?

    -The video focuses on deploying ERC 721 smart contracts, explaining the ERC 721 standard, and showcasing how to use the third web platform to create various types of ERC 721 NFT contracts.

  • What is the difference between ERC 721 and ERC 20 tokens as explained in the video?

    -ERC 721 tokens are non-fungible tokens (NFTs), meaning each token is unique and cannot be exchanged one-to-one, unlike ERC 20 tokens which are fungible and every token has the same value and attributes.

  • What are some use cases for ERC 721 tokens mentioned in the video?

    -Use cases for ERC 721 tokens include digital collectibles such as unique digital art, virtual pets, wearable items in games, and other digital assets that need to represent individual ownership and uniqueness.

  • How does the video introduce the third web platform for deploying smart contracts?

    -The video introduces the third web platform by showing the user interface, explaining how to connect a wallet, navigate to the contracts tab, and deploy pre-built ERC 721 smart contracts by filling out contract parameters.

  • What is the significance of the 'lazy mint' feature in the context of the NFT drop contract?

    -The 'lazy mint' feature allows for the prepping of NFTs by creating their metadata without minting the actual tokens. This means when someone claims an NFT, the metadata is already prepared, and the NFT can be minted and assigned to the claimant promptly.

  • How can royalties be set up for an ERC 721 smart contract as described in the video?

    -Royalties can be set up during the deployment of the smart contract by specifying the wallet address to receive the royalties and the percentage of royalties for secondary market sales.

  • What is the purpose of the 'claim condition' functionality in an NFT drop contract?

    -The 'claim condition' functionality allows the contract owner to set specific conditions under which NFTs can be claimed by users, such as setting a price for the claim, limiting the number of NFTs per wallet, and defining phases of availability.

  • How does the video demonstrate the creation of an NFT with the third web platform?

    -The video demonstrates the creation of an NFT by navigating to the NFTs tab, clicking on 'mint an NFT', providing a name, media file, description, properties, and attributes, and then confirming the transaction to mint the NFT to the user's wallet.

  • What is the difference between the NFT collection smart contract and the NFT drop contract?

    -The NFT collection smart contract allows the owner to mint unique NFTs with distinct metadata, while the NFT drop contract enables the public or specified users to claim NFTs that have been pre-minted with metadata prepared in advance.

  • How is the open edition ERC 721 smart contract different from the other contracts discussed in the video?

    -The open edition ERC 721 smart contract differs by allowing multiple tokens to share the same metadata. This is useful for scenarios where all NFTs in a collection look the same, such as event tickets, and only the token ID differs.

Outlines

00:00

πŸš€ Introduction to ERC 721 Smart Contracts

Sean Wata introduces a tutorial video on deploying ERC 721 smart contracts. He outlines the video's content, which includes an explanation of the ERC 721 standard, its distinction from ERC 20, and a demonstration of deploying these contracts using thirdweb. The video promises to cover various types of ERC 721 contracts, their use cases, and the rationale for choosing one over another. The tutorial begins with a fundamental understanding of ERC 721 as non-fungible tokens (NFTs), often associated with digital collectibles, and their unique attributes compared to fungible tokens like ERC 20.

05:01

🎨 Use Cases and Deployment of ERC 721 Tokens

The speaker delves into the use cases of ERC 721 tokens, such as digital collectibles, virtual pets, and in-game items, emphasizing their unique value and rarity. He proceeds to a live demonstration on deploying ERC 721 smart contracts using thirdweb, detailing the process from connecting a wallet to deploying a contract. The video showcases the pre-built contracts available on thirdweb and guides viewers on how to fill in contract parameters, select a blockchain network, and deploy their contracts, recommending the use of testnets for initial testing.

10:02

πŸ“ Navigating the Thirdweb Dashboard and Creating NFTs

After deploying an ERC 721 smart contract, Sean navigates the thirdweb dashboard, explaining its features such as analytics, code snippets, and the Explorer tab for interacting with the contract. He demonstrates how to mint NFTs by providing a name, media file, and other metadata, clarifying the difference between the NFT token and its associated media. The dashboard also allows for setting up royalties, primary sales, and managing permissions for NFT minting, giving the contract owner control over who can create new tokens.

15:02

πŸ”‘ Permissions and Advanced Features of ERC 721 Contracts

The tutorial continues with managing permissions for NFT creation, allowing for the addition or removal of wallet addresses that have minting privileges. Sean also introduces the concept of 'lazy minting,' which prepares NFTs for future claiming without immediately creating them. He discusses the 'claim conditions' feature in NFT drop contracts, which sets the parameters for when and how NFTs can be claimed by users, including setting claim phases, prices, and limits per wallet.

20:04

🌐 Embedding NFT Drops and Customizing Claim Conditions

Sean demonstrates how to set up claim conditions for an NFT drop, allowing the public or specific wallet addresses to claim NFTs under certain parameters. He introduces the 'embed' feature, which allows creators to embed the NFT drop interface on their websites for a seamless user experience. The video shows how to customize the embed with themes and colors, and how to use it to claim NFTs directly from the website, enhancing the accessibility and user-friendliness of the NFT claiming process.

25:04

🎟️ Open Edition ERC 721 Contracts for Shared Metadata

The final part of the video covers the open edition ERC 721 smart contract, which is used for minting NFTs that all share the same metadata, such as event tickets or collectible items that are identical in nature. Sean walks through the deployment process, setting the metadata once for all tokens, and configuring claim conditions similar to the NFT drop contract. He illustrates the process of minting multiple NFTs that reference the same metadata, simplifying the creation of large collections with uniform attributes.

πŸ‘‹ Conclusion and Final Thoughts

Sean concludes the video by summarizing the key points covered, including the ERC 721 standard, the different types of smart contracts deployed through thirdweb, and the practical steps for deploying and managing these contracts. He encourages viewers to like, subscribe, and turn on notifications for more content, and offers assistance through a support ticket link in the video description for any questions or help needed in deploying their own ERC 721 smart contracts.

Mindmap

Keywords

πŸ’‘ERC 721

ERC 721 is a standard for creating non-fungible tokens (NFTs) on the Ethereum blockchain. In the video, it is the main focus as the presenter discusses deploying ERC 721 smart contracts. The standard allows for unique digital assets, each with distinct attributes and ownership, which differentiates them from ERC 20 tokens that are interchangeable and identical.

πŸ’‘NFT

NFT stands for non-fungible token, which is a digital asset that represents ownership of a unique item or piece of content, such as digital art or collectibles. In the script, NFTs are explained as being different from ERC 20 tokens due to their unique attributes, and the video provides an overview of how to deploy NFTs using the ERC 721 standard.

πŸ’‘Thirdweb

Thirdweb is a platform mentioned in the video that simplifies the process of deploying smart contracts, including ERC 721 NFTs. It offers a user-friendly dashboard and pre-built contracts that can be easily customized and deployed by filling out a few parameters, which is demonstrated in the script.

πŸ’‘Smart Contracts

Smart contracts are self-executing contracts with the terms of the agreement directly written into code. In the context of the video, ERC 721 smart contracts are a type of smart contract that facilitates the creation and management of NFTs, with specific functionalities like minting and claiming NFTs.

πŸ’‘Minting

Minting in the context of NFTs refers to the process of creating a new token and adding it to a blockchain. The video script explains how to mint NFTs using ERC 721 smart contracts, which is a key step in bringing a unique digital asset into existence.

πŸ’‘Metadata

Metadata is data that provides information about other data. For NFTs, metadata includes details like the name, description, and attributes of the digital asset. The video emphasizes the importance of metadata in defining the unique characteristics of each NFT and how it is linked to the ERC 721 token.

πŸ’‘Claim Conditions

Claim conditions are the rules or requirements set for users to claim NFTs from a smart contract. The script discusses how these conditions can be configured, such as allowing only certain addresses to claim NFTs or setting price and limit for public claims.

πŸ’‘NFT Collection

An NFT collection is a group of NFTs that are often thematically related or part of a specific series. The video script describes deploying an 'NFT Collection' smart contract, which allows the creator to mint multiple unique NFTs for a collection.

πŸ’‘NFT Drop

NFT drop refers to the release of NFTs for sale, often with a focus on limited availability or special access. The script introduces an 'NFT Drop' contract, which includes functionality for users to claim NFTs under certain conditions, like paying a price or being on an allow list.

πŸ’‘Open Edition ERC 721

An Open Edition ERC 721 contract allows for the minting of multiple NFTs that all share the same metadata. This is useful for scenarios where identical NFTs are desired, such as event tickets or limited edition digital goods. The video demonstrates how to deploy such a contract and set its metadata.

Highlights

Introduction to deploying ERC 721 smart contracts using third web.

Explanation of ERC 721 as a non-fungible token (NFT) standard.

Difference between ERC 721 and other standards like ERC 20.

Uniqueness of each ERC 721 token due to non-fungibility.

Use cases of ERC 721 tokens, including digital collectibles.

Third web platform demonstration for deploying smart contracts.

Overview of pre-built ERC 721 smart contracts available on third web.

Deployment process of a standard ERC 721 smart contract.

Role of royalties in secondary market sales of NFTs.

How to set up primary sales for NFTs.

Selection of an EVM-compatible blockchain for deployment.

User-friendly UI of third web for managing smart contracts.

Minting NFTs and linking them to metadata.

Common misconceptions about NFTs and their actual technical representation.

Permissions tab for controlling who can mint NFTs.

Deployment of an NFT drop contract for claimable NFTs.

Setting claim conditions for NFT drops.

Use of embed feature for launching NFT collections on websites.

Introduction to Open Edition ERC 721 for identical NFTs.

Deployment and setup of Open Edition metadata for ERC 721.

Claiming process in Open Edition ERC 721 contracts.

Summary of the video's content and the different types of ERC 721 contracts.

Transcripts

play00:00

hey everyone Sean Wata here back with

play00:01

another video and in today's video what

play00:04

we're going to be doing is deploying our

play00:06

very own ERC 721 smart contracts this

play00:10

video is going to cover a lot of things

play00:12

and an overview of what we're going to

play00:13

be covering we'll first go over what is

play00:15

the erc721 standard how is it different

play00:18

from your other standards like erc20 and

play00:20

ERC

play00:21

1155 then we'll jump into third web and

play00:24

we'll show you how to deploy your very

play00:26

own ERC 721 smart contracts we'll go

play00:29

through some of the different erc721

play00:31

smart contract that you can deploy

play00:33

easily using third web and what some of

play00:35

the different use cases for those smart

play00:36

contracts can be and why you would

play00:38

choose one over another and that is

play00:40

again a quick overview of what we're

play00:42

going to be going over in this video but

play00:44

to start off let's first cover what is

play00:45

the ERC 721 standard and how is it

play00:48

different from your other standards like

play00:49

erc20 so an ERC 721 is a non fungible

play00:54

token or an nft now you may have heard

play00:58

of an nft before you might be familiar

play01:00

with it they are normally referenced and

play01:03

referred to when people talk about

play01:05

digital Collectibles you might know it

play01:07

as like those Avatar or profile pictures

play01:10

of different animals or different you

play01:12

know styles of Art and that is what an

play01:15

erc721 token is they are nonf fungible

play01:19

tokens that is what nfts stand for but

play01:22

what does non-fungible mean let's you

play01:25

know break that down a bit first so

play01:27

non-fungible means that each token is

play01:29

unique it can't be exchanged one to one

play01:32

because one token uh differs in value to

play01:35

another token unlike an erc20 where all

play01:38

the tokens that you create are all the

play01:41

same they have the same values same

play01:43

attributes uh erc721 each of the tokens

play01:46

created are unique in their own way you

play01:49

can think of this as like maybe you have

play01:50

a piece of art if you have a painting

play01:53

it's not the same as other paintings

play01:55

each piece is unique it has its own

play01:57

value therefore it is non one ible now

play02:00

let's cover some maybe use cases of ERC

play02:03

721 tokens or nfts a popular use case

play02:07

and you might hear people mention this a

play02:09

lot when they talk about nfts but

play02:11

digital Collectibles imagine you have a

play02:13

platform where you can sell buy and

play02:16

trade these unique digital assets uh you

play02:18

can think of these like maybe um digital

play02:21

art virtual pets wear items in games uh

play02:24

all these different things can be

play02:26

represented by an ERC 721 token and this

play02:30

ensures that every item is distinct and

play02:32

can be owned and traded individually the

play02:34

non-f fungibility of these tokens make

play02:36

each digital asset unique and valuable

play02:40

there can be Rarity to these as well and

play02:43

depending on the attributes that you

play02:45

provide these digital assets that can

play02:47

change the value of what they are worth

play02:50

to one another so now that we have a

play02:51

little better understanding of what an

play02:53

erc721 token is let's jump on the

play02:56

computer here and let's deploy and go

play02:57

over some of the different ERC 72 when

play03:00

smart contracts third web has to offer

play03:02

all right so on my computer here I am on

play03:04

third web.com I've connected my wallet

play03:07

and I am now on the third web dashboard

play03:10

from here we have our different tabs

play03:12

here and we're going to head on over to

play03:14

the contracts Tab and here on the

play03:16

contracts tab you can see a list of all

play03:18

the contracts you've deployed using

play03:20

third web and up in the top right you'll

play03:23

see a blue deploy contract button so

play03:25

click on that and this is the list or

play03:28

our Explorer page of all the different

play03:31

pre-built contracts that you can deploy

play03:33

through third web now we have these

play03:35

pre-built contracts they're easy to

play03:36

deploy all you need to do is fill out a

play03:39

few pieces of information for the

play03:41

contract parameters and you can click a

play03:43

button and deploy the smart contract now

play03:46

again we're going be covering ERC 721

play03:48

smart contracts there are a few of them

play03:50

here and most of them are going to be

play03:53

under this NFS tab if you remember

play03:55

earlier uh erc721 is a non-fungible

play03:59

token or nft and we're going to just hit

play04:02

view all in this nft section here to

play04:04

look at the nft contracts that we can

play04:06

deploy now you're going to see some ERC

play04:09

721 smart contracts along with ERC 1155

play04:13

smart contracts and we'll cover ERC 1155

play04:16

in a different video uh but this one

play04:19

we're just going to be covering the ERC

play04:20

721 smart contracts now we do have a few

play04:24

of them the three that we're going to be

play04:26

going over is these top three right over

play04:28

here we're going to go over the nft

play04:30

collection which is your standard ERC

play04:33

721 smart contract we're going to be

play04:35

going over the nft drop contract this is

play04:38

going to be a contract that maybe you're

play04:40

more familiar with but it's an ERC 721

play04:43

smart contract with the ability for

play04:46

other people to claim ERC 721 nfts from

play04:49

the contract so this is like your

play04:51

traditional nft drop maybe if you're

play04:53

familiar with like those pfps or avatars

play04:56

uh and you want to charge someone for

play04:57

claiming an nft you'll use the nft drop

play05:01

and we'll go over what the drop

play05:02

functionality and claim condition

play05:04

functionality is in a bit and then we

play05:07

have the open Edition ERC 721 so we'll

play05:11

go through all of these different ones

play05:14

in depth as we start to deploy them but

play05:16

we'll start off here with the nft

play05:18

collection so if I click on this you can

play05:20

see this is an ERC 721 smart contract

play05:24

you can see some of the use cases and

play05:25

examples of why you might want to use

play05:27

this smart contract you can create a of

play05:29

many collection for maybe like your

play05:31

photography or your artwork uh you can

play05:33

create a one ofone nft collection uh

play05:36

maybe you want to Min your artwork as

play05:38

nft sell them on a Marketplace um these

play05:40

are going to be for you to create these

play05:43

again unique nfts and the difference is

play05:47

only you as the deployer and owner of

play05:49

this smart contract are going to be able

play05:51

to create these nfts for the smart

play05:53

contract if you look at the nft drop

play05:56

which will deploy next you'll be able to

play05:58

allow other people to claim and mint

play06:00

these nfts uh but the nft collection

play06:03

here this is only strictly for if you

play06:05

the owner wants to be able to have the

play06:08

sole permission to uh mint and create

play06:11

these nfts so what we'll do is hit the

play06:14

deploy now on the top right you'll see

play06:15

you can fill out your contract

play06:17

parameters here from the name uh we'll

play06:19

just call this our nft

play06:21

collection uh symbol we just call this

play06:24

nft you can add a contract image a

play06:26

description now you can also set the

play06:28

royalties and price Ary sales so

play06:30

royalties this is for if you sell your

play06:32

NFC on a secondary Market this is the

play06:34

wallet address that the royalties are

play06:36

going to go to and you can set to the

play06:38

percentage of royalties here so if the

play06:39

marketplace that you're selling supports

play06:41

royalties this is what it's going to be

play06:44

taking and that's where it's going to be

play06:45

sending the royalties to you have

play06:47

primary sales so this is going to be the

play06:48

initial sales of nfts this is the wallet

play06:51

address that it gets sent to now down

play06:54

here at the bottom you'll see network in

play06:55

Chains where you can select the drop

play06:57

down and you can select any evm

play06:59

compatible blockchain uh you can select

play07:01

main Nets test Nets you can just put

play07:03

search the network name or put the chain

play07:05

ID in here and you can again deploy the

play07:07

smart contract to any evm compatible

play07:09

blockchain out there so we make it super

play07:12

easy uh for you to deploy a very own nft

play07:15

or ERC 721 smart contracts now I have

play07:18

some sepolia eth here so I'm just going

play07:20

to click on sepolia and I highly suggest

play07:23

that you deploy your smart contracts to

play07:25

a test net first try it out get some

play07:27

test net funds and you knowest test out

play07:29

deploying these smart contracts before

play07:31

you go to mainnet but once you have

play07:33

everything filled out here go ahead and

play07:35

hit deploy now you'll get a popup here

play07:38

this is going to uh give you the

play07:40

transaction here to deploy your smart

play07:43

contract so you're just going to have to

play07:44

pay for the gas I'm going to hit confirm

play07:46

then we'll get another popup here this

play07:48

is going to be a signature request for

play07:50

adding your contract to your third web

play07:52

dashboard now our dashboard gives you a

play07:54

really userfriendly UI to manage and uh

play07:59

EX Ute and interact with your smart

play08:01

contracts so he just going to sign that

play08:03

right over

play08:04

there and once that is successfully

play08:06

deployed you'll be brought to your

play08:08

contract dashboard you'll see here the

play08:10

name of your contract uh the chain that

play08:12

you deployed it to uh your contract

play08:14

address here you can copy that um you

play08:16

have a contract checklist so you can see

play08:19

we already deployed our contract the

play08:20

next thing to do is to Mint our own nfts

play08:24

uh which we'll go over in just a bit uh

play08:26

but we'll first go over some of the

play08:28

other navigation here on the left so

play08:30

this is your overview page this gives

play08:32

you a very general overview of your

play08:34

smart contract from the analytics the

play08:36

latest events and everything uh you can

play08:39

look at code Snippets so if you're

play08:40

looking to build or interact with the

play08:42

smart contract through our SDK uh we

play08:45

have typescript um react you can use

play08:48

this in unity uh react native you'll

play08:51

have all the code Snippets and

play08:53

everything here to kind of get you

play08:54

started so you can see if we want to

play08:56

transfer an nft this is the code snippet

play08:59

here you can copy that you can start

play09:00

building out your frontend applications

play09:02

for interacting with your smart contract

play09:04

uh below that we have the Explorer tab

play09:06

this is where you can actually interact

play09:08

with your smart contract you can view

play09:11

all the write and read functions uh you

play09:13

can execute these write functions here

play09:15

you can think of it as a like how you

play09:18

interact with your smart contract do

play09:19

something like a block Explorer you can

play09:21

again you can mint you can do and

play09:24

execute any of those functions from the

play09:25

smart contract directly right here in

play09:28

your dashboard below that you have uh

play09:30

events so all the events that get

play09:32

emitted to the blockchain through the

play09:34

smart contract will be viewable here you

play09:37

have analytics as well so you can view

play09:39

things like unique wallets total

play09:40

transactions um and you can view the

play09:42

analytics of your smart contract uh we

play09:45

have payments here so this is if you

play09:46

want to enable credit card checkout you

play09:48

can enable that here we have your

play09:51

settings so if you want to add or change

play09:54

the contract metadata you can change

play09:56

that here uh when you update it just

play09:58

know that you have to pay for gas again

play10:00

so if you want to set it up again

play10:01

beforehand like when we deployed the

play10:03

smart contract you can do it there if

play10:05

not you'll just have to configure it

play10:07

right here in your settings we have your

play10:08

sources tab this is going to give you

play10:10

all of the solidity code here that is

play10:14

used to create this smart contract so

play10:16

you can you know open it up and view all

play10:18

of the solity code here if you want then

play10:20

if we drop down here into the bottom we

play10:21

have our nfts Tab and this is where we

play10:23

can start creating our nfts for our

play10:26

collection so right over here I can mint

play10:29

an nft uh I can now create the nft that

play10:32

I want by providing it a name the media

play10:36

this is can be an image uh mp3 mp4 you

play10:39

can I think there's a yeah list of

play10:42

different uh media types that you can

play10:44

put in here a 3D model PDF HTML whatever

play10:47

you want the nft to be so how an nft or

play10:50

an ERC 721 works is attached to the

play10:53

Token is a reference to a piece of

play10:56

metadata and that metadata is going tocl

play10:59

include things um like the name uh the

play11:02

reference to the image or the media file

play11:04

is going to have a description you can

play11:06

add attributes to it and that is what

play11:09

connects the attributes and the

play11:11

description of the nft to the Token it's

play11:14

this piece of metadata here so a lot of

play11:16

people think that the ERC 721 or an nft

play11:20

is like a pitcher uh and that's the

play11:22

common misconception that majority of

play11:25

the world I think or majority of people

play11:27

who kind of got their first taste of

play11:29

nfts as you know these pictures of

play11:32

monkeys that were selling for hundreds

play11:33

of thousands of dollars um that isn't

play11:36

technically um the nft itself the nft is

play11:39

the token that is minted and created on

play11:43

the blockchain the image and the media

play11:45

is just what that token is referencing

play11:47

to and that's just the visual aspect

play11:49

that people can see um when they are

play11:52

interacting And when they see an nft so

play11:55

again you can create your own nfts here

play11:57

you can just add a name so just say we

play11:59

can and upload a file so let me just uh

play12:01

just take like our little blob friend

play12:02

here you can add a description uh you

play12:05

can add properties and traits and then

play12:06

you can mint the nft and what this is

play12:09

going to do it's going to create this

play12:10

nft it's going to create that erc721

play12:11

token it's going to create the metadata

play12:14

and Link that token to this piece of

play12:16

metadata here we'll confirm that to

play12:19

minted and this nft will then be minted

play12:21

to my own personal wallet from here I

play12:24

can you know list the nft for sale on

play12:26

the marketplace maybe open C rar uh and

play12:29

then I can put a price onto it and

play12:31

people can then you know purchase this

play12:32

nft on those marketplaces or if you want

play12:36

you we actually have Marketplace

play12:37

contracts and you can deploy your own

play12:39

and build your own Marketplace to sell

play12:40

your own nfts so there you go you can

play12:43

see now we have our nft we have the

play12:45

token ID uh which starts at an index of

play12:48

zero and goes up from there you have

play12:50

your media which is our image of our

play12:52

blob friend here the name that I gave it

play12:55

uh and then the owner so the owner is my

play12:57

wallet address that deployed smart

play12:59

contract because I'm the creator of the

play13:01

nft and again from there we now have an

play13:03

nft that we can list um on different

play13:06

marketplaces and we can use it however

play13:08

we want to down here at the bottom uh

play13:11

below the nfts tab there's the

play13:12

permissions tab this is where we can

play13:15

give permission to other wallets to be

play13:16

able to create nfts so maybe I have a

play13:19

team of artists or a team of people who

play13:21

want to create nfts for this smart

play13:22

contract right now by default it's the

play13:25

wallet address that deploys a smart

play13:27

contract but I can add other wallet

play13:29

addresses to here if I want to so um I

play13:32

can also remove all the wallet addresses

play13:35

completely and now no one has the

play13:36

ability to add or create new nfts on the

play13:39

contract so maybe I want to create a

play13:40

collection of 100 unique tokens and once

play13:44

those 100 unique tokens are created I

play13:46

want to remove permission so no one else

play13:48

can ever add tokens or Mint new nfts to

play13:51

the contract I can remove everyone off

play13:53

of it update the permissions and then

play13:55

pay for the gas to execute that so in

play13:58

permissions you can control the mentor

play14:00

and Creator and that does it for your

play14:02

erc721 nft collections let's come back

play14:05

to contracts here and let's deploy

play14:06

ourselves another contract so we're

play14:08

going to hit come back to the contracts

play14:09

tab we're going to hit deploy contract

play14:11

go back to the nft section here and the

play14:13

next one we're going to go over is the

play14:15

nft drop so I'm going to select this one

play14:18

here and the nft drop you can see the

play14:20

use cases this is going to be for your

play14:22

pfp collections maybe what you're

play14:24

normally used to when you see nfts out

play14:26

there U maybe you want to release art

play14:29

work um and you know allow people to

play14:31

claim and pay a certain price uh to

play14:33

claim those nfts so what we're going to

play14:35

do is just we're going to hit deploy now

play14:37

we're going to fill out the contract

play14:39

parameters similar like how we did with

play14:40

the nft collection contract I'm just

play14:43

going to call this one nft uh drop and

play14:46

then we can give it a symbol here we'll

play14:48

just say nft drop here and you can add

play14:50

an image description you can fill out

play14:52

the royalties and primary sales again

play14:54

just like how we went over in the nft

play14:56

collection you can come down here Selec

play14:58

the network or chain you want to deploy

play14:59

to select the drop down select that

play15:01

chain and then deploy now confirm that

play15:04

transaction you get another popup here

play15:06

for a signature request again to add it

play15:08

to your dashboard so you can sign

play15:11

that and once your contract has been

play15:13

successfully deployed you'll be brought

play15:15

to your contract dashboard similar to

play15:17

like the nft collection you'll have your

play15:18

contract checklist here this one's a bit

play15:21

longer and the reason for that is

play15:22

because we have to set a claim condition

play15:25

and that is again that functionality

play15:27

that you get in an NF T drop or any type

play15:30

of contract that has the drop extension

play15:33

um it just has a claimable extension

play15:35

that allows users to claim the nfts so

play15:39

we'll come here to the left hand

play15:40

navigation we'll come to the nfts tab

play15:42

first and what we'll have to do is lazy

play15:44

mint nfts to the contract so lazy mint

play15:47

is not minting to create the token but

play15:50

we're pre you think of lazy mint as like

play15:52

a pre-int we're prepping the nft to be

play15:54

created so that when someone claims an

play15:57

nft we have the meta data and we know

play15:59

what nft that person is going to be

play16:02

receiving so you can single upload and

play16:04

single upload is just like how we did

play16:06

with our nft collection you can create

play16:08

all of the nfts and metadata all within

play16:10

this and you can provide it a name the

play16:13

media file description properties

play16:16

attributes um but if you're doing

play16:17

something like a pfp collection or a

play16:19

larger collection normally you'll

play16:21

generate those pieces of metadata so

play16:24

what you can do as well is do a batch

play16:26

upload you have example CSV and Json

play16:29

files here so you can download those and

play16:31

you can upload all 100 all 500 all

play16:35

10,000 of the pieces of metadata that

play16:38

you want in your nft collection you can

play16:40

just drop those files in here and then

play16:42

you'll be able to Lazy Min them to your

play16:45

contract on the left hand side here

play16:46

you'll see a few different things um so

play16:48

what I'm going to do actually is let's

play16:49

just uh lazy Mint one nft here let me

play16:53

just add in our blob friend here and

play16:55

lazy mint this to our contract so we can

play16:58

you know see an example of everything

play17:00

we're going to go through here so let me

play17:01

just confirm this transaction right here

play17:03

all right so very similar to how we

play17:05

created our nft uh collection contract

play17:07

or the non-rop version of our ERC 721

play17:11

contract and once we lazym this nft here

play17:14

so you'll see that that was a lazy mint

play17:15

not a mint like the nft collection

play17:18

contract so we have our token ID we have

play17:20

our media type the name similar to like

play17:22

how we had before but the owner the

play17:24

owner is no one the owner is null right

play17:26

now this nft hasn't been fully created

play17:29

and sent to a wallet address in our

play17:32

previous ERC 721 contract when we

play17:35

created and minted the nft it was

play17:36

automatically put into our wallet and

play17:39

created for us this one again is a lazy

play17:42

Mint or kind of like a Prem mint where

play17:44

we're prepping the metadata of the nft

play17:47

for when someone does actually claim it

play17:50

so I have one nft in here uh we'll come

play17:52

down here to the claim conditions and

play17:55

the claim conditions this is the

play17:57

features uh that you get with with the

play17:59

drop functionality now there are

play18:01

different conditions that you can set up

play18:03

and we'll quickly go through them so

play18:05

only owner and you can hover over the

play18:07

information icon here for a little

play18:09

snippet about what it is only owner

play18:11

means that only the owner or deployer of

play18:13

the contract has the ability to claim

play18:16

the nft example of this is you have a

play18:19

maybe a collection of a 10,000 pfp

play18:21

project that you want to uh launch and

play18:24

you want to claim a certain set amount

play18:27

for maybe distribution or for your team

play18:30

members uh you can set the first claim

play18:32

phase to only owner you can deploy the

play18:35

contract get everything set only you as

play18:37

the owner will be able to claim maybe

play18:39

the first 25 nfts or 100 nfts and then

play18:43

you can set it to the following claim

play18:45

phases um and those claim phases the

play18:48

next one will be like an allow list so

play18:49

this is where you can have a list of

play18:51

wallet addresses and only those wallet

play18:53

addresses will be able to claim so if

play18:56

you want to again create a list uh

play18:59

through whatever means um to collect

play19:02

those wallet addresses you can provide

play19:04

it with the wallet addresses and only

play19:05

those wallet addresses will be able to

play19:07

claim uh we're going to skip up to the

play19:09

public one and then we'll come back to

play19:10

this public with allow lless but the

play19:12

public this is going to apply to all

play19:15

wallets so public means it's open to the

play19:18

public uh you can set prices you can set

play19:21

uh claim limits uh but anyone will be

play19:23

able to claim within this phase then

play19:26

there's a public with allow list this is

play19:28

still a public claim phase but you can

play19:31

override certain things with an allow

play19:34

lless so let's just say in the public uh

play19:36

with allow list the public price is 10

play19:39

maic right let's just use that as an

play19:41

example U but maybe if there is a list

play19:44

of wallets in their allow list that can

play19:46

purchase the nfts for fmatic so the

play19:49

allow list will overrate the public

play19:52

parameters that we input for the public

play19:55

with allow list so those are the four

play19:57

different claim conditions uh once you

play19:59

select one I'll just select a public one

play20:00

for an example you put in the name of

play20:03

the phase when it's going to start uh so

play20:06

you can set up multiple claim phases and

play20:07

then it'll just roll into the next one

play20:09

depending on the start time and date you

play20:10

can put how many nfts will be in this

play20:12

phase so maybe with the allow list one

play20:15

it's an allow list but it's for the

play20:16

first 100 people you can just say 100

play20:19

nfts here you can put in a price and you

play20:21

can also put in how many nfts per wallet

play20:24

can be claimed so once you set

play20:26

everything up you just hit save phase

play20:28

you get a transaction that appears you

play20:30

just have to confirm and pay for the gas

play20:33

there you go and now we have a claim

play20:35

condition set so again this is what the

play20:38

drop functionality allows you to do um

play20:41

again you set up all your nfts here you

play20:44

can upload all your nfts set the claim

play20:46

conditions now there is one extra tab

play20:48

here uh that you see that we didn't have

play20:51

on the previous nft collection smart

play20:54

contract and that's the embed button and

play20:56

the embed button allows you to get uh

play20:58

create create your own embed which it'll

play21:00

give you a preview down here and you can

play21:03

then plug this embed into your own

play21:05

website um wherever you want to put it

play21:08

you can customize it right over here so

play21:10

you can add gasless if you want to do

play21:12

open Zeppelin relayer or bonom relayer

play21:15

you can select your theme so we can say

play21:17

dark you can see the preview down here

play21:19

or we can set the primary color let's

play21:20

just say blue to match our little blue

play21:22

blob FR and you can just copy this

play21:24

iframe right over here plug it into

play21:26

wherever you want again this is going to

play21:29

give you uh a full embed so you can see

play21:32

here we have only one nft uh zero has

play21:35

been minted uh but we have to connect

play21:37

our wallet so we can like connect a

play21:38

metamask wallet here once we're

play21:41

connected you can see we can Mint one

play21:42

nft uh it's free cuz we didn't put a

play21:45

price in here so let's just claim this

play21:47

and you get a transaction here you can

play21:49

see we're going to claim token ID zero

play21:52

uh we'll confirm that pay the gas and

play21:54

once we claim the nft you'll see one out

play21:57

of one here so again you can take this

play21:59

embed plug it into wherever you want to

play22:01

and you can you know launch your nft

play22:04

collection as easy as that there you go

play22:05

you can see we successfully minted and

play22:07

now it is sold out because again we only

play22:09

had one nft uh but there you go we can

play22:11

close that and there you have it again

play22:14

you can copy and paste this embed

play22:15

wherever you want to and that does it

play22:18

and covers the nft drop now we're going

play22:21

to go over one last ERC 721 contract I'm

play22:24

going to open up the contracts tab again

play22:27

and we're going to go to deploy contract

play22:29

and the final one that we're going to go

play22:30

over is this open Edition ERC 721 so

play22:34

what is an open Edition erc721 an open

play22:38

addition ERC 721 is similar to like the

play22:42

nft drop smart contract but instead of

play22:46

you know creating different nfts for

play22:47

each of the tokens all the tokens are

play22:50

going to share the same metadata so you

play22:53

set One Singular metadata and every

play22:55

token minted is going to share that

play22:58

metadata data so this is great for

play23:00

things like maybe like a concert ticket

play23:02

or maybe you want to launch uh something

play23:06

that uh nft and all the nfts are going

play23:09

to look the same and have the same

play23:10

attributes um and but maybe you don't

play23:12

want an ER something like an ERC 1155 uh

play23:16

you still want an ERC 721 but you want

play23:18

to share that metadata instead of you

play23:20

having to you know duplicate the same

play23:23

metadata over and over and batch upload

play23:25

it you can just set that metadata once

play23:27

um and then and all the tokens minted

play23:30

will always share that same metadata

play23:32

we'll go over an example of this we'll

play23:33

deploy this smart contract um we'll just

play23:36

call this our open nft and we'll just

play23:38

say open again setting up your contract

play23:40

parameters selecting your chain and

play23:42

everything uh I'm going to hit deploy

play23:44

now now you're going to see there's one

play23:45

extra step here and that's called

play23:47

setting your nft metadata so we're going

play23:49

to have to confirm through two

play23:51

transactions here so there you go um

play23:54

another transaction this is for setting

play23:55

the metadata we're going to hit confirm

play23:57

and then we'll get that last popup which

play23:58

is a signature request to add the

play24:01

contract to our dashboard here we go so

play24:03

signature request we'll sign that it has

play24:05

been successfully deployed we brought to

play24:07

our open addition ERC 721 smart contract

play24:11

and you can see here nft metadata is set

play24:14

it's preset um with a blank metadata so

play24:17

we still have to set that up and then we

play24:18

need to set up our claim condition so

play24:20

we're going to come over to the nfts tab

play24:22

and you'll see a button here that we

play24:23

haven't seen previously in the other

play24:25

smart contracts and that's the set nft

play24:27

metadata so if we set the metadata here

play24:31

this metadata that we set up here again

play24:33

is going to be for all tokens claimed so

play24:36

we can just make our little blob friend

play24:37

again here you can add all your

play24:39

descriptions whatever you want to set

play24:40

the metadata as you can create that here

play24:42

you only need to set it once so we set

play24:45

the metadata here and then we're going

play24:46

to

play24:48

confirm and then once we have that set

play24:51

again every nft that gets minted to the

play24:54

smart contract is going to share that

play24:55

metadata so over here we have a claim

play24:58

condition we can set the same type of

play25:00

claim conditions like we went over with

play25:02

the nft drop contract so you have the

play25:04

same for here I'm just going to set up a

play25:06

public one and not charge any uh we're

play25:09

going to save that and this is just

play25:10

again so we can test out this claiming

play25:12

and I can show you what I mean by every

play25:14

nft is going to share the same metadata

play25:17

so once that is saved we can come down

play25:19

to the embed section here just to test

play25:21

out our nft claims U but right here

play25:24

you're going to see this come up and

play25:26

what we're going to see here is our open

play25:29

Edition nft oh I don't think we set an

play25:31

image so it's not going to show anything

play25:32

here uh but we can mint an nft here so

play25:35

let me just Mint one and then we'll mint

play25:38

a few more after that you can see here

play25:39

we're going to Mint an nft here once we

play25:42

mint the nft we'll take a look at it in

play25:43

the nfts tab there you go nft has been

play25:46

transferred to our wallet so if we go to

play25:48

the nfts tab here we should see our nft

play25:51

here so it says nft one it has our

play25:53

little blob friend here and it has the

play25:55

owner which is my wallet now

play25:58

again we only set that nft up when we

play26:00

set the nft metadata now let's come to

play26:02

the embed here one more time and let's

play26:04

claim oh let's set this load let's claim

play26:07

three more so I'm going to Mint these

play26:09

three and again what should happen here

play26:12

is you can see all the three nfts that

play26:14

I'm going to be minting all these nfts

play26:17

that get minted again will share the

play26:18

same exact metadata that the first nft

play26:21

that we minted had so every single nft

play26:24

in this collection is going to have the

play26:26

same attributes it's going to have the

play26:27

same

play26:28

metadata but they are going to be erc721

play26:31

tokens instead of me having to you know

play26:34

create 10,000 of the same metadatas and

play26:38

you know upload 10,000 of those metad

play26:41

datas I can just set one metadata and

play26:42

every token references the same piece of

play26:44

metadata so once this finishes claiming

play26:47

here there we go let's head back to our

play26:48

nfts tab here and we should see three

play26:51

more nfts here again all of the nfts are

play26:55

the same they have the same metadata

play26:57

same image uh we didn't put a

play26:58

description or anything here uh and then

play27:01

you have the owner which is all owned by

play27:03

me but everything will share the same

play27:05

piece of metad dat that way you don't

play27:07

need to recreate the same piece if that

play27:09

was the goal of you know your collection

play27:11

so there you have it we went over a few

play27:13

different things in this video we

play27:14

covered what an erc721 standard is uh

play27:18

which is essentially an nft or a

play27:20

non-fungible token we also went over

play27:22

some of the different smart contracts or

play27:24

erc721 smart contracts that you can

play27:26

deploy through third web and we actually

play27:29

deployed these smart contracts

play27:31

themselves this included the nft

play27:33

collection smart contract which is your

play27:34

ERC 721 contract your nft drop contract

play27:38

which is your claimable RC 721 smart

play27:40

contract again with that claim condition

play27:43

functionality and then we had the open

play27:45

Edition ERC 721 smart contract which all

play27:48

nfts will essentially share the same

play27:50

metadata making it easy if that is you

play27:53

know the type of collection you're

play27:54

looking to create but I hope you folks

play27:55

enjoyed this video if you did give this

play27:57

video a thumbs up hit that subscribe

play27:58

button and don't forget to turn on the

play28:00

notification Bell so you don't miss out

play28:01

on videos like this if you need any help

play28:03

or support we'll drop a link down in the

play28:05

description you can open up a support

play28:06

ticket and our support team will be

play28:08

happy to help you out and answer any of

play28:10

your questions but again I hope you

play28:11

folks enjoyed this video until next time

play28:13

see you

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
ERC 721NFTsSmart ContractsThirdwebDecentralized AppsDigital ArtToken StandardsBlockchain TechnologyNFT DeploymentCrypto Collectibles