How to Write a Basic NFT Contract from Scratch | Solidity, Remix

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 106

  • @alexnft5050
    @alexnft5050 2 роки тому +3

    I'm a newbie and starting some courses to learn how create NFT's games and Art Collections and your videos are the most easy and professional to learn. Wonderful content!

  • @AnthonySistilli
    @AnthonySistilli 2 роки тому +15

    Absolutely amazing tutorial! Your mic is clear and crisp, and you explain things in depth in a nice simple way. Def throwing you a sub for that one

    • @lmaculate5784
      @lmaculate5784 2 роки тому

      Can you mint 10k without a contract? I finished my art, but now the hard part. Calculating rarity of each property. Then I'm planning to just mint one at a time until I hit 10k. I have watched many vids and am clueless

    • @geone8534
      @geone8534 2 роки тому

      @@lmaculate5784 I got same issue mate.

  • @mikaelnilsson2108
    @mikaelnilsson2108 2 роки тому +8

    Really great content!
    Slow and steady voice, without making the content feel slow or boring. Pointing out the essentials and some common mistakes 👍

  • @sam12345393
    @sam12345393 2 роки тому +2

    Pretty under-rated channel, your explanation is just awesome, keep up the good work buddy! Thank you

  •  2 роки тому +2

    Thanks for this excellent video !!!
    I saw this comment on a reddit thread: "Limiting one mint per wallet address is pointless since anyone can just create another wallet address, claim the mint with that one, and transfer it back to their original address, thus circumventing any measures you put to limit the mint to one per wallet."
    Thanks for your feedback!

  • @judylicious7276
    @judylicious7276 2 роки тому +12

    Thanks for creating this video tutorial! Would love to see more of this especially how to create whitelist functions and how to integrate the contract into a mint site (frontend).

  • @sxj__
    @sxj__ 2 роки тому

    Dude! I have never understood anything this easily! You are awesome. Keep making more videos. Thanks for the treasure.

  • @amitnino
    @amitnino 2 роки тому

    First useful video i've found, everyone else just advertise npm libraries. Thank you! looking forward to more content.

  • @jingli9232
    @jingli9232 2 роки тому +1

    best tutorial on this topic for now, thanks a lot

  • @ttaylor9916
    @ttaylor9916 Рік тому

    one of the best videos i have ever seen on youtube.

  • @Jaffeelie
    @Jaffeelie 2 роки тому +1

    Very useful, teaching is simple and easy to understand.

  • @svisves
    @svisves Рік тому

    Great tutorial! With clarity and completeness. Keep them coming👍

  • @Jandau2
    @Jandau2 2 роки тому

    Thank you for the video, at first I had 2 orange errors from the imports but it still let me deploy the contract and it still worked fine. Will be checking out your over video's!

  • @FlorinPop
    @FlorinPop 2 роки тому +2

    Great tutorial! I really liked it. Thank you!

  • @clouds42069
    @clouds42069 3 роки тому +1

    This is fantastic! Thanks man, also pretty funny, I actually have met you before at UCLA, I'm Pat's friend ;) Pat said wassup

  • @zegtronic
    @zegtronic 2 роки тому +2

    this was my first ever tutorial ive seen for blockchain development :D thank you for the great content

  • @bearfitted356
    @bearfitted356 3 роки тому +12

    Do a video on how to make a minting website also factoring in the minting button of course

  • @AK-qg8fc
    @AK-qg8fc 2 роки тому +1

    thanks. was searching for this. will recommend

  • @fuga_eth
    @fuga_eth Рік тому

    Bro, I love you, this tutorial is absolutely amazing, wish you best wishes and saying hi from Ukraine

  • @JosephNwoye
    @JosephNwoye 2 роки тому

    Thanks EDROH you have save my day, Thanks a lot

  • @brunorocha9898
    @brunorocha9898 2 роки тому +1

    just awesome.. I liked the way you teach.. thank you

  • @FabienFabienB
    @FabienFabienB 2 роки тому +1

    Excellent tutorial, well above many others

  • @heydariplusplus
    @heydariplusplus Рік тому

    It is easy to follow - I enjoyed so much!

  • @8koi245
    @8koi245 2 роки тому

    it was so interesting how you used a local variable to save gad!

  • @jahanzebrr
    @jahanzebrr 2 роки тому +3

    This was super simple and helpful video on a simple token minting contract, thank you ☺

  • @AbubakerMahmoudshangab
    @AbubakerMahmoudshangab 2 роки тому

    Amazing and clear description Ed thanks

  • @jasperskyler7415
    @jasperskyler7415 2 роки тому +1

    Hi, hope you can do a full tutorial on how to use this smart contract on a NFT on a testnet or something.

  • @catreunion
    @catreunion 2 роки тому +1

    Thank you so much for giving me this great tutorial!

  • @marcusmeyer8686
    @marcusmeyer8686 2 роки тому +1

    Awesome Video. Can you make a Video about how to connect Metadata with the nft

  • @yjrb1797
    @yjrb1797 2 роки тому +1

    Thank you great content;
    I have a question why the constructor is payable? The constructor is just setting the maxSupply.

  • @Burntques00
    @Burntques00 2 роки тому +3

    Awesome video, really appreciate the explanation and the simplicity of it. I am sure it is more complicated but I wonder how a random nft generator contract would work with this.

  • @AlexGarcia-um6kj
    @AlexGarcia-um6kj 2 роки тому

    The best tutorial I ever had encountered , now how Would you do it with and actually NFT image? Thank you

  • @stretchiesnft7214
    @stretchiesnft7214 2 роки тому +1

    Where do they go? What token does it mint? Where does the mint appear?

  • @xrptonaire
    @xrptonaire 2 роки тому +1

    So with this, will I be able to create an nft collectible for my collective?

  • @bensoler5396
    @bensoler5396 Рік тому

    Very informative and easy to follow video - Really enjoyed it! Would really love to hear what testing methodologies you would suggest/propose before deploying a smart contract on mainnet.

  • @anjaliagrawal2160
    @anjaliagrawal2160 Рік тому

    I didnot understand the part at 14:05. Does it mean, every user should have only one wallet?

  • @akshatverma1123
    @akshatverma1123 2 роки тому +1

    Hey thanks for the video. I had a doubt that how we can make a digital art and post it on opensea testnet by remix, i will be eagerly waiting for your reply thanks

  • @spartanfx3028
    @spartanfx3028 2 роки тому +1

    hi, so if you want to deploy on main-net what do you do in the contract, also when creating the contract can you specify your ETH wallet address where you can receive payments to? Or do you have to come back to the contract to withdraw your money?

  • @cjgonzales7691
    @cjgonzales7691 2 роки тому

    Well to be fair shape of you lody softs just like the first random notes that popped into Nice tutorials head

  • @TheDoktorot
    @TheDoktorot 2 роки тому +1

    Thanks for the tutorial Ed. What is the relationship between this code and an artwork? I minted a token, my address is in the mapping - great! but, where is the connection with the artwork that I supposedly bought? thanks!

  • @diegodesenvolvedor6129
    @diegodesenvolvedor6129 2 роки тому +1

    great tutorial

  • @chanchalpathak1630
    @chanchalpathak1630 4 місяці тому

    Quality content 👍

  • @JuanDArango
    @JuanDArango Рік тому

    How can i add a lazy mint function to a ERC 115 contract? thanks sir

  • @onezen
    @onezen 2 роки тому +1

    Great to start. Is there any simple/minimal dev on this contract to add visiable NFT images/metadata?

    • @onezen
      @onezen 2 роки тому

      I think it should be "baseURI". I will look into that.

  • @AMYoung-ng7jh
    @AMYoung-ng7jh Рік тому

    So to be precise. The "is mint enabled" function when I set it to be true that is when the NFTs that are on opensea are available for sale right?

  • @ikedichianaele2824
    @ikedichianaele2824 2 роки тому

    Thanks bro, this is very educating

  • @Internet_money_arewa
    @Internet_money_arewa 2 роки тому

    Pls sir number 33 totalsupply++; is showing error when I try to compile it

  • @simosimo1346
    @simosimo1346 2 роки тому +2

    Salvation ! thank you for this simplified video , in fact before seeing your video, I had a model too long and complicated to understand, but had several options; like: MerkelProof - extensions- Counters- PaymentSplitter- ReentrancyGuard! is this necessary? or can we add them to our basic contract over time? Greetings 🙏🏻

  • @lazboi5686
    @lazboi5686 2 роки тому

    amazing tutorial!

  • @esquilochain4776
    @esquilochain4776 2 роки тому

    what would I have to change to test on the BSC or Polygon network?

  • @donmikkodanm.olmillo8154
    @donmikkodanm.olmillo8154 2 роки тому

    Thank you for this, will you place make a playlist for making smart contract beginner course? thank you

  • @israelmorales8048
    @israelmorales8048 2 роки тому +1

    So how are different nfts on the collection differentiated on this Smart contract You Made? I have to pay extra gas to add each 10.000 nfts from max suply to this Smart contract? And how can i add this to Open sea marketplace? Good video btw

  • @coldsir5406
    @coldsir5406 2 роки тому

    TDD guys, TDD will make your life easyer

  • @tak68tak
    @tak68tak 11 місяців тому

    is it common to have a func to change maxSupply, which dilutes values of an NFT token?

  • @chio1965
    @chio1965 2 роки тому +1

    Thank you!

  • @caspermartijn
    @caspermartijn 2 роки тому

    How can you add any metadata file and "Icon" or media thing to this smart contract?

  • @victorkimura1
    @victorkimura1 2 роки тому

    Hi Ed, Thanks for the tutorial. You're an excellent teacher! God bless you

  • @thedigitalceo
    @thedigitalceo 2 роки тому

    Where does the token data come from that references the actual nft content?

  • @gordonharper2961
    @gordonharper2961 3 роки тому

    super helpful like usual, thanks!

  • @kedarski5268
    @kedarski5268 2 роки тому

    Can i ask what code environment do you use? Do i have to use the same because of environment requirements? Or i can use any code editor i want?

  • @meghanmiller248
    @meghanmiller248 2 роки тому

    How do you connect it to your website along with your NFTS

  • @JuanDArango
    @JuanDArango Рік тому

    Bro thanks your very much for this masterclass., really apreciate it. Question: Al this functions and variables works on the ERC115 contracts?, Another would be which is the function to neither thw owner or any one can change the max supply of the contract? , thanks n adcvanced

  • @Bunnyscreed
    @Bunnyscreed 5 місяців тому

    did you forget the funds withdrawing code or did i miss it ??

  • @raymondlopez267
    @raymondlopez267 2 роки тому

    This video taught me a lot and appreciate all you put into it but how does one determine how many one should allow to be minted? How do I determine what is best 2, 10, or 100?

  • @DrAnupam108
    @DrAnupam108 Рік тому

    I am not able to make this contract, syntax error shows up, kindly help me out!!!

  • @francescviolan3346
    @francescviolan3346 2 роки тому

    Thank you for making the difficult easy. I have a doubt, how do I put in the smart contract the address of the nft metadata? I mean the .json file where it says where is the image and the attributes of the nft.

  • @gilbertdaroy6080
    @gilbertdaroy6080 9 місяців тому

    Pardon my ignorance but shouldn't you be minting from the same wallet? Thanks.

  • @adrimol
    @adrimol 2 роки тому

    Is there a good reason for downgrading compiler version from 0.8.7 to 0.8.4? Thanks

  • @marveken
    @marveken 2 роки тому

    Thanks for this, somehow I tried it and msystem won’t compile it, it’s saying I currently have no contract instances to interact with. Please help me, how do I solve that?

  • @chanoart801
    @chanoart801 2 роки тому

    can this be use on avalanche network?

  • @RudeToys
    @RudeToys Рік тому

    Do you offer any paid work like checking contracts ?

  • @annatsoibeauty
    @annatsoibeauty 2 роки тому +1

    Thank you for this video, subscribed! I'm launching my first collection and trying to figure my first ever smart contract. Would you recommend to use this code for fixed price collection of 20? Am I correct saying is that the only thing I need to change in this code is the maximum supply and the price? Do you have any recommendations for collection of 20. I also don't have 5 wallet's to test, I have 2. I'm sorry for my very nubby questions 🙂

    • @Omgjosh925
      @Omgjosh925 2 роки тому

      I’m trying to mint an NFT series of 10 on a smart contract like this. I wish there was a general code we could copy and paste for this basic idea

  • @lordlogan3308
    @lordlogan3308 Рік тому

    but how pay in BUSD instead of eth?

  • @codewithneerajchauhan
    @codewithneerajchauhan 2 роки тому +1

    Now How to make frontend after doing all this..Please make a video on that

  • @mekepnava4114
    @mekepnava4114 2 роки тому

    How can I learn how to write contracts? Where did you learn?

  • @Hi-BloGaming
    @Hi-BloGaming 2 роки тому +1

    Super easy to understand tutorial. Do you have a tutorial on how to connect this contract to a minting website too?

    • @Hi-BloGaming
      @Hi-BloGaming 2 роки тому

      I also suggest that you make your own discord, so that your follower can form a community that will help each other. 😁

  • @setarose366
    @setarose366 2 роки тому +2

    5 lines in and I got an error => from solidity:
    TypeError: Contract "SimpleMintContract" should be marked as abstract.
    --> contracts/mintContract.sol:8:1:
    |
    8 | contract SimpleMintContract is ERC721, Ownable {
    | ^ (Relevant source part starts here and spans across multiple lines).
    Note: Missing implementation:
    --> @openzeppelin/contracts/token/ERC721/ERC721.sol:44:5:
    |
    44 | constructor(string memory name_, string memory symbol_) {
    | ^ (Relevant source part starts here and spans across multiple lines).
    Any ideas why?

  • @Jobsprout
    @Jobsprout 2 роки тому +1

    Great video. Thank you for making it super easy to follow. Can we get touch?

  • @serousetrick
    @serousetrick 2 роки тому

    Great video.. Can you tell us how this contract compares with real contracts in terms of complexity? How much difficult/complexed would be writing nft contracts for real projects?

  • @blockcoinbase8497
    @blockcoinbase8497 2 роки тому

    Wait, so ur the one who did the phishing attack on opensea?

  • @devgatling
    @devgatling 2 роки тому

    my code won't compile something to do w/ the totalSupply, weird

  • @harudot
    @harudot 2 роки тому +1

    Like button count: 721
    Now let's make it 1155

  • @marveken
    @marveken 2 роки тому

    And do you have a telegram solidity group I can join to get more of these 😊

  • @MrKIRat-he9jc
    @MrKIRat-he9jc Рік тому

    Make video how to make minting button

  • @juanpasalagua2402
    @juanpasalagua2402 2 роки тому

    solid!!! :)

  • @PepsiMaxKola
    @PepsiMaxKola 2 роки тому

    How do you verify the contract on etherscan. When I tried to verify I get an error every time

  • @devgatling
    @devgatling 2 роки тому

    dope

  • @choiwilson6819
    @choiwilson6819 2 роки тому

    thanks

  • @sara-parker
    @sara-parker 7 місяців тому

    😍

  • @franksimon8375
    @franksimon8375 2 роки тому

    Lol, developers write good comments

  • @pollux3308
    @pollux3308 2 роки тому

    hi

  • @Jeanvaljean78
    @Jeanvaljean78 2 роки тому +1

    brrrr

  • @great9640
    @great9640 Рік тому

    12:10 why are you teaching
    people how to make rug smart contracts HAHAHAH

  • @jomarlurzano2413
    @jomarlurzano2413 2 роки тому

    my friend is playing with this cheat

  • @yaseenamro6444
    @yaseenamro6444 2 роки тому

    i haded a problem with a require code require(msg.value == mintPrice, 'wrong value'); its giving me error and can not compile an smartcontract

  • @kaizer863
    @kaizer863 2 роки тому +1

    Thank you!!!