How to create an NFT Smart Contract (ERC721)

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025

Комментарии • 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....

  • @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?

  • @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

    • @ONLYGIGACHADSwillsub
      @ONLYGIGACHADSwillsub 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.

  • @federiconicolasgarcia6370
    @federiconicolasgarcia6370 2 года назад

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

  • @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 3 года назад

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

  • @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

  • @alexgriffin426
    @alexgriffin426 3 года назад +1

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

  • @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

  • @harshitnau8277
    @harshitnau8277 2 года назад

    much love bro

  • @siddharthpatel7284
    @siddharthpatel7284 2 года назад

    Bro I love your explanation

  • @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!

  • @harshavardhanranger
    @harshavardhanranger 2 года назад

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

  • @Philson
    @Philson 3 года назад +1

    Fckin perfect mate. Thanks for this tutorial!

  • @steeveedeee
    @steeveedeee 3 года назад

    Such a good tutorial. Pranam 🙏

  • @realahmedomar
    @realahmedomar 3 года назад +1

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

  • @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 ?

  • @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

  • @hectorbernal10
    @hectorbernal10 3 года назад

    Best video out there, learned a lot

  • @cycokilla3
    @cycokilla3 2 года назад

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

  • @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?

  • @banksysdog9727
    @banksysdog9727 3 года назад

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

  • @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 ?

  • @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

  • @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?

  • @Rinzorinz
    @Rinzorinz 2 года назад +1

    How to implement this in a wordpress website?

  • @GameChatgg
    @GameChatgg 3 года назад

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

  • @boxframebilly
    @boxframebilly 3 года назад +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

  • @od1ez
    @od1ez 2 года назад

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

  • @viditsharma7741
    @viditsharma7741 11 месяцев назад

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

  • @viratvashisht7844
    @viratvashisht7844 2 года назад

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

  • @trippysteve3523
    @trippysteve3523 2 года назад

    How do you update the baseURI after deploying contract?

  • @abderdh
    @abderdh 2 года назад

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

  • @heyutkarshhh
    @heyutkarshhh 2 года назад

    What are the prerequisites to make these projects ?

  • @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.

  • @danieldil6198
    @danieldil6198 3 года назад

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

  • @MsJoeYabuki
    @MsJoeYabuki 3 года назад

    this contract done for solana?

  • @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

  • @skippy0901
    @skippy0901 3 года назад

    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?

  • @blinggal6312
    @blinggal6312 3 года назад

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

  • @ugwusomto
    @ugwusomto 2 года назад

    Kudos man

  • @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

  • @antoine7078
    @antoine7078 3 года назад

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

  • @V1bzz
    @V1bzz 3 года назад

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

  • @ArgentoRAWRz
    @ArgentoRAWRz Год назад

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

  • @danieldil6198
    @danieldil6198 3 года назад

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

  • @ExpoVIzu
    @ExpoVIzu 3 года назад

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

  • @kamilkutay1587
    @kamilkutay1587 3 года назад

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

  • @berealmusic
    @berealmusic 2 года назад

    Nice video sir

  • @amandeepsingh9450
    @amandeepsingh9450 3 года назад

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

  • @Ominator
    @Ominator 3 года назад +1

    Great content man, keep it up!

  • @Wolf_ing
    @Wolf_ing 2 года назад

    Yes and then ?

  • @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.

  • @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.

  • @thekingcandyman
    @thekingcandyman 3 года назад

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

  • @bestmusic5956
    @bestmusic5956 3 года назад

    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

  • @peterlopez6630
    @peterlopez6630 3 года назад

    you are an actual god

  • @cowboi459
    @cowboi459 3 года назад

    Great tutorial, man! Thanks a lot.

  • @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

  • @MsJoeYabuki
    @MsJoeYabuki 3 года назад

    Baseuri is hosting my image nft and metadata?

  • @jairajsahgal7101
    @jairajsahgal7101 2 года назад

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

  • @hs-hs-hs
    @hs-hs-hs 3 года назад

    Love the video mate!

  • @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.

  • @glbch3551
    @glbch3551 3 года назад

    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?

  • @SPARKLESSUNIVERSITY
    @SPARKLESSUNIVERSITY 3 года назад

    please is this a Vs Code software?

  • @achillle
    @achillle 2 года назад

    🤗🤗🤗

  • @Moon-uc6dj
    @Moon-uc6dj 3 года назад

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

  • @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?

  • @muntasiralmaazmi
    @muntasiralmaazmi 3 года назад

    @shobhit is there away to contact you for business requirement

  • @DM0GUL
    @DM0GUL 3 года назад

    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  3 года назад

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

  • @aviroxi
    @aviroxi 2 года назад

    awesome video thanks

  • @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 @

  • @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 :)

  • @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.

  • @surampudiravikiran9610
    @surampudiravikiran9610 2 года назад

    Help me alot

  • @shankhadipmajumder2670
    @shankhadipmajumder2670 3 года назад +1

    Top

  • @aakash4dev
    @aakash4dev 3 года назад

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

  • @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

  • @jzagury93
    @jzagury93 2 года назад

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

  • @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

  • @victorsundstrom9760
    @victorsundstrom9760 3 года назад

    Thank you :D

  • @joeysmith5110
    @joeysmith5110 3 года назад

    You are a god send

  • @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

  • @danieldil6198
    @danieldil6198 3 года назад

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

  • @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

  • @gouravmittal37
    @gouravmittal37 2 года назад

    Bro i am not getting this can you help me out

  • @MobileGamesMaster
    @MobileGamesMaster 3 года назад

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

  • @farooqanwer1182
    @farooqanwer1182 3 года назад

    Great video, I have just recently found this. Way better than all videos rn available on RUclips.
    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

  • @ccryptoinvestor1027
    @ccryptoinvestor1027 3 года назад

    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  3 года назад

      Can send to contract as well

  • @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

  • @Kanect
    @Kanect 3 года назад

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

  • @atlengr5282
    @atlengr5282 Год назад

    thanks

  • @TheBobFish
    @TheBobFish 3 года назад

    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.

  • @christianzujeddeloh27
    @christianzujeddeloh27 3 года назад

    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  3 года назад +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

  • @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

  • @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