How to create on-chain NFTs
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
When we thought the sky was reached, there he is, pushing the limits and blowing our minds once again!!
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 !
I have the same feeling!
Genuinely brilliant! Great depth and pacing. It'll help us start our first NFT project as a learning exercise. Cheers!
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
Thank you! This is exactly what I was needing and nobody else seems to be teaching it. Hope your channel blows up!
Only a pleasure hopefully this helps you out. 🔥🙏
Thank you for all your hard work, I am really looking forward to have this a part 2.
Awesome surprise to wake up too. You’ve done it again Sir. Thank you!!!! 🔥🔥🔥🔥
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.
I'd love to see this as well. Any chance there's a part 2 coming?
We need a part 2!!!
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.
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!
Can't wait to build my new collection with hashlips. Thanks for the updates.
Subscribed and loved it.
Dude, you're an hero.
Your tutorials are masterpieces. And you may be the best teacher in this domain. Thank you very very much!
reach out 👆👆For more info and guide📩.
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!
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.
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.
@@onekycarscanners6002 could you advise?> Trying to figure this out and can't find a way - thank you!
@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.
amazing!!! Love the way you follow along your code!! Thanks!!
When watching this video, I heard the gears creak in my head! Tnx Daniel👍
Wow. Going to be Nft warrior. Thanks for the beautiful videos. I have sent 11 of my NFTs Punkyeggies. Hope you liked it. :)
Wow thank you
You are amazing thank you for this knowledge transfer !
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?
Single handedly changing thousands of lives in the NFT space. At this point just make a course on udemy bro. Legendary teacher!
Thank you very much for your videos, they are so full, i believe my full NFT collection will be OnChain 👏👏👏👌
how much do you think it would cost ?
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
You are the Legend bro!
Hashlips you are taking us to the MOON
Terrific, Merci beaucoup!
Thanks for being awesome and teaching so much to the community HashLips! Enjoy Ninja PPLZ #7
(who happens to match your color scheme : )
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!
congrats on 10k!
Really Really good video.
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
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?
Use 1559 standard very easy.
Use 1559 standard very easy.
Great video Daniel. Please do more of these onchain videos. God bless
Helpline 📲📩
QUESTIONS CAN COME IN ⬆️⬆️ 🆙☝️….
you are right. this is cool.
Nice catch on “testHue” 🔥
We appreciate you man
Indeed we do
Thanks 😁
Thanks man. I appreciate you guys too
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!
dude. so good.
How cool video thanks
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.
Legend!
You read in our mind... I know it!
I learned all of it. ThankS C:
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?
Thanks I will make one in 2023
Would be useful to have a video about how to also include the attributes for Opeansea in the on-chain NFT.
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
A project that does this really fancy is anonymice, I saw there contract and was really surprised by how much they could do
thank you
18:00 I shout like "OMG THIS IS F*CKING MAGICCC!"
OMG this is awesome!!! I want learn more. Which series of coding or blockchain books do you recommend?
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!!
reach out 👆👆For more info and guide📩.
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
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!
Part 2 for layering svgs of shapes please!!
Great explanation sir. Can you also explain on-chain art/pfp like Anonymice if possible! Thanks.
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
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?
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
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.
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..
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?
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?
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?
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!?
first
Niceee
This is great! Is this smart contract immutable ? I mean can it be changed by the creator or the owner of the NFT ??
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?
or if youre familiar with the nouns project and how the noun RLE works that would be a very interesting video
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/?
Do you have a video of a walkthrough of your smartcontract code?
Great video. What are the costs, if any, of using this as opposed to ipfs?
Is it also possible to fully implement the contractURI on chain?
On Remix Ethereum, can the test net estimate what would be the cost of deployment of our contract on the real network ?
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?
would love to see something on docker and moonbeam
humble student.... when i make my 1st i will send you one for free =) thank so much
I have one question.. Is there any difference on how fast our nft sold whether it's off chain or on chain?
It shows on opensea testnet
but dose it actually works in real server
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 :)
Users pay the Gas as they mint
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?
Hmm Nft Real-Estate. That's a security open-sea will through it out. Maybe we create a Real-Estate NFT marketplace.
How can i put my images folder ?
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?
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?
First
🙏😬
53:13 hash lips can you make a video on adding metadata please!
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.
We need a tutorial to add properties to NFT.
please make a video on freeze metadata
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
Can you teach how to create random pixel on-chain nfts like anonymice project pls.
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?
👆̵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̵ .̵.
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?
Is onchain only possible with svgs?
Second
Nice hope you enjoy the video
Brotha please do the tutorial for Avastar type on chain nft’s please! Need it and thank you for everything man!!
Based on the layered hand drawn vector art/ generative properties
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
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.
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.
would this work with hedera?
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
reach out 👆👆For more info and guide📩.