How to create an NFT Smart Contract (ERC721)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 191

  • @gamikaseneviratne3524
    @gamikaseneviratne3524 2 ปีที่แล้ว +4

    I didn't imagine someone could explain smart contract coding so simply. Excellent work man!

  • @twoleggedcat_cs2
    @twoleggedcat_cs2 2 ปีที่แล้ว +13

    By far the most understandable tutorial I've gotten so far!

  • @notify7610
    @notify7610 2 ปีที่แล้ว

    Your unique style of teaching has really really made me to enjoy coding again and am never gonna stop this time....

  • @federiconicolasgarcia6370
    @federiconicolasgarcia6370 2 ปีที่แล้ว

    Amazing video! Im watching the whole collection of web3 video that you have!

  • @Powerplugz
    @Powerplugz 3 ปีที่แล้ว +18

    Can you please make a video explaining how to fully connect individual NFTs from your collection with metadata, image, etc... Also confused with "base url" when creating the contract...
    Please make a full tutorial on connecting nfts to the contract and making sure others can mint nfts from your collection via mint button on website

    • @cryptodecentra5611
      @cryptodecentra5611 3 ปีที่แล้ว +1

      Yes please

    • @goldenbeanmedia5453
      @goldenbeanmedia5453 3 ปีที่แล้ว +1

      This would be great!

    • @aryandeepsinha
      @aryandeepsinha 2 ปีที่แล้ว

      Yes please

    • @Threemonkeytagplayers
      @Threemonkeytagplayers 2 ปีที่แล้ว

      The key difference between URIs and URLs is that URIs are identifiers, whereas URLs are locators. In other words, a URI simply identifies the resource. It does not describe or imply how to locate the resource. A URL does. URLs are therefore a specific subset of URIs. Meaning, all URLs are URIs, but not all URIs are URLs.

  • @expdeusuario777
    @expdeusuario777 3 ปีที่แล้ว +10

    Bro you are so freaking amazing,
    exactly that would help me a lot, a step-by-step guide from how to do the NFT to how to style the page on which it is going to be minted, you are amazing and I really appreciate your work. I send you a big hug!

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว +2

      Thanks!

    • @expdeusuario777
      @expdeusuario777 3 ปีที่แล้ว

      @@Web3_Club Bro there is a way to add a button to mint on an existing Website?

  • @FamilyGuyVids11
    @FamilyGuyVids11 2 ปีที่แล้ว +2

    Hello. Thank you very much for this tutorial. I've subscribed and can't wait to see more videos :)

  • @kudakwashe37
    @kudakwashe37 2 ปีที่แล้ว

    hey bro, first time watching ur vid, appreciate u educating us

  • @realahmedomar
    @realahmedomar 3 ปีที่แล้ว +1

    I am stuck at the DeclarationError part for the ODG_Supply? Why is that

  • @squireshorts9598
    @squireshorts9598 3 ปีที่แล้ว

    Thank you so much. Haven’t seen anyone else going into much detail on the ethereum side, it’s all polygon lol

  • @Youtubbey775
    @Youtubbey775 2 ปีที่แล้ว

    U do a very very very good job. Love the videos. I like it raw and no whistles and bells. Excellent channel

  • @danieldil6198
    @danieldil6198 2 ปีที่แล้ว

    at 14:20 for payable you put parenthesis after isnt it not a function?

  • @cycokilla3
    @cycokilla3 2 ปีที่แล้ว

    I have a question , where do you put the supply and things like that

  • @omegabyss
    @omegabyss 3 ปีที่แล้ว +3

    Hi WEB3 Club, I truly appreciate your time spent on helping all of us. Information like this would normally cost at M.I.T. or Oxford U. for a Online Blockchain Certificate even that's still good for those looking to work in the Blockchain field. Thanks again. Your a new age rockstar.

  • @chasenasdiubnasdiubd
    @chasenasdiubnasdiubd 2 ปีที่แล้ว

    binging your vids -- thank you for the content!

  • @bosco654
    @bosco654 2 ปีที่แล้ว

    Hi, may I know how to mint the rest of my nft by using the same smart contract I previously created? I mean I had minted 1st 1000 nft but still got 9000 not yet mint..how to mint it with the same contract address next time?

  • @TradeWithJon
    @TradeWithJon 3 ปีที่แล้ว +3

    Thank you so much for this! So with Remix, we don't really need to install anything locally to get a smart contract on the ETH network? Just use the site?

    • @itsb680
      @itsb680 3 ปีที่แล้ว +1

      Right, you can deploy your contract directly from the Remix IDE.

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว +1

      Correct

  • @alexgriffin426
    @alexgriffin426 3 ปีที่แล้ว +1

    You are a champion. Keep this up man, great videos!

  • @cryptomoonlounge1797
    @cryptomoonlounge1797 ปีที่แล้ว

    Bro amazing content !! saw many videos bur your the best so far , can you do more course about solidity , and also smart contract web3 security ?

  • @steeveedeee
    @steeveedeee 2 ปีที่แล้ว

    Such a good tutorial. Pranam 🙏

  • @layermaker3139
    @layermaker3139 2 ปีที่แล้ว

    The functions that i add to this contract following your tutorial do not compile. I get an expected error.
    It is very frustrating. Why dont you put the contract up on git hub

  • @hamidkhaksar6258
    @hamidkhaksar6258 2 ปีที่แล้ว

    Is it possible change or modify smart contract after creat collection on marketplace such as opensea to see collection on any marketplace connected to my metmask ?

  • @bestmusic5956
    @bestmusic5956 2 ปีที่แล้ว

    please answer me , i done everything wen i click mint now he say to me La quantité max. de gaz doit être d'au moins 21000

  • @playbloc
    @playbloc 2 ปีที่แล้ว

    hello , Thanks so much i am really have issues getting eth on my test network for Ropsten faucet , how do i go about this

  • @harshavardhanranger
    @harshavardhanranger 2 ปีที่แล้ว

    Great video mate!
    One suggestion, put the code in full screen, its a little hard to read.
    Thanks!

  • @healpe
    @healpe 2 ปีที่แล้ว

    I crated a contract and verifiyed contract but other people minted free in my contract whit this function :
    Function: setApprovalForAll(address operator, bool approved) what is problem?

  • @anmolpoonia772
    @anmolpoonia772 3 ปีที่แล้ว

    does deploying the contract again and again is being charged or deployment is single time upfront charge only... as i see u change the contract again and again?? is such practice liable on ethereum mainnet??

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว

      No, test a lot before you deploy

  • @LucaCarducci91
    @LucaCarducci91 3 ปีที่แล้ว +1

    How do you load the nft image on the blockchain? And what happens if my metadata API goes down?

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว

      If API goes down, the metadata goes down with it.

    • @LucaCarducci91
      @LucaCarducci91 3 ปีที่แล้ว

      @@Web3_Club how can you freeze the metadata on the blockchain?

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว

      @@LucaCarducci91 via IPFS

    • @LucaCarducci91
      @LucaCarducci91 3 ปีที่แล้ว +2

      @@Web3_Club thanks, do you have any video about that?

    • @Powerplugz
      @Powerplugz 3 ปีที่แล้ว

      @@LucaCarducci91 Need this too :)

  • @hellomellow591
    @hellomellow591 2 ปีที่แล้ว

    Question - Is it correct that when a developer deploys the contract for an NFT collection, they need to be given access to the private keys/seed phrases? it sounds a bit doggy .Can you help ,please?

    • @Web3_Club
      @Web3_Club  2 ปีที่แล้ว

      No you don't need to

  • @Engpoprock
    @Engpoprock 3 ปีที่แล้ว +1

    Hi Shobhit, can I check if we can help another address "MINT" an NFT?
    I see that some influencers on Opensea have MINTS but they said those Mints were send to them.

  • @GameChatgg
    @GameChatgg 3 ปีที่แล้ว

    I Liked & subscribed @Shobhit, This was a great video! Thank You. I am headed back to the next video. lol.

  • @MsJoeYabuki
    @MsJoeYabuki 2 ปีที่แล้ว

    Baseuri is hosting my image nft and metadata?

  • @zeuscrypto1550
    @zeuscrypto1550 3 ปีที่แล้ว +1

    Hey im trying to write this to use in a nft collection on CRONOS network. is it possible? also how can i change the price from eth to cro? thank you. love your videos.

  • @trippysteve3523
    @trippysteve3523 2 ปีที่แล้ว

    How do you update the baseURI after deploying contract?

  • @JNCressey
    @JNCressey 2 ปีที่แล้ว

    when you're making changes and redeploying, are you modifying it live? are you creating multiple types? or is this a test-bed, not live?

    • @Web3_Club
      @Web3_Club  2 ปีที่แล้ว +1

      It's a test net

  • @Rinzorinz
    @Rinzorinz 2 ปีที่แล้ว +1

    How to implement this in a wordpress website?

  • @jzagury93
    @jzagury93 2 ปีที่แล้ว

    Hey man you neva added the link (mentions at 2:38)

  • @ArgentoRAWRz
    @ArgentoRAWRz ปีที่แล้ว

    Im a photographer, do i need to link something on the base URL?

  • @banksysdog9727
    @banksysdog9727 2 ปีที่แล้ว

    When I follow your steps for some reason the code is not the same as yours?

  • @kamilkutay1587
    @kamilkutay1587 3 ปีที่แล้ว

    compilerMetadata is modifyingartifacts/Mynft.json ? what is this mistake?

  • @V1bzz
    @V1bzz 2 ปีที่แล้ว

    Hi, dont know if I am being thick but how do I now get this made contract on to opensea?

  • @od1ez
    @od1ez 2 ปีที่แล้ว

    hello, how to send fee with mint function in frontend?

  • @siddharthpatel7284
    @siddharthpatel7284 2 ปีที่แล้ว

    Bro I love your explanation

  • @Philson
    @Philson 3 ปีที่แล้ว +1

    Fckin perfect mate. Thanks for this tutorial!

  • @heyutkarshhh
    @heyutkarshhh 2 ปีที่แล้ว

    What are the prerequisites to make these projects ?

  • @Powerplugz
    @Powerplugz 3 ปีที่แล้ว

    How can I implement an already created contract into this? For example lets say the nft collection has already been launched on opensea and we want the rest to be available for mint on our website without changing the contract...

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว +1

      Use the ABI and contract address, send it to web3.contract and start calling the methods.

  • @fungitao
    @fungitao 3 ปีที่แล้ว

    How come with other tutorials you have to install either truffle or hardhat? I don’t understand that part. Thanks

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว

      I am using remix to do that part, hence don't need truffle or hardhat, but will need it if you want to do a lot of iterations on contracts

  • @muntasiralmaazmi
    @muntasiralmaazmi 3 ปีที่แล้ว

    @shobhit is there away to contact you for business requirement

  • @glbch3551
    @glbch3551 2 ปีที่แล้ว

    Hi there! I have a guy that is asking for a private fee. He says that this is build into the openzappelin code since a week now. Is this true, or is he scamming me?

  • @skippy0901
    @skippy0901 2 ปีที่แล้ว

    Hi thank u so much man!such a gr8 video it was
    I just wanna create a simple nft minting dapp/page where a user mint and pays the amount and i receiv the amount which video should i go through to understand this?

  • @phoenixnouvel3261
    @phoenixnouvel3261 3 ปีที่แล้ว +1

    Hi, great videos, keep it up. Quick question. How do I code a whitelist minting? like only those accounts on my whitelist can mint. And during a specific time range? Thanks.

  • @viratvashisht7844
    @viratvashisht7844 2 ปีที่แล้ว

    my widhraw code is being error coz identifier not found or not unique

  • @boxframebilly
    @boxframebilly 2 ปีที่แล้ว +3

    Hello my friend! This is one heck of a video, and I’ve never been so excited about making and deploying my own nft. I have a question as I’m stuck right at the deploy part. Thank you

  • @abderdh
    @abderdh 2 ปีที่แล้ว

    how i put all the nft image in the contract put amazing for the video

  • @syedowaisahmed4347
    @syedowaisahmed4347 2 ปีที่แล้ว

    can u plzz guide me how can i make this whole contract without importing anything plzz?..i've assignment to make erc721 nft without importing anything

  • @blinggal6312
    @blinggal6312 2 ปีที่แล้ว

    Sir can you teach me how to write the codes? Do you have any online classes?

  • @jairajsahgal7101
    @jairajsahgal7101 2 ปีที่แล้ว

    Did you purchase ether? mINE GOT ERROR BECAUSE OF NO AMOUNT

  • @justinchong1148
    @justinchong1148 3 ปีที่แล้ว

    So after I've done the coding, what do i do next? Just leave it there? or do I have to do something else?

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว +1

      Deploy it, check my other videos on how to do it

  • @SPARKLESSUNIVERSITY
    @SPARKLESSUNIVERSITY 2 ปีที่แล้ว

    please is this a Vs Code software?

  • @aakash4dev586
    @aakash4dev586 2 ปีที่แล้ว

    sir, can u give the github (solidity contract) link of this project.

  • @TheRogueRenegades
    @TheRogueRenegades 3 ปีที่แล้ว

    but you havent defined onlyOwner modifier and the Owner() function?

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว +1

      That's provided by Ownable module from openzeppelin

    • @TheRogueRenegades
      @TheRogueRenegades 3 ปีที่แล้ว

      @@Web3_Club thanks for the reply, you are awesome, i'll tell my friends to subscribe to you

  • @ExpoVIzu
    @ExpoVIzu 3 ปีที่แล้ว

    pls how to make pre-sale and mint nft in your site.

  • @MsJoeYabuki
    @MsJoeYabuki 2 ปีที่แล้ว

    this contract done for solana?

  • @DM0GUL
    @DM0GUL 2 ปีที่แล้ว

    What would you do if you wanted to make the first 1000 to be a free mint and then the rest at a certain price?

    • @Web3_Club
      @Web3_Club  2 ปีที่แล้ว

      check the ID of NFT being minted. Require msg.value to be greater than rate if ID is > 1000

  • @AnimeLordOfficial
    @AnimeLordOfficial 3 ปีที่แล้ว +1

    How can I contact you??

  • @antoine7078
    @antoine7078 2 ปีที่แล้ว

    How much would it cost to do a 10,000 collection

  • @danieldil6198
    @danieldil6198 2 ปีที่แล้ว

    I don't see withdraw in openzeppelin is that not token standard?

  • @Andrembramwell
    @Andrembramwell 3 ปีที่แล้ว

    when I edit the contract the same it will not compile unless i delete the edits why is that?

  • @mohang7895
    @mohang7895 2 ปีที่แล้ว

    For a particular address how many tokens available
    How we can find this any idea team

    • @Web3_Club
      @Web3_Club  2 ปีที่แล้ว

      With the balance of function

    • @mohang7895
      @mohang7895 2 ปีที่แล้ว

      @@Web3_Club thanks man

  • @Moon-uc6dj
    @Moon-uc6dj 3 ปีที่แล้ว

    May i know the rough cost to mint 7k nft? Using eth network

  • @TheBobFish
    @TheBobFish 2 ปีที่แล้ว

    Hey, I don't know if you're still active, but I encountered an issue when I input the string "require(totalSupply() < MAX_SUPPLY, "Can't mint more.");" I am unable to compile the code with the error: "DeclarationError: Undeclared identifier." with the error pointing arrows underneath the "totalSupply" expression. I copied your code verbatim. I will also let you know that I know quite literally nothing about programming lol. Any help is appreciated, thank you.

  • @viditsharma7741
    @viditsharma7741 9 หลายเดือนก่อน

    sir can you also make some tutorials on how to make tokens without using openzeppelin library.

  • @TwistedCuban
    @TwistedCuban 3 ปีที่แล้ว

    Great video. very well explained. Next video please.. Show us how to verify the contract also.

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว +1

      Maybe later will show that as well.

  • @Threemonkeytagplayers
    @Threemonkeytagplayers 2 ปีที่แล้ว

    If i create a base uri does that mean i have to create a real website ?

    • @Web3_Club
      @Web3_Club  2 ปีที่แล้ว

      no you can store on IPFS as well

  • @berealmusic
    @berealmusic 2 ปีที่แล้ว

    Nice video sir

  • @amandeepsingh9450
    @amandeepsingh9450 2 ปีที่แล้ว

    Your video is great, one of the best. But the text is small, please make it zoom as done by other TH-camrs. Also please link the code when you are showing a code tutorial.

  • @danielthomas7810
    @danielthomas7810 3 ปีที่แล้ว

    Great video and i will surely contact in you in the future concerning my ongoing project. But what do you use to call a function is it @

  • @MobileGamesMaster
    @MobileGamesMaster 3 ปีที่แล้ว

    Wht did you did on 17.32 min !! My one cant compile because of that !

  • @harshitnau8277
    @harshitnau8277 2 ปีที่แล้ว

    much love bro

  • @danieldil6198
    @danieldil6198 2 ปีที่แล้ว

    Love your vids, I will be watching the whole series. Thank you

  • @ccryptoinvestor1027
    @ccryptoinvestor1027 2 ปีที่แล้ว

    Hi great video !! Is it possible to transfer a NFT to a contract address, or does it have to be a wallet address

    • @Web3_Club
      @Web3_Club  2 ปีที่แล้ว

      Can send to contract as well

  • @Kanect
    @Kanect 2 ปีที่แล้ว

    I'm launching a product is there anyway I can pay you to help me write my contract

  • @nataliesangkagalo5596
    @nataliesangkagalo5596 3 ปีที่แล้ว

    great video! why is it on line 23, require(totalSupply() < MAX_SUPPLY and not totalSupply()

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว

      Because we increase the supply by one afterwards.

  • @Wolf_ing
    @Wolf_ing 2 ปีที่แล้ว

    Yes and then ?

  • @nayansorathiya7034
    @nayansorathiya7034 2 ปีที่แล้ว

    How to transfer NFT from contract to user's address?

    • @Web3_Club
      @Web3_Club  2 ปีที่แล้ว

      Just call the transfer from method with apt arguments

  • @farooqanwer1182
    @farooqanwer1182 3 ปีที่แล้ว

    Great video, I have just recently found this. Way better than all videos rn available on TH-cam.
    Can I follow the same pattern to create NFT like beeple did?

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว

      Beeple just added in someone else's contract, can do same with Rarible or Foundation or SuperRare

    • @farooqanwer1182
      @farooqanwer1182 3 ปีที่แล้ว

      @@Web3_Club will it not need a smart contract of my own?

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว +1

      @@farooqanwer1182 not necessary for 1/1 art

  • @christianzujeddeloh27
    @christianzujeddeloh27 2 ปีที่แล้ว

    Hi Bro - thanks so much for this video, I really appreciate it. It might be a stupid question, but why are you not paying any gas fees when you deploy the contract?

    • @Web3_Club
      @Web3_Club  2 ปีที่แล้ว +1

      I am paying it, just doesn't show up in video

  • @cryptodecentra5611
    @cryptodecentra5611 3 ปีที่แล้ว

    Great videos. Thanks mate. Is the whole process of creating nft's applicable on the Ethereum Classic Blockchain?

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว +1

      Should be same as EVM is same

  • @markmorris4228
    @markmorris4228 3 ปีที่แล้ว

    Great video! Is there a video you talk about royalties of secondary sales?

    • @joeysmith5110
      @joeysmith5110 3 ปีที่แล้ว

      I am not 100% sure but I believe that exists within the token metadata

  • @gouravmittal37
    @gouravmittal37 2 ปีที่แล้ว

    Bro i am not getting this can you help me out

  • @cowboi459
    @cowboi459 3 ปีที่แล้ว

    Great tutorial, man! Thanks a lot.

  • @Cry4max888
    @Cry4max888 3 ปีที่แล้ว

    Hi man! Very interesting video! Can you explain how we can make an nft contract on moonriver wich is an ethereum compatible chain (with EVM). Thanks!

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว

      If it is EVM, there is no change.

    • @Cry4max888
      @Cry4max888 3 ปีที่แล้ว

      @@Web3_Club alright, but how do I differentiate that the contract is on moonriver and not on eth? There must be a difference right?

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว

      @@Cry4max888 Search for chainId in web3js

  • @JFKTLA
    @JFKTLA 3 ปีที่แล้ว

    how do i add a totalSupply to an erc721, i want to mint 15,000 of my nft

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว

      Change the max supply variable to 15,000

  • @randomly7748
    @randomly7748 2 ปีที่แล้ว

    you have 96eth ? !

  • @hectorbernal10
    @hectorbernal10 3 ปีที่แล้ว

    Best video out there, learned a lot

  • @Aphonicagroup
    @Aphonicagroup 3 ปีที่แล้ว

    Hi! Amazing video. Can you post something about how to have only certain address be able to mint? Like having a whitelist on a discord that I can have only certain people mint. Also any way to explain how to add a mint button to a website?

    • @Web3_Club
      @Web3_Club  3 ปีที่แล้ว +1

      Mint button - I've made a video about that.

    • @Aphonicagroup
      @Aphonicagroup 3 ปีที่แล้ว

      Shobhit I see that now! How about making it to where only certain addresses can mint?

  • @Ominator
    @Ominator 3 ปีที่แล้ว +1

    Great content man, keep it up!

  • @Sam-bn7jk
    @Sam-bn7jk 3 ปีที่แล้ว

    man, that's a thick accent right there

  • @adam-punts
    @adam-punts 3 ปีที่แล้ว

    hi hope youre having a good day :)

  • @bilalu.9149
    @bilalu.9149 3 ปีที่แล้ว

    Hey, can you make one about cardano too? Would be great! :)