ERC-721: Getting Started - What is an ERC-721 and how to deploy ERC-721 smart contracts
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
🚀 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.
🎨 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.
📝 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.
🔑 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.
🌐 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.
🎟️ 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
💡NFT
💡Thirdweb
💡Smart Contracts
💡Minting
💡Metadata
💡Claim Conditions
💡NFT Collection
💡NFT Drop
💡Open Edition ERC 721
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
hey everyone Sean Wata here back with
another video and in today's video what
we're going to be doing is deploying our
very own ERC 721 smart contracts this
video is going to cover a lot of things
and an overview of what we're going to
be covering we'll first go over what is
the erc721 standard how is it different
from your other standards like erc20 and
ERC
1155 then we'll jump into third web and
we'll show you how to deploy your very
own ERC 721 smart contracts we'll go
through some of the different erc721
smart contract that you can deploy
easily using third web and what some of
the different use cases for those smart
contracts can be and why you would
choose one over another and that is
again a quick overview of what we're
going to be going over in this video but
to start off let's first cover what is
the ERC 721 standard and how is it
different from your other standards like
erc20 so an ERC 721 is a non fungible
token or an nft now you may have heard
of an nft before you might be familiar
with it they are normally referenced and
referred to when people talk about
digital Collectibles you might know it
as like those Avatar or profile pictures
of different animals or different you
know styles of Art and that is what an
erc721 token is they are nonf fungible
tokens that is what nfts stand for but
what does non-fungible mean let's you
know break that down a bit first so
non-fungible means that each token is
unique it can't be exchanged one to one
because one token uh differs in value to
another token unlike an erc20 where all
the tokens that you create are all the
same they have the same values same
attributes uh erc721 each of the tokens
created are unique in their own way you
can think of this as like maybe you have
a piece of art if you have a painting
it's not the same as other paintings
each piece is unique it has its own
value therefore it is non one ible now
let's cover some maybe use cases of ERC
721 tokens or nfts a popular use case
and you might hear people mention this a
lot when they talk about nfts but
digital Collectibles imagine you have a
platform where you can sell buy and
trade these unique digital assets uh you
can think of these like maybe um digital
art virtual pets wear items in games uh
all these different things can be
represented by an ERC 721 token and this
ensures that every item is distinct and
can be owned and traded individually the
non-f fungibility of these tokens make
each digital asset unique and valuable
there can be Rarity to these as well and
depending on the attributes that you
provide these digital assets that can
change the value of what they are worth
to one another so now that we have a
little better understanding of what an
erc721 token is let's jump on the
computer here and let's deploy and go
over some of the different ERC 72 when
smart contracts third web has to offer
all right so on my computer here I am on
third web.com I've connected my wallet
and I am now on the third web dashboard
from here we have our different tabs
here and we're going to head on over to
the contracts Tab and here on the
contracts tab you can see a list of all
the contracts you've deployed using
third web and up in the top right you'll
see a blue deploy contract button so
click on that and this is the list or
our Explorer page of all the different
pre-built contracts that you can deploy
through third web now we have these
pre-built contracts they're easy to
deploy all you need to do is fill out a
few pieces of information for the
contract parameters and you can click a
button and deploy the smart contract now
again we're going be covering ERC 721
smart contracts there are a few of them
here and most of them are going to be
under this NFS tab if you remember
earlier uh erc721 is a non-fungible
token or nft and we're going to just hit
view all in this nft section here to
look at the nft contracts that we can
deploy now you're going to see some ERC
721 smart contracts along with ERC 1155
smart contracts and we'll cover ERC 1155
in a different video uh but this one
we're just going to be covering the ERC
721 smart contracts now we do have a few
of them the three that we're going to be
going over is these top three right over
here we're going to go over the nft
collection which is your standard ERC
721 smart contract we're going to be
going over the nft drop contract this is
going to be a contract that maybe you're
more familiar with but it's an ERC 721
smart contract with the ability for
other people to claim ERC 721 nfts from
the contract so this is like your
traditional nft drop maybe if you're
familiar with like those pfps or avatars
uh and you want to charge someone for
claiming an nft you'll use the nft drop
and we'll go over what the drop
functionality and claim condition
functionality is in a bit and then we
have the open Edition ERC 721 so we'll
go through all of these different ones
in depth as we start to deploy them but
we'll start off here with the nft
collection so if I click on this you can
see this is an ERC 721 smart contract
you can see some of the use cases and
examples of why you might want to use
this smart contract you can create a of
many collection for maybe like your
photography or your artwork uh you can
create a one ofone nft collection uh
maybe you want to Min your artwork as
nft sell them on a Marketplace um these
are going to be for you to create these
again unique nfts and the difference is
only you as the deployer and owner of
this smart contract are going to be able
to create these nfts for the smart
contract if you look at the nft drop
which will deploy next you'll be able to
allow other people to claim and mint
these nfts uh but the nft collection
here this is only strictly for if you
the owner wants to be able to have the
sole permission to uh mint and create
these nfts so what we'll do is hit the
deploy now on the top right you'll see
you can fill out your contract
parameters here from the name uh we'll
just call this our nft
collection uh symbol we just call this
nft you can add a contract image a
description now you can also set the
royalties and price Ary sales so
royalties this is for if you sell your
NFC on a secondary Market this is the
wallet address that the royalties are
going to go to and you can set to the
percentage of royalties here so if the
marketplace that you're selling supports
royalties this is what it's going to be
taking and that's where it's going to be
sending the royalties to you have
primary sales so this is going to be the
initial sales of nfts this is the wallet
address that it gets sent to now down
here at the bottom you'll see network in
Chains where you can select the drop
down and you can select any evm
compatible blockchain uh you can select
main Nets test Nets you can just put
search the network name or put the chain
ID in here and you can again deploy the
smart contract to any evm compatible
blockchain out there so we make it super
easy uh for you to deploy a very own nft
or ERC 721 smart contracts now I have
some sepolia eth here so I'm just going
to click on sepolia and I highly suggest
that you deploy your smart contracts to
a test net first try it out get some
test net funds and you knowest test out
deploying these smart contracts before
you go to mainnet but once you have
everything filled out here go ahead and
hit deploy now you'll get a popup here
this is going to uh give you the
transaction here to deploy your smart
contract so you're just going to have to
pay for the gas I'm going to hit confirm
then we'll get another popup here this
is going to be a signature request for
adding your contract to your third web
dashboard now our dashboard gives you a
really userfriendly UI to manage and uh
EX Ute and interact with your smart
contracts so he just going to sign that
right over
there and once that is successfully
deployed you'll be brought to your
contract dashboard you'll see here the
name of your contract uh the chain that
you deployed it to uh your contract
address here you can copy that um you
have a contract checklist so you can see
we already deployed our contract the
next thing to do is to Mint our own nfts
uh which we'll go over in just a bit uh
but we'll first go over some of the
other navigation here on the left so
this is your overview page this gives
you a very general overview of your
smart contract from the analytics the
latest events and everything uh you can
look at code Snippets so if you're
looking to build or interact with the
smart contract through our SDK uh we
have typescript um react you can use
this in unity uh react native you'll
have all the code Snippets and
everything here to kind of get you
started so you can see if we want to
transfer an nft this is the code snippet
here you can copy that you can start
building out your frontend applications
for interacting with your smart contract
uh below that we have the Explorer tab
this is where you can actually interact
with your smart contract you can view
all the write and read functions uh you
can execute these write functions here
you can think of it as a like how you
interact with your smart contract do
something like a block Explorer you can
again you can mint you can do and
execute any of those functions from the
smart contract directly right here in
your dashboard below that you have uh
events so all the events that get
emitted to the blockchain through the
smart contract will be viewable here you
have analytics as well so you can view
things like unique wallets total
transactions um and you can view the
analytics of your smart contract uh we
have payments here so this is if you
want to enable credit card checkout you
can enable that here we have your
settings so if you want to add or change
the contract metadata you can change
that here uh when you update it just
know that you have to pay for gas again
so if you want to set it up again
beforehand like when we deployed the
smart contract you can do it there if
not you'll just have to configure it
right here in your settings we have your
sources tab this is going to give you
all of the solidity code here that is
used to create this smart contract so
you can you know open it up and view all
of the solity code here if you want then
if we drop down here into the bottom we
have our nfts Tab and this is where we
can start creating our nfts for our
collection so right over here I can mint
an nft uh I can now create the nft that
I want by providing it a name the media
this is can be an image uh mp3 mp4 you
can I think there's a yeah list of
different uh media types that you can
put in here a 3D model PDF HTML whatever
you want the nft to be so how an nft or
an ERC 721 works is attached to the
Token is a reference to a piece of
metadata and that metadata is going tocl
include things um like the name uh the
reference to the image or the media file
is going to have a description you can
add attributes to it and that is what
connects the attributes and the
description of the nft to the Token it's
this piece of metadata here so a lot of
people think that the ERC 721 or an nft
is like a pitcher uh and that's the
common misconception that majority of
the world I think or majority of people
who kind of got their first taste of
nfts as you know these pictures of
monkeys that were selling for hundreds
of thousands of dollars um that isn't
technically um the nft itself the nft is
the token that is minted and created on
the blockchain the image and the media
is just what that token is referencing
to and that's just the visual aspect
that people can see um when they are
interacting And when they see an nft so
again you can create your own nfts here
you can just add a name so just say we
can and upload a file so let me just uh
just take like our little blob friend
here you can add a description uh you
can add properties and traits and then
you can mint the nft and what this is
going to do it's going to create this
nft it's going to create that erc721
token it's going to create the metadata
and Link that token to this piece of
metadata here we'll confirm that to
minted and this nft will then be minted
to my own personal wallet from here I
can you know list the nft for sale on
the marketplace maybe open C rar uh and
then I can put a price onto it and
people can then you know purchase this
nft on those marketplaces or if you want
you we actually have Marketplace
contracts and you can deploy your own
and build your own Marketplace to sell
your own nfts so there you go you can
see now we have our nft we have the
token ID uh which starts at an index of
zero and goes up from there you have
your media which is our image of our
blob friend here the name that I gave it
uh and then the owner so the owner is my
wallet address that deployed smart
contract because I'm the creator of the
nft and again from there we now have an
nft that we can list um on different
marketplaces and we can use it however
we want to down here at the bottom uh
below the nfts tab there's the
permissions tab this is where we can
give permission to other wallets to be
able to create nfts so maybe I have a
team of artists or a team of people who
want to create nfts for this smart
contract right now by default it's the
wallet address that deploys a smart
contract but I can add other wallet
addresses to here if I want to so um I
can also remove all the wallet addresses
completely and now no one has the
ability to add or create new nfts on the
contract so maybe I want to create a
collection of 100 unique tokens and once
those 100 unique tokens are created I
want to remove permission so no one else
can ever add tokens or Mint new nfts to
the contract I can remove everyone off
of it update the permissions and then
pay for the gas to execute that so in
permissions you can control the mentor
and Creator and that does it for your
erc721 nft collections let's come back
to contracts here and let's deploy
ourselves another contract so we're
going to hit come back to the contracts
tab we're going to hit deploy contract
go back to the nft section here and the
next one we're going to go over is the
nft drop so I'm going to select this one
here and the nft drop you can see the
use cases this is going to be for your
pfp collections maybe what you're
normally used to when you see nfts out
there U maybe you want to release art
work um and you know allow people to
claim and pay a certain price uh to
claim those nfts so what we're going to
do is just we're going to hit deploy now
we're going to fill out the contract
parameters similar like how we did with
the nft collection contract I'm just
going to call this one nft uh drop and
then we can give it a symbol here we'll
just say nft drop here and you can add
an image description you can fill out
the royalties and primary sales again
just like how we went over in the nft
collection you can come down here Selec
the network or chain you want to deploy
to select the drop down select that
chain and then deploy now confirm that
transaction you get another popup here
for a signature request again to add it
to your dashboard so you can sign
that and once your contract has been
successfully deployed you'll be brought
to your contract dashboard similar to
like the nft collection you'll have your
contract checklist here this one's a bit
longer and the reason for that is
because we have to set a claim condition
and that is again that functionality
that you get in an NF T drop or any type
of contract that has the drop extension
um it just has a claimable extension
that allows users to claim the nfts so
we'll come here to the left hand
navigation we'll come to the nfts tab
first and what we'll have to do is lazy
mint nfts to the contract so lazy mint
is not minting to create the token but
we're pre you think of lazy mint as like
a pre-int we're prepping the nft to be
created so that when someone claims an
nft we have the meta data and we know
what nft that person is going to be
receiving so you can single upload and
single upload is just like how we did
with our nft collection you can create
all of the nfts and metadata all within
this and you can provide it a name the
media file description properties
attributes um but if you're doing
something like a pfp collection or a
larger collection normally you'll
generate those pieces of metadata so
what you can do as well is do a batch
upload you have example CSV and Json
files here so you can download those and
you can upload all 100 all 500 all
10,000 of the pieces of metadata that
you want in your nft collection you can
just drop those files in here and then
you'll be able to Lazy Min them to your
contract on the left hand side here
you'll see a few different things um so
what I'm going to do actually is let's
just uh lazy Mint one nft here let me
just add in our blob friend here and
lazy mint this to our contract so we can
you know see an example of everything
we're going to go through here so let me
just confirm this transaction right here
all right so very similar to how we
created our nft uh collection contract
or the non-rop version of our ERC 721
contract and once we lazym this nft here
so you'll see that that was a lazy mint
not a mint like the nft collection
contract so we have our token ID we have
our media type the name similar to like
how we had before but the owner the
owner is no one the owner is null right
now this nft hasn't been fully created
and sent to a wallet address in our
previous ERC 721 contract when we
created and minted the nft it was
automatically put into our wallet and
created for us this one again is a lazy
Mint or kind of like a Prem mint where
we're prepping the metadata of the nft
for when someone does actually claim it
so I have one nft in here uh we'll come
down here to the claim conditions and
the claim conditions this is the
features uh that you get with with the
drop functionality now there are
different conditions that you can set up
and we'll quickly go through them so
only owner and you can hover over the
information icon here for a little
snippet about what it is only owner
means that only the owner or deployer of
the contract has the ability to claim
the nft example of this is you have a
maybe a collection of a 10,000 pfp
project that you want to uh launch and
you want to claim a certain set amount
for maybe distribution or for your team
members uh you can set the first claim
phase to only owner you can deploy the
contract get everything set only you as
the owner will be able to claim maybe
the first 25 nfts or 100 nfts and then
you can set it to the following claim
phases um and those claim phases the
next one will be like an allow list so
this is where you can have a list of
wallet addresses and only those wallet
addresses will be able to claim so if
you want to again create a list uh
through whatever means um to collect
those wallet addresses you can provide
it with the wallet addresses and only
those wallet addresses will be able to
claim uh we're going to skip up to the
public one and then we'll come back to
this public with allow lless but the
public this is going to apply to all
wallets so public means it's open to the
public uh you can set prices you can set
uh claim limits uh but anyone will be
able to claim within this phase then
there's a public with allow list this is
still a public claim phase but you can
override certain things with an allow
lless so let's just say in the public uh
with allow list the public price is 10
maic right let's just use that as an
example U but maybe if there is a list
of wallets in their allow list that can
purchase the nfts for fmatic so the
allow list will overrate the public
parameters that we input for the public
with allow list so those are the four
different claim conditions uh once you
select one I'll just select a public one
for an example you put in the name of
the phase when it's going to start uh so
you can set up multiple claim phases and
then it'll just roll into the next one
depending on the start time and date you
can put how many nfts will be in this
phase so maybe with the allow list one
it's an allow list but it's for the
first 100 people you can just say 100
nfts here you can put in a price and you
can also put in how many nfts per wallet
can be claimed so once you set
everything up you just hit save phase
you get a transaction that appears you
just have to confirm and pay for the gas
there you go and now we have a claim
condition set so again this is what the
drop functionality allows you to do um
again you set up all your nfts here you
can upload all your nfts set the claim
conditions now there is one extra tab
here uh that you see that we didn't have
on the previous nft collection smart
contract and that's the embed button and
the embed button allows you to get uh
create create your own embed which it'll
give you a preview down here and you can
then plug this embed into your own
website um wherever you want to put it
you can customize it right over here so
you can add gasless if you want to do
open Zeppelin relayer or bonom relayer
you can select your theme so we can say
dark you can see the preview down here
or we can set the primary color let's
just say blue to match our little blue
blob FR and you can just copy this
iframe right over here plug it into
wherever you want again this is going to
give you uh a full embed so you can see
here we have only one nft uh zero has
been minted uh but we have to connect
our wallet so we can like connect a
metamask wallet here once we're
connected you can see we can Mint one
nft uh it's free cuz we didn't put a
price in here so let's just claim this
and you get a transaction here you can
see we're going to claim token ID zero
uh we'll confirm that pay the gas and
once we claim the nft you'll see one out
of one here so again you can take this
embed plug it into wherever you want to
and you can you know launch your nft
collection as easy as that there you go
you can see we successfully minted and
now it is sold out because again we only
had one nft uh but there you go we can
close that and there you have it again
you can copy and paste this embed
wherever you want to and that does it
and covers the nft drop now we're going
to go over one last ERC 721 contract I'm
going to open up the contracts tab again
and we're going to go to deploy contract
and the final one that we're going to go
over is this open Edition ERC 721 so
what is an open Edition erc721 an open
addition ERC 721 is similar to like the
nft drop smart contract but instead of
you know creating different nfts for
each of the tokens all the tokens are
going to share the same metadata so you
set One Singular metadata and every
token minted is going to share that
metadata data so this is great for
things like maybe like a concert ticket
or maybe you want to launch uh something
that uh nft and all the nfts are going
to look the same and have the same
attributes um and but maybe you don't
want an ER something like an ERC 1155 uh
you still want an ERC 721 but you want
to share that metadata instead of you
having to you know duplicate the same
metadata over and over and batch upload
it you can just set that metadata once
um and then and all the tokens minted
will always share that same metadata
we'll go over an example of this we'll
deploy this smart contract um we'll just
call this our open nft and we'll just
say open again setting up your contract
parameters selecting your chain and
everything uh I'm going to hit deploy
now now you're going to see there's one
extra step here and that's called
setting your nft metadata so we're going
to have to confirm through two
transactions here so there you go um
another transaction this is for setting
the metadata we're going to hit confirm
and then we'll get that last popup which
is a signature request to add the
contract to our dashboard here we go so
signature request we'll sign that it has
been successfully deployed we brought to
our open addition ERC 721 smart contract
and you can see here nft metadata is set
it's preset um with a blank metadata so
we still have to set that up and then we
need to set up our claim condition so
we're going to come over to the nfts tab
and you'll see a button here that we
haven't seen previously in the other
smart contracts and that's the set nft
metadata so if we set the metadata here
this metadata that we set up here again
is going to be for all tokens claimed so
we can just make our little blob friend
again here you can add all your
descriptions whatever you want to set
the metadata as you can create that here
you only need to set it once so we set
the metadata here and then we're going
to
confirm and then once we have that set
again every nft that gets minted to the
smart contract is going to share that
metadata so over here we have a claim
condition we can set the same type of
claim conditions like we went over with
the nft drop contract so you have the
same for here I'm just going to set up a
public one and not charge any uh we're
going to save that and this is just
again so we can test out this claiming
and I can show you what I mean by every
nft is going to share the same metadata
so once that is saved we can come down
to the embed section here just to test
out our nft claims U but right here
you're going to see this come up and
what we're going to see here is our open
Edition nft oh I don't think we set an
image so it's not going to show anything
here uh but we can mint an nft here so
let me just Mint one and then we'll mint
a few more after that you can see here
we're going to Mint an nft here once we
mint the nft we'll take a look at it in
the nfts tab there you go nft has been
transferred to our wallet so if we go to
the nfts tab here we should see our nft
here so it says nft one it has our
little blob friend here and it has the
owner which is my wallet now
again we only set that nft up when we
set the nft metadata now let's come to
the embed here one more time and let's
claim oh let's set this load let's claim
three more so I'm going to Mint these
three and again what should happen here
is you can see all the three nfts that
I'm going to be minting all these nfts
that get minted again will share the
same exact metadata that the first nft
that we minted had so every single nft
in this collection is going to have the
same attributes it's going to have the
same
metadata but they are going to be erc721
tokens instead of me having to you know
create 10,000 of the same metadatas and
you know upload 10,000 of those metad
datas I can just set one metadata and
every token references the same piece of
metadata so once this finishes claiming
here there we go let's head back to our
nfts tab here and we should see three
more nfts here again all of the nfts are
the same they have the same metadata
same image uh we didn't put a
description or anything here uh and then
you have the owner which is all owned by
me but everything will share the same
piece of metad dat that way you don't
need to recreate the same piece if that
was the goal of you know your collection
so there you have it we went over a few
different things in this video we
covered what an erc721 standard is uh
which is essentially an nft or a
non-fungible token we also went over
some of the different smart contracts or
erc721 smart contracts that you can
deploy through third web and we actually
deployed these smart contracts
themselves this included the nft
collection smart contract which is your
ERC 721 contract your nft drop contract
which is your claimable RC 721 smart
contract again with that claim condition
functionality and then we had the open
Edition ERC 721 smart contract which all
nfts will essentially share the same
metadata making it easy if that is you
know the type of collection you're
looking to create but I hope you folks
enjoyed this video if you did give this
video a thumbs up hit that subscribe
button and don't forget to turn on the
notification Bell so you don't miss out
on videos like this if you need any help
or support we'll drop a link down in the
description you can open up a support
ticket and our support team will be
happy to help you out and answer any of
your questions but again I hope you
folks enjoyed this video until next time
see you
Ver más vídeos relacionados
ERC-404: Next 100X Cryptos?! What You Need To Know!
Create a Cryptocurrency - Crash Course | Part 1 - Deploy ERC-20 Token
Session 07 Studio Mirai v1
How to Build Custom AI Chatbots 🔥(No Code)
Treasure NFT SCAM ! Why Treasurenft Platform is a Get Rich Quick Ponzi Scheme and Scam
Smart contracts - Simply Explained
5.0 / 5 (0 votes)