How to create on-chain NFTs

Sdílet
Vložit
  • čas přidán 5. 10. 2021
  • Today I will show you the process of creating NFTs purely on-chain. This is a simple yet powerful example. With this knowledge, you will be able to extend on this and create creative solutions for on-chain SVG NFTs. Hope you enjoy the video.
    Twitter
    / de_botha
    Discord
    / discord
    Telegram
    t.me/hashlipsnft​​​
    Website:
    hashlips.online/
    Thank you for everyone's support. See you in the next video.
    If you want to buy one of the Nerdy Coder Clones, go here:
    nerdycoderclones.online/
    Github:
    github.com/HashLips
    My wallet address just incase 😉
    0x943590A42C27D08e3744202c4Ae5eD55c2dE240D
    If you enjoyed the video, please leave a thumbs up and subscribe.
    Please note, I am not a financial advisor so don't take my word for any financial advice.
    I do these projects to show you how to code. If you want to use any code shown in the videos, please do so at your own risk.
    #react #generativeart #generative #art #node #javascript #coding #smartcontract #programming #polygon #ethereum #nft​​ #nfts​​
    ​#hashlips​​ #code​​​​ #solidity

Komentáře • 155

  • @fernandosegre9116
    @fernandosegre9116 Před 2 lety +18

    When we thought the sky was reached, there he is, pushing the limits and blowing our minds once again!!

  • @nicolaslesueur1886
    @nicolaslesueur1886 Před 2 lety +29

    It's been five day that i'm in the nft collection game and just after few hours of your teaching i'm feeling like a new born solidity coder...understanding with your help how smart contract work, can be copied, how NFT can be mint and everything. I decide to take one week holidays to spent with you guys and learn more about blockchain and nft. It's never too late or nobody is to old to learn. Thank you for everything !

  • @nathanburley
    @nathanburley Před 2 lety +2

    Genuinely brilliant! Great depth and pacing. It'll help us start our first NFT project as a learning exercise. Cheers!

  • @manifestlockz
    @manifestlockz Před 2 lety +7

    Dude i cant even explain how much of a gem your tutorials are! Its taken me about a week or so to learn all this & get my own collection started from stratch. But its been so worth it! Ive always wanted to learn coding and you've helped me with getting started. So thank you Daniel

  • @cryptocomedians
    @cryptocomedians Před 2 lety +11

    Thank you! This is exactly what I was needing and nobody else seems to be teaching it. Hope your channel blows up!

    • @HashLipsAcademy
      @HashLipsAcademy  Před 2 lety +3

      Only a pleasure hopefully this helps you out. 🔥🙏

  • @johnmilesmorales6154
    @johnmilesmorales6154 Před 2 lety +1

    Thank you for all your hard work, I am really looking forward to have this a part 2.

  • @tonyfisher6379
    @tonyfisher6379 Před 2 lety

    Awesome surprise to wake up too. You’ve done it again Sir. Thank you!!!! 🔥🔥🔥🔥

  • @neillholley5061
    @neillholley5061 Před 2 lety +5

    Daniel, i'd love it if you made a part 2 to this video, like you mention at the end of it. Where you go over working with randomizing multiple SVG layers, to create generative on-chain NFTs. Thanks for all of your valuable teaching.

    • @jasonr2773
      @jasonr2773 Před rokem

      I'd love to see this as well. Any chance there's a part 2 coming?

    • @k1ngydoteth403
      @k1ngydoteth403 Před 7 měsíci

      We need a part 2!!!

  • @keilaurenmaxinedevries153

    You make coding fun! Thank you for sharing your knowledge and time. I'm looking forward to learning how to create svg nfts with layers and complex shapes.

  • @algojames4596
    @algojames4596 Před 2 lety +8

    Yes! this is huge for all of us, Daniel! Thank you!! Would you consider teaching how to implement a mint pass and/or whitelist to your drop (at some point)? Thx!

  • @axieacademy4200
    @axieacademy4200 Před 2 lety

    Can't wait to build my new collection with hashlips. Thanks for the updates.

  • @blackace8717
    @blackace8717 Před 2 lety

    Subscribed and loved it.
    Dude, you're an hero.

  • @lunaticinorbit
    @lunaticinorbit Před 2 lety +1

    Your tutorials are masterpieces. And you may be the best teacher in this domain. Thank you very very much!

    • @Eatstheblock
      @Eatstheblock Před 2 lety

      reach out 👆👆For more info and guide📩.

  • @pxlsyl4644
    @pxlsyl4644 Před 2 lety

    From the beginning until now , you're the ultimate NFT God master of the open web :) Learned sooooo much since you started this channel! Look at your wallet in a few days, I'll send you a bunch of my next gen collectibles!

  • @rizwanritz2018
    @rizwanritz2018 Před 2 lety +3

    Please make more On-Chain Nft generation video. Make video similar to the ultimate guide .
    How to create layers and metadata. Thank you for sharing your knowledge.

    • @onekycarscanners6002
      @onekycarscanners6002 Před 2 lety +1

      You should use his previous data all he is doing here is removing where it is hosted. And generating image as SVG. You can generate layers to as SVG and all will work.

    • @heidi7435
      @heidi7435 Před 2 lety +1

      @@onekycarscanners6002 could you advise?> Trying to figure this out and can't find a way - thank you!

  • @theredraze
    @theredraze Před 2 lety

    @Hashlips... thanks for covering varied NFT creation topics. Best content on this subject on the web. Want more. A dedicated session on creation of the contract on Ethereum and Polygon along with linking with resources on IPFS.

  • @luiscallero6288
    @luiscallero6288 Před 3 měsíci

    amazing!!! Love the way you follow along your code!! Thanks!!

  • @user-kl5ze4tf2c
    @user-kl5ze4tf2c Před 2 lety

    When watching this video, I heard the gears creak in my head! Tnx Daniel👍

  • @babajirobotrader
    @babajirobotrader Před 2 lety +6

    Wow. Going to be Nft warrior. Thanks for the beautiful videos. I have sent 11 of my NFTs Punkyeggies. Hope you liked it. :)

  • @I....I
    @I....I Před 2 lety

    You are amazing thank you for this knowledge transfer !

  • @bigmikethebike7269
    @bigmikethebike7269 Před 2 lety +3

    On chain NFT projects are really top tier of NFT projects. Are you going to make a tutorial of how to mesh the Hashlips art generator with on chain data?

  • @PK-sd6ek
    @PK-sd6ek Před 2 lety +1

    Single handedly changing thousands of lives in the NFT space. At this point just make a course on udemy bro. Legendary teacher!

  • @user-qb2zs6ys5o
    @user-qb2zs6ys5o Před 2 lety +1

    Thank you very much for your videos, they are so full, i believe my full NFT collection will be OnChain 👏👏👏👌

    • @kezza10mail
      @kezza10mail Před 2 lety

      how much do you think it would cost ?

  • @ziqif3407
    @ziqif3407 Před 2 lety +1

    Really great work, I'm trying my best to get an avastars like nft collection going and would love to see a more in depth video..... cause i'm a smol brain :D

  • @cesard16
    @cesard16 Před 2 lety

    You are the Legend bro!

  • @m.jigalin292
    @m.jigalin292 Před 2 lety

    Hashlips you are taking us to the MOON

  • @macaron2090
    @macaron2090 Před 2 lety

    Terrific, Merci beaucoup!

  • @ninjapplz1841
    @ninjapplz1841 Před 2 lety +1

    Thanks for being awesome and teaching so much to the community HashLips! Enjoy Ninja PPLZ #7
    (who happens to match your color scheme : )

  • @lifeofme3172
    @lifeofme3172 Před 2 lety

    Your awesome Hashlips. He is super approachable too through WhatsApp. Love your content. Underrated channel. It should be a million subscribers. Share the channel guys!

  • @loneyokai
    @loneyokai Před 2 lety

    congrats on 10k!

  • @haseebsyed9293
    @haseebsyed9293 Před 2 lety

    Really Really good video.

  • @Mosquito-balls
    @Mosquito-balls Před 2 lety

    i think this is the video that answers my questions, i already made several jacks with different layers but still havent figured out how to link them on chain ERC-721

  • @vigneshramasamy5549
    @vigneshramasamy5549 Před 2 lety +3

    You keep surprising us the hashlip army 🔥 Loved this one! Maybe next tutorial idea: how to airdrop NFTs to multiple addresses at once? Something you can airdrop to an existing NFT collection holders?

  • @floriniliescu549
    @floriniliescu549 Před 2 lety

    Great video Daniel. Please do more of these onchain videos. God bless

  • @edwassermann8368
    @edwassermann8368 Před 2 lety

    you are right. this is cool.

  • @tonyfisher6379
    @tonyfisher6379 Před 2 lety

    Nice catch on “testHue” 🔥

  • @paswalla6470
    @paswalla6470 Před 2 lety +3

    We appreciate you man

  • @sbherath1981
    @sbherath1981 Před 2 lety

    loving the tutorials bro, your videos have been absolutely beautiful and helped me a lot to create my own NFTs. Could you also help with using a smart contract to sell 1 or more NFTs at once without manually doing one by one ? Thanks heaps!

  • @superfunsurf
    @superfunsurf Před 2 lety

    dude. so good.

  • @androidtechsayed201
    @androidtechsayed201 Před rokem +1

    How cool video thanks

  • @topserieswatcher867
    @topserieswatcher867 Před 2 lety

    I love your content i started learning the web3. Can you please also do a video on NFT marketplace as well? I am awaiting this.

  • @michaelsantanna98
    @michaelsantanna98 Před 2 lety

    Legend!

  • @TheHummChannel
    @TheHummChannel Před 2 lety

    You read in our mind... I know it!

  • @astilen5647
    @astilen5647 Před 2 lety

    I learned all of it. ThankS C:

  • @nicolanduc
    @nicolanduc Před rokem +1

    Probably the best video on the topic. Thank you! You mention in the video that you will make another video on how to optimize and maximize the SVG artworks by layers, is that video out?

  • @amitrose
    @amitrose Před 2 lety +1

    Would be useful to have a video about how to also include the attributes for Opeansea in the on-chain NFT.

  • @JayChrisXD
    @JayChrisXD Před 2 lety +2

    awesome video, i was just wondering if it was possible to generate images on the nft depending on how rare it is (ex; if there was a star rating in the corner, an nft that has a super rare object would have 5 stars and a not so rare one would have like 2 and a half stars

  • @eldor3971
    @eldor3971 Před 2 lety

    A project that does this really fancy is anonymice, I saw there contract and was really surprised by how much they could do

  • @mememaker5954
    @mememaker5954 Před rokem

    thank you

  • @bibuedits
    @bibuedits Před 2 lety

    18:00 I shout like "OMG THIS IS F*CKING MAGICCC!"

  • @norms_mv
    @norms_mv Před 2 lety

    OMG this is awesome!!! I want learn more. Which series of coding or blockchain books do you recommend?

  • @fenestranetech7981
    @fenestranetech7981 Před 2 lety +1

    Thank you for this knowledge!! I went and made a fully On chain Music NFT from this. (actually just simple 12-note Ringtones)
    It was a fun project. But I found out that there were a lot of limitations on making On Chain NFTs...
    Looking forward to the developments in the future!!

    • @Eatstheblock
      @Eatstheblock Před 2 lety

      reach out 👆👆For more info and guide📩.

  • @aaronsmith934
    @aaronsmith934 Před 2 lety

    Daniel, thanks so much for all you do, really. I have one question, do you know of a way to attach a sound file to my nfts on the chain? is there a way for this to be added?Thanks

  • @nathanburley
    @nathanburley Před 2 lety

    Would love to see how you'd handle fonts in onchain NFTs. I'm reluctant to address the font source, since the source might be taken down / link broken at some stage. Instead, I thought to embed the font into the SVG but that requires a lot of space and seems to crash the VM. Is there a best practice here?
    Again, love the tut. It's super clear and pretty easy to follow even for a no-coder on their first time out, so thanks!

  • @k1ngydoteth403
    @k1ngydoteth403 Před 7 měsíci

    Part 2 for layering svgs of shapes please!!

  • @tarakaprabhu676
    @tarakaprabhu676 Před 2 lety

    Great explanation sir. Can you also explain on-chain art/pfp like Anonymice if possible! Thanks.

  • @Goodforyouliving
    @Goodforyouliving Před 2 lety

    Great video - I created one already - thank you. I wanted to ask if you knew how to add quotes into the svg section. I want to add sytle="font-family:'Titan One'" but because of the abi.encodePacked requires the single or double quotes it's not working with the mixed quotes from the font-family

  • @hiranga
    @hiranga Před 2 lety

    This one was legendary! Thanks once again Daniel! Mega. I have question which takes lessons from this tutorial one step further: how can you combine this (on-chain metadata) with off-chain json metadata from IPFS ? I have some ideas conceptually how to structure it, but technically I'm still trying to figure it out.. Thoughts?

  • @georgeadowei9194
    @georgeadowei9194 Před 2 lety

    great work as always, please i would like to know if there was a tool or code that i can use to generate a 3d model nft collection, i tried using your generator, but it is seems to be optimised for 2d layer projects . thanks

  • @hcssap6291
    @hcssap6291 Před 2 lety

    Thank you very much ! One question → Is it possible to make something like DNA check on this, so that there will ensure the uniqueness of the art.

  • @JhaloDioh
    @JhaloDioh Před 2 lety

    Question.
    is there a way to base the selection off of a category that people can pick from?
    for exp: enter you birthday and an nft is created based on month and day..

  • @danielking9456
    @danielking9456 Před 2 lety

    How do you allow different colors of each accessory? Do you need to manually make a version of each color for each accessory, or can you put a color layer on top of accessory so one color layer can apply color to any accessory?

  • @Samuel-nj7ef
    @Samuel-nj7ef Před 2 lety

    Thank you for you tuto ! Is this contract on the polygon or ethereum chain? How to mix this tutorial with the one you did with the polygon minting app?

  • @vineralph
    @vineralph Před 2 lety

    Could you please make a video on explaining how the maps in the metaverse work? How are they made as NFTs but stay back in their website as a button itself to metaverse?

  • @nybe
    @nybe Před 2 lety

    Hi Daniel this is GREAT! I'm having one little problem: I'm just doing a simple SVG image that I randomized as per your directions but I just want the name + tokenId to show up for each new image... currently I get lots of beautiful random colored NFTs but they all have the same name... HALP!?

  • @jishnuv56
    @jishnuv56 Před 2 lety +4

    first

  • @agustinsere7212
    @agustinsere7212 Před 2 lety

    This is great! Is this smart contract immutable ? I mean can it be changed by the creator or the owner of the NFT ??

  • @Bluff_Studio
    @Bluff_Studio Před 2 lety

    can i combine off chain and on chain on my collection? because i already put 1000 nfts ready for minting in IPFS to opensea what I like I will create non generated collection to put on the same collection?

  • @bigmikethebike7269
    @bigmikethebike7269 Před 2 lety

    or if youre familiar with the nouns project and how the noun RLE works that would be a very interesting video

  • @FrankForteArt
    @FrankForteArt Před 2 lety

    Do collectors -refer on chain or off chain storage of the NFTs? Also~ does an on chain not have to be a vector image? Or can it be a jpeg? Or raster image/?

  • @robertstrickland9722
    @robertstrickland9722 Před 2 lety

    Do you have a video of a walkthrough of your smartcontract code?

  • @hawk420ification
    @hawk420ification Před 2 lety

    Great video. What are the costs, if any, of using this as opposed to ipfs?

  • @randomgoose2606
    @randomgoose2606 Před 2 lety

    Is it also possible to fully implement the contractURI on chain?

  • @I....I
    @I....I Před 2 lety

    On Remix Ethereum, can the test net estimate what would be the cost of deployment of our contract on the real network ?

  • @heyitslonestar
    @heyitslonestar Před 2 lety

    I'm having issues using remix -trying to mint only one NFT using ipfs. I tried your doing exactly your what your video had for 10K but I can't get the metadata to show for just one. Anyway you can make a video on how to do this?

  • @metacemetary7649
    @metacemetary7649 Před 2 lety

    would love to see something on docker and moonbeam

  • @gorillastomp
    @gorillastomp Před 2 lety

    humble student.... when i make my 1st i will send you one for free =) thank so much

  • @johannalimantara7442
    @johannalimantara7442 Před 2 lety

    I have one question.. Is there any difference on how fast our nft sold whether it's off chain or on chain?

  • @Citiesme
    @Citiesme Před 2 lety

    It shows on opensea testnet
    but dose it actually works in real server

  • @AnmolShelke
    @AnmolShelke Před 2 lety +2

    Love your videos, and I actually followed your ultimate tutorial, having one question as we upload on opensea we have to pay one time gas fee right whereas here do we have to pay gas fee per image I mean for 10000 respectively need your help thank you :)

  • @The-Sentinel
    @The-Sentinel Před 2 lety +2

    Hey Daniel - If i wanted to compile some SVGs that are 1/1 unique and do not want them to repeat, can that be on chain too? Like if i wanted to list out all the apartment numbers on a floor for up to 10 floors. They cant repeat on that floor but would repeat for each floor. thoughts?

    • @onekycarscanners6002
      @onekycarscanners6002 Před 2 lety

      Hmm Nft Real-Estate. That's a security open-sea will through it out. Maybe we create a Real-Estate NFT marketplace.

  • @maqimmo9993
    @maqimmo9993 Před 2 lety

    How can i put my images folder ?

  • @deafdogdesign
    @deafdogdesign Před 2 lety

    I had to deploy both files before the green tick appeared, the dependencies were not generated automatically. Watching a few minutes more makes me think I need to first go and watch your Remix video lol. How do you do all this in one lifetime?

  • @edwinchew5819
    @edwinchew5819 Před rokem

    My NFT is basically a samurai with different expressions.
    How can i make my NFT show different expressions based on weather of the location it is viewed from?

  • @sixilo9414
    @sixilo9414 Před 2 lety +1

    First

  • @elsgivith
    @elsgivith Před rokem

    53:13 hash lips can you make a video on adding metadata please!

  • @kezza10mail
    @kezza10mail Před 2 lety

    SO, i want to upload my NFT collection onchain to polygon, it's about 13GB, how much do you think it would cost ? any ideas? thanks in advance.

  • @0xgug4
    @0xgug4 Před 6 měsíci

    We need a tutorial to add properties to NFT.

  • @f.iz.n
    @f.iz.n Před 2 lety +1

    please make a video on freeze metadata

  • @shortsupply4760
    @shortsupply4760 Před 2 lety

    emit PermanentURI(skinsToTokenId[_tokenId], _tokenId); could you make a post about how to add this into the contract so I can freeze my URIs? is that even necessary? I am not seeing my properties show in the filters on the left of collection even though i can see them on the actual nfts, thanks for the help

  • @BIGBoss-bp9xx
    @BIGBoss-bp9xx Před 2 lety

    Can you teach how to create random pixel on-chain nfts like anonymice project pls.

  • @serousetrick
    @serousetrick Před rokem

    Amazing video, I have a question, how many rows of code does usually smart contract has on average, considering official smart contracts of real NFT projects?

    • @Lexichats_my_Teleqram_id
      @Lexichats_my_Teleqram_id Před rokem

      👆̵s̵e̵n̵d̵ ̵a̵ ̵d̵i̵r̵e̵c̵t̵ ̵m̵e̵s̵s̵a̵g̵e̵ ̵f̵o̵r̵ ̵s̵u̵p̵p̵o̵r̵t̵ ̵a̵n̵d̵ ̵g̵u̵i̵d̵a̵n̵c̵e̵ .̵.

  • @matduc9554
    @matduc9554 Před 2 lety

    Alex, thanks a lot for this tutorial ! It's so helpful.
    I followed , created my contract and I get this tokenURI:
    data:application/json/;base64,eyJuYW1lIjoiT0NOICMxIiwgImRlc2NyaXB0aW9uIjoiTkZUIHN1ciBsYSBjaGFpbmUiLCAiaW1hZ2UiOiJkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LCBQSE4yWnlCM2FXUjBhRDBpTkRBd0lpQm9aV2xuYUhROUlqUXdNQ0lnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JajQ4Y21WamRDQjNhV1IwYUQwaU16QXdJaUJvWldsbmFIUTlJak13TUNJZ1ptbHNiRDBpYUhOc0tERTNPU3dnTlRBbExESTFKU2tpTHo0OGRHVjRkQ0JrYjIxcGJtRnVkQzFpWVhObGJHbHVaVDBpYldsa1pHeGxJaUIwWlhoMExXRnVZMmh2Y2owaWJXbGtaR3hsSWlCNFBTSTFNQ1VpSUhrOUlqVXdKU0lnWm05dWRDMW1ZVzFwYkhrOUlsWmxjbVJoYm1FaUlHWnZiblF0YzJsNlpUMGlOVFVpSUdacGJHdzlJbWh6YkNneU1UWXNJRFV3SlN3eU5TVXBJajVoWTJOdmJYQnNhWE5vUEM5MFpYaDBQand2YzNablBnPT0ifQ==
    Which translates in:
    {"name":"OCN #1", "description":"NFT sur la chaine", "image":"data:image/svg+xml;base64, PHN2ZyB3aWR0aD0iNDAwIiBoZWlnaHQ9IjQwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMzAwIiBoZWlnaHQ9IjMwMCIgZmlsbD0iaHNsKDE3OSwgNTAlLDI1JSkiLz48dGV4dCBkb21pbmFudC1iYXNlbGluZT0ibWlkZGxlIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiB4PSI1MCUiIHk9IjUwJSIgZm9udC1mYW1pbHk9IlZlcmRhbmEiIGZvbnQtc2l6ZT0iNTUiIGZpbGw9ImhzbCgyMTYsIDUwJSwyNSUpIj5hY2NvbXBsaXNoPC90ZXh0Pjwvc3ZnPg=="}
    but opensea doesn't show it...
    What did i do wrong?

  • @vishvasdeep6100
    @vishvasdeep6100 Před 11 měsíci +1

    Is onchain only possible with svgs?

  • @ridmaathukorala1307
    @ridmaathukorala1307 Před 2 lety +1

    Second

  • @KalebJurickovich
    @KalebJurickovich Před 2 lety

    Brotha please do the tutorial for Avastar type on chain nft’s please! Need it and thank you for everything man!!

    • @KalebJurickovich
      @KalebJurickovich Před 2 lety

      Based on the layered hand drawn vector art/ generative properties

  • @FuCkImRiCh
    @FuCkImRiCh Před 2 lety

    hey, great work, very nice what you doing for the whole nft sector! im sorry but im highjacking :3 after Created edition: 500, with DNA: 7ea he goes undefined like this Created edition: undefined, with DNA: 85 and overwrites every time the file with a new version. i never saw that, this block should be 750 versions. whats going on? its not a dna exist problem. would be so great if anyone could me help me i cant find the mistake

  • @olatibami
    @olatibami Před 2 lety

    Another awesome tutorial! Thanks!! Didn't get a response to my question on the previous video. Is there a way to generate an mp4 collection? Say 2000 mp4 nft? Would really appreciate a response. Thanks.

    • @onekycarscanners6002
      @onekycarscanners6002 Před 2 lety

      Where are you going to store that hopefully npfs and not on the block chain. If so this video is not for you. If you store an mp4 on Eth block chain expect to pay upward 0.15Eth just to transfer it. Not to talk of time involved.

  • @sean_mcnally
    @sean_mcnally Před rokem

    would this work with hedera?

  • @solarflair3613
    @solarflair3613 Před 2 lety

    my svgs come out to like 2000 lines of code (path styles) or even if they are short and simple, build image often cant compute it.. ?
    Seems I need to come up with something myself :D loving the experience so far, you're amazing bro

    • @Eatstheblock
      @Eatstheblock Před 2 lety

      reach out 👆👆For more info and guide📩.