I’ve been studying Solidity for for almost 2 years now and this came to my recommend, this is a great video breaking down code for creating Nfts.. well done
very useful! love your content mate! keep it up! Would be keen to know how to add a limit for the amount of NFT's that can be minted. Say the collection will initaially have 10 NFT's and each can only be minted 10 times (100 NFT's in total) Is there a way to wrap the above around your code?
@@PatrickAlphaC thank you for this, it really helps. Also, if i'd like to create 10 NFT's as JPG's (therefore using the simplecontract) am i right to think that i need to create 10 x createCollectible functions (1 for each type)? I actually need to get down to it to see if i understood it right, just want to know if i'm heading the right direction :)
I want firstly congrats about what you've done, in one week that should be a mess to additionate all these information... I've just a question, how can I set that I don't want any double, like with all my design associated, make the algorithm only do unique one and donc make double like two with the same attributes ? Thank you in advance and keep it up with your video about crypto that's so interesting that's a big Blue Thunbs like always
Appreciate the kind words. To do that depends contract to contract, but for this example you’d just never have a tokenURI set twice, and not allow the same tokeURI across pictures
Hey Patrick! Thank you for the Video! (I am starting to watch). When you deploy your NFT contract on ETH, can you list that NFT token (or whole contract??) on opensea or rarible? And is than the auction mechanism already given by rarible or do we need to implement the actual method on our solidity contract? THANK you soo much for your response!
Hi Alpha ! Thanks for the content ! Quick question ! after creating the token and deploying it to the blockchain. How can I then programatically sell the NFT without any intermediary exchange. Thanks in advance
Without an exchange, you’d have to find a seller and do it the old fashioned way. You’ll have to use some sort of smart contract that can programmatically do the exchange. Otherwise, you could make the exchange on something like opensea
Hi, I moved to ^0.8.0 in order to use the OpenZeplin as is (without specifying the version if I were on 0.6.6)....but it meant instead of 'return' it is 'returns' but I think _setTokenURI was deprecated, but trying to figure out how to do it).....
Import and inherit this instead and everything should be the same github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721URIStorage.sol
Hi Patrick. New subscriber here great content! I see a lot of projects that have a "connect" button on their website to mint directly from their site. Do you have any tutorials or ideas on how to connect this python process with the process they are using via "connect" on websites? Thanks for your help!
Hi Patrick! Quick question: any guidance on how to make two small changes: add "NFT_Max : 500" and "price = 0.0025 ether" ? The rest is boilerplate I just don't want to have to add the price to ever listing on OpenSea or wherever once I launch. Maybe I'm wrong about the price thing, am i? Thank you so much for all you for the community, Bro!! Cheers, mate. Wil
Under your “mint” function do a “require” statement for “msg.value” to be the amount you want. Then, do another require for tokenCounter to always be below 500
Like on your own website? You'd have to code that functionality into a front end. Basically have a function called "buy" where they can send you value and then you transfer them the NFT
@@PatrickAlphaC Similar to the BinanceSmartChain and Matic/Polygon Ecosystem growth Theta is set to explode and itd be great if you could facilitate a part of it
Hi Patrick, thanks for your video. I have one quest: if function createCollectible is called multi times at the same time, so these nft have same itemId ?
Say if someone mints from your contract paying a fee, do you have an example how you'd split the amount between multiple owners of the contract? I'm assuming the owner object only represents the one owner that deployed the contract so I'm curious how dev teams split between themselves via contract.
Hi, can I hire you to make an nft for me? My mmorpg character can craft items forged with my account id making it unique compared to the same item that others can buy without though without my signature.
I'm a complete noob who really wants to get in this world. I didn't quite understand the part about remapping and how to install everything on my pc. Do you know of anyone else who makes tutorials that I should watch before I start watching yours so I can learn the basics?
I got the same error, most likely you are using the wrong key. Go to your metamask account, click on the three dots to the right and click on account details. Click "Export Private Key" and copy that key.
Hi Patrick, i recived a nft from bakeryswap nft, but i don't know how yo see it o how to send, i just can see it on bscscan a it said si bep 721, but a i can see it un My metamask, can You help me plis? :(
@@PatrickAlphaC So how does opensea do it with their collections? Their collection only requires a one-time gas fee and the rest of the mints are free. Is it because their collection is deployed on the ERC1155 chain? If so, is there a way we could deploy multiple NFT's on an 1155 chain and only paying a one-time fee? What is the best way to avoid high gas fees if I was to mint multiple NFTs at once? Maybe Integrate on the matic testnet? Lastly, would it be possible to change the metadata on the NFTs that we've sold if the item was minted manually through opensea's website and not deployed by ourselves? Please let me know and thank you for your amazing videos!
@@radripper9398 Erc1155 isn’t a chain. It’s a token standard. You have to pay fees everytime you mint a new unique NFT. The 1155 standard allows you to mint a thousand of the exact same token, not unique tokens, that’s the difference
Utility. If you do it on opensea, it’s just an image. If you code it, you can give it unlimited customization. You can create a game like axie infinity or gods unchained. You can have true randomness and scarcity. Doing it like this allows you to have it be more than a jpeg, and allows it to live forever
Hi, i am getting this error!! ValueError: The private key must be exactly 32 bytes long, instead of 0 bytes. Terminating local RPC client... What can i do to solve it?
Your PRIVATE_KEY is messed up. Could you make this a question on stack exchange ETH, tag it brownie, and i'll answer it there? ethereum.stackexchange.com/
what is this error? development File "C:\Users\Bumenga\AppData\Local\Programs\Python\Python39\lib\site-packages\eth_brownie-1.13.2-py3.9.egg\brownie\_cli un.py", line 49, in main return_value, frame = run( File "C:\Users\Bumenga\AppData\Local\Programs\Python\Python39\lib\site-packages\eth_brownie-1.13.2-py3.9.egg\brownie\project\scripts.py", line 96, in run return_value = f_locals[method_name](*args, **kwargs) File "", line 4, in main return self._contracts[i] IndexError: list index out of range
@@PatrickAlphaC "advanced" works but "simple" doesn't work, I think the mistake is in this line "simple_collectible = SimpleCollectible[len(SimpleCollectible) - 1]" Thank you
Anyone know how to make the program highlight certain solidity phrases and offer relevant solidity suggestions like his is? Is it extensions or program settings? Both?
Every time you call "createCollectible" they will be under the same "token tracker". The NFT contract we deploy is known as the "factory contract", every NFT we "mint" in there will be of that collectible type. So yes, if you called "createCollectible" 100 times here, they would all be under the same token tracker.
@@PatrickAlphaC ah I see. So in that json file I noticed there was multiple ID, 0, 1, 2 etc, so you would set tokenURI to one of these and it would assign the image that's in that file linked to that ID number as a function of this contract once its deployed. Do you have a video on creating a tokenURI contract ?
@@PatrickAlphaC thanks a lot! I also ran into the error down below- ValueError: Unable to expand environment variable in host setting: 'rinkeby.infura.io/v3/$WEB3_INFURA_PROJECT_ID'. when i type my infura url on google as well i get a 404 page not found error. Not sure what to do here. Pls advice, thanks!
@@yrraadi it’s most likely the issue is that it’s not set right for some reason. Could you run `printenv` and see if you can find the environment variable?
@@ismaeeladams3524 longer story, but basically you’d use the house as collateral for the asset. You’d say “this token represents ownership of x percent of this house”, and it would have value because of the value of the house
@@PatrickAlphaC sure! But all I did was run pip install eth-brownie and then brownie bake nft-mix It says brownie isn’t a command. Maybe it’s a PATH thing? It works on my friends computers
@@PatrickAlphaC pipx didn’t work either, but it’s been fine running in a virtual environment. It’s deploying now. I’m pretty sure the problem is on my end, just not sure what vs code is doing
@@PatrickAlphaC It's just that when I try to follow along in visual studio code, certain functions aren't changing colors or offering suggestions like yours is.
@@PatrickAlphaC Thanks! I legit found right after posting this comment. Now Just trying to get the @openzeppelin reference to work. Learning a lot from your videos. Thanks for the content.
you have newbies watching your videos if you are going to be teaching you should explain things to them like what a deploy script is or where to find more info. If you don't want to give the proper scope of the video ie who this video is for and who it is not for.
I’ve been studying Solidity for for almost 2 years now and this came to my recommend, this is a great video breaking down code for creating Nfts.. well done
dude your content is a gem, informative & fun af
This is exactly what I was looking for, amazing job explaining this. Please keep making videos like this!!
Will do :)
New into this world. I'm very gratefull for finding this vid! Thaanks!
This series is absolute GOLD!
Thank you for watching, for question, guidance and support at anytime. Just DM +1.(4 .2 .3). 4 . 3 . 0 . 6 . 9 . 8 . 4 @ W H A T S A P..
This channel is on it's way to blow up lol glad I got here early
Thank you for watching, for question, guidance and support at anytime. Just DM +1.(4 .2 .3). 4 . 3 . 0 . 6 . 9 . 8 . 4 @ W H A T S A P..
Hey buddy, reviewing NFTs now for my next innovative project. Love your humor and simplicity, sending quick feedback to your discord
Thank you for the feedback as always!
@@PatrickAlphaC Comment & Like my most recent and subscribe my channel to do your part in the decentralized music production process ;)
Super underrated channel. Thanks!
Amazing! Do you cover other resource in building smart contracts like uniswap, defi ideas?
If time allows ahah
You can’t fool us with just a wig Mr. Bezos
Bro lol
True he seems jeff😂
I wish I could get a simple Solana version of this tutorial! This is really awesome!
One day!
I really appreciate this video and how I can follow along without confusion. Thank you!
wrr, no such thing as kidding or etc
You're funny and the content is awesome, fun way to learn!! Keep on the awesome work, and thank you!
Thank you!
You are awesome ! My regards from Brazil.
This is an excellent video, so clearly explained & fun. Glad I found your channel!
Amazing Video! Is the best writing platform to download Brownie or is there another?
very useful! love your content mate! keep it up!
Would be keen to know how to add a limit for the amount of NFT's that can be minted.
Say the collection will initaially have 10 NFT's and each can only be minted 10 times (100 NFT's in total)
Is there a way to wrap the above around your code?
Sure! Just add something like “if tokenCounter > 9 then revert”
@@PatrickAlphaC thank you for this, it really helps.
Also, if i'd like to create 10 NFT's as JPG's (therefore using the simplecontract) am i right to think that i need to create 10 x createCollectible functions (1 for each type)?
I actually need to get down to it to see if i understood it right, just want to know if i'm heading the right direction :)
@@rotopercutorash nope! 1 createCollectible function works, just pass in a different tokenURI (pointing to a different image) each time.
Hey @rotopercutorash how did the creation of your code go? Wold yo mind sharing it? I also want to create something like you
Lets do this....Im ready to make
nft history
I want firstly congrats about what you've done, in one week that should be a mess to additionate all these information... I've just a question, how can I set that I don't want any double, like with all my design associated, make the algorithm only do unique one and donc make double like two with the same attributes ? Thank you in advance and keep it up with your video about crypto that's so interesting that's a big Blue Thunbs like always
Appreciate the kind words. To do that depends contract to contract, but for this example you’d just never have a tokenURI set twice, and not allow the same tokeURI across pictures
great video thanks bro. don't know if anyone has ever told you you look like Jeff Bezos aha
Thank you for watching, for question, guidance and support at anytime. Just DM +1.(4 .2 .3). 4 . 3 . 0 . 6 . 9 . 8 . 4 @ W H A T S A P..
Great video! Love it. One caveat, wish you used JS, truffle. Could you refer to that tech stack for nft deployment and maybe minting?
I got you: th-cam.com/video/EzZEx0lumr0/w-d-xo.html
@@PatrickAlphaC Thank you!
Hey Patrick! Thank you for the Video! (I am starting to watch).
When you deploy your NFT contract on ETH, can you list that NFT token (or whole contract??) on opensea or rarible? And is than the auction mechanism already given by rarible or do we need to implement the actual method on our solidity contract? THANK you soo much for your response!
If you watch my longer video on this channel, all answers will be revealed!
@@PatrickAlphaC ok I will say it... I love you!
mate you are more HYPE then the FUD pump groups....
Hi Alpha ! Thanks for the content ! Quick question ! after creating the token and deploying it to the blockchain. How can I then programatically sell the NFT without any intermediary exchange. Thanks in advance
Without an exchange, you’d have to find a seller and do it the old fashioned way. You’ll have to use some sort of smart contract that can programmatically do the exchange. Otherwise, you could make the exchange on something like opensea
@@PatrickAlphaC Thanks for your reply. Are you open to contractural work?
@@1990Farz nope, I’m flattered though :)
How can I access v0.8 of chainlink brownie contracts in brownie config file
wow pat your a gangster thanks dude!
Great Content! THANKS
Thank you for watching, for question, guidance and support at anytime. Just DM +1.(4 .2 .3). 4 . 3 . 0 . 6 . 9 . 8 . 4 @ W H A T S A P..
Patrick is the GOAT
Thank you for watching, for question, guidance and support at anytime. Just DM +1.(4 .2 .3). 4 . 3 . 0 . 6 . 9 . 8 . 4 @ W H A T S A P..
Hi, I moved to ^0.8.0 in order to use the OpenZeplin as is (without specifying the version if I were on 0.6.6)....but it meant instead of 'return' it is 'returns' but I think _setTokenURI was deprecated, but trying to figure out how to do it).....
Import and inherit this instead and everything should be the same github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721URIStorage.sol
Great video man
Thank you for watching, for question, guidance and support at anytime. Just DM +1.(4 .2 .3). 4 . 3 . 0 . 6 . 9 . 8 . 4 @ W H A T S A P..
Try to unsee the fact that Patrick is Jeff Bezo's with hair.
great vid, sweet content
at 0:48 what application are you using? I downloaded brownie via command but I dont know what application your using to display the framework
Download visual studio code code.visualstudio.com/
@@PatrickAlphaC awesome. Thanks for your quick response, appreciate it :)
Which IDE is this and is there a video on how to prepare this IDE for getting started?
Visual Studio code. th-cam.com/video/4gHx-VESMMw/w-d-xo.html
Hi Patrick. New subscriber here great content! I see a lot of projects that have a "connect" button on their website to mint directly from their site. Do you have any tutorials or ideas on how to connect this python process with the process they are using via "connect" on websites? Thanks for your help!
Good question! That would be a full stack demo. Nader Dabit and dapp university have some good full stack videos, mine are coming soon!
Hi Patrick! Quick question: any guidance on how to make two small changes: add "NFT_Max : 500" and "price = 0.0025 ether" ? The rest is boilerplate I just don't want to have to add the price to ever listing on OpenSea or wherever once I launch. Maybe I'm wrong about the price thing, am i?
Thank you so much for all you for the community, Bro!! Cheers, mate. Wil
Under your “mint” function do a “require” statement for “msg.value” to be the amount you want. Then, do another require for tokenCounter to always be below 500
Thank you very much%!
Do you think I can run the same with the 0.8.7 sol version, please?
VS code tells me it's required.
You should be able to! VS Code is a little touchy with solidity listing, don’t worry about it too much
Bro I don't know anything about coding, if I do exactly what you do will the be good or should I have experience with coding first?
Do exactly what I do here: th-cam.com/video/M576WGiDBdQ/w-d-xo.html
@@PatrickAlphaC thanks bro
Looking for someone who can create a NFT Staking system on Polygon. Any recommendations?
Hi Patrick i complete you video ans success and have question can i mint on mainnet (real opensea)
You can! Just change the network flag to --network mainnet
Thank You Jeff Bezos with hair!
CEO ENTREPRENEUR, BORN IN 1964
@@PatrickAlphaC haha seriously though, thank you. Your content is awesome
@@ArtificiallyAmusing much obliged
Hello, good video, how can I sell them with metamask on my page after creating them?
Like on your own website? You'd have to code that functionality into a front end. Basically have a function called "buy" where they can send you value and then you transfer them the NFT
What's Blockchain platform do you recommend to develop a nft marketplace on?
Whichever one you want really. ETH will have a ton of longevity, but If you’re looking for cheap fees try polygon.
@@PatrickAlphaC thank you
please can you do a video on dapps for THETA, considering its EVM compatible with Solidity
ill try!
@@PatrickAlphaC Similar to the BinanceSmartChain and Matic/Polygon Ecosystem growth Theta is set to explode and itd be great if you could facilitate a part of it
Please remake this video on how to deploy with remix editor
It’s way harder in remix. I highly recommend learning hardhat, truffle, or brownie. This is going to make your life 50x better I promise
@@PatrickAlphaC ok I will learn it, we want more tuts please ...love your vids
I might be not familiar with the import itself. But how does the ERC721 get imported? I don't see the contract is downloaded. Thanks.
Brownie goes out to GitHub and download it
quick question, in the open zeppelin link, which one do I copy and paste
Hi Patrick, thanks for your video. I have one quest: if function createCollectible is called multi times at the same time, so these nft have same itemId ?
Nope! We increase the tokencounter each time. I might have forgot to add that in the video (oops), but in the repository of this video it's there!
Thanks for the tutorial! one question, when I deploy I get the error:
File "
Can you make a stackoverflow question on this?
This guy looks like Jeff Bezos with hair
Thank you for watching, for question, guidance and support at anytime. Just DM +1.(4 .2 .3). 4 . 3 . 0 . 6 . 9 . 8 . 4 @ W H A T S A P..
Nice , ok ill try it , will this work if item is .mp3 ?
Yes! But it’s a little tricker. Aka on Peeranha or ETH stack exchange!
Can you please create a Play list so it would be way more easier to figure things out in order
Just do the 2 hour video ahah.
Hi, i have a problem:
When i run "brownie run scripts/simple_collectible/deploy_simple"
This error shows up: "brownie" is not recognized as a command
I responded to your other comment with this.
You look like Jeff Bezos, no cap
No u
i just finishd a solidity crash course, I'm trying to make some NFTs, for deploying NFT on blockchain do I need ether in my account ?
Yes
Thank you 👍👍👍👍👌
He is amazing..
Thank you for watching, for question, guidance and support at anytime. Just DM +1.(4 .2 .3). 4 . 3 . 0 . 6 . 9 . 8 . 4 @ W H A T S A P..
Say if someone mints from your contract paying a fee, do you have an example how you'd split the amount between multiple owners of the contract? I'm assuming the owner object only represents the one owner that deployed the contract so I'm curious how dev teams split between themselves via contract.
I don’t have an example, but you’d add a “withdrawable” amount for each address owner that tracks how much they can withdraw
@@PatrickAlphaC doesn't that involve hard coding all these addresses in the contract?
@@echadesi you could do it that way. But you could also have a “addowner” function that does it for you
@@PatrickAlphaC That sounds more elegant. Except I'll pay gas each time I call anything through the interface.
Can you see the Simple NFT that is deployed or only the advanced one? I guess by see, I mean can you see it on OpenSea or anything?
You have to add the tokenURI for the simple one. I’ll show how to do that in the next video
Thanks bruh
Thank you for watching, for question, guidance and support at anytime. Just DM +1.(4 .2 .3). 4 . 3 . 0 . 6 . 9 . 8 . 4 @ W H A T S A P..
I don't see the link to the previous video in the description
th-cam.com/video/9yuHz6g_P50/w-d-xo.html
Updated!
'If you get this error, add a "0x" to the start of your metamask private key'
where do i find my metamask private key?
metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-Export-an-Account-Private-Key
Hi, how much does it cost to deploy 10000 nfts on polygon ?
But where are you coding,
I mean best app info please
Hi, can I hire you to make an nft for me? My mmorpg character can craft items forged with my account id making it unique compared to the same item that others can buy without though without my signature.
Sadly not, I’m pretty much at Max capacity at the moment, I’m sure someone from the chainlink community would love to help you out though!
where does the _setTokenURI function come from?
We made it
I'm a complete noob who really wants to get in this world. I didn't quite understand the part about remapping and how to install everything on my pc. Do you know of anyone else who makes tutorials that I should watch before I start watching yours so I can learn the basics?
th-cam.com/video/QfFO22lwSw4/w-d-xo.html
Hey patrick how do use ifps and how do you install that coding app you use.
Check my longer tutorial on NFTs!
Hi guys Derek more plates more dates
Woah I like this better than the Jeff bezos comments I get
Hey Patrick,
I get a slightly different error haha
I get:
The private key must be exactly 32 bytes long, instead of 42 bytes.
Could you make this a stackoverflow question and paste the link here?
I got the same error, most likely you are using the wrong key. Go to your metamask account, click on the three dots to the right and click on account details. Click "Export Private Key" and copy that key.
there is no _setTokenURI function in openzeppelin ?
In the v4 versions, they have a different setup. You can still use the v3 contracts though!
@@PatrickAlphaC np i wrote the most stuff myself now just was wondering and searching
Hi Patrick, i recived a nft from bakeryswap nft, but i don't know how yo see it o how to send, i just can see it on bscscan a it said si bep 721, but a i can see it un My metamask, can You help me plis? :(
You can call the tokenURI on the contract… although I’m not familiar with bakeryswap
Anyway we could mint these directly on open sea without having to pay for gas fees?
No, to deploy to a chain you need to spend fees
@@PatrickAlphaC So how does opensea do it with their collections? Their collection only requires a one-time gas fee and the rest of the mints are free. Is it because their collection is deployed on the ERC1155 chain? If so, is there a way we could deploy multiple NFT's on an 1155 chain and only paying a one-time fee? What is the best way to avoid high gas fees if I was to mint multiple NFTs at once? Maybe Integrate on the matic testnet?
Lastly, would it be possible to change the metadata on the NFTs that we've sold if the item was minted manually through opensea's website and not deployed by ourselves?
Please let me know and thank you for your amazing videos!
@@radripper9398 Erc1155 isn’t a chain. It’s a token standard. You have to pay fees everytime you mint a new unique NFT. The 1155 standard allows you to mint a thousand of the exact same token, not unique tokens, that’s the difference
Quick question do opensea automatic do this?
What do you mean? Do what?
How can i run brownie without "brownie run script/create_collectible.py" , just i call "python create_collectible.py "?
You’d have to do a lot of manual work for that, since brownie isn’t made to do that
After i added 0x infront of private key i got an error: "ValueError: The private key must be exactly 32 bytes long, instead of 34 bytes."
Odd.... maybe there are some spaces or something in there?
can anyone tell me please, what is the difference between creating an NFT here from scratch and creating it using Opensea??
Utility.
If you do it on opensea, it’s just an image. If you code it, you can give it unlimited customization. You can create a game like axie infinity or gods unchained. You can have true randomness and scarcity.
Doing it like this allows you to have it be more than a jpeg, and allows it to live forever
@@PatrickAlphaC Thank you so much, I have subscribed to see your content! just amazing man!
@@PatrickAlphaC one more question please, are there any fees to be paid when submitting the nfts?
@@MajdSukkar gas fees!
@@PatrickAlphaC sure, but I mean like how much. Or if you have a video on that topic, it would be great
hi, at which part of the code did you upload the picture of the dog?
Hi! And what do you mean? I uploaded the dog to IPFS and pulled the image URL from there
@@PatrickAlphaC yea, i messed up during that part, thanks alot, will try again and see how it goes!
Hi, i am getting this error!!
ValueError: The private key must be exactly 32 bytes long, instead of 0 bytes.
Terminating local RPC client...
What can i do to solve it?
Your PRIVATE_KEY is messed up. Could you make this a question on stack exchange ETH, tag it brownie, and i'll answer it there? ethereum.stackexchange.com/
@@PatrickAlphaC Of course, here is the link. ethereum.stackexchange.com/questions/104152/your-private-key-is-messed-up
@@franpv4019 Could you try what I proposed here and "check mark" it if it solves your problem? ethereum.stackexchange.com/a/104178/57451
what is this error?
development
File "C:\Users\Bumenga\AppData\Local\Programs\Python\Python39\lib\site-packages\eth_brownie-1.13.2-py3.9.egg\brownie\_cli
un.py", line 49, in main
return_value, frame = run(
File "C:\Users\Bumenga\AppData\Local\Programs\Python\Python39\lib\site-packages\eth_brownie-1.13.2-py3.9.egg\brownie\project\scripts.py", line 96, in run
return_value = f_locals[method_name](*args, **kwargs)
File "", line 4, in main
return self._contracts[i]
IndexError: list index out of range
Hmm... what command did you run?
@@PatrickAlphaC
brownie run scripts/simple_collectible/deploy_simple.py
@@bumenga could you check the readme for adding network information? Do you have the environment bars correct?
@@PatrickAlphaC "advanced" works but "simple" doesn't work, I think the mistake is in this line "simple_collectible = SimpleCollectible[len(SimpleCollectible) - 1]" Thank you
Anyone know how to make the program highlight certain solidity phrases and offer relevant solidity suggestions like his is? Is it extensions or program settings? Both?
I just have solidity as an extension. Have you tried that?
What is the program that you used to write the code?
Visual studio code
Can you do a new video, the open zeppelin contract got rid of setTokenUri
You can still use 3.4!
@@PatrickAlphaC Do you know how I would be able to install older versions? Thanks for responding so quickly btw
@@ahmedmehmedovic2319 if just follow the video and use 3.4 in your brownie config
Dude you kinda look like Jeff bezos
What if you wanted to have 100 unique images as separate tokens under the same token tracker ?
Every time you call "createCollectible" they will be under the same "token tracker".
The NFT contract we deploy is known as the "factory contract", every NFT we "mint" in there will be of that collectible type.
So yes, if you called "createCollectible" 100 times here, they would all be under the same token tracker.
@@PatrickAlphaC how do you add a unique image to each of the NFTs we've minted?
@@PatrickAlphaC excellent response, and your videos extremely helpful and well made.
@@lukej7283 This video will show you how
@@PatrickAlphaC ah I see.
So in that json file I noticed there was multiple ID, 0, 1, 2 etc, so you would set tokenURI to one of these and it would assign the image that's in that file linked to that ID number as a function of this contract once its deployed.
Do you have a video on creating a tokenURI contract ?
ValueError: The private key must be exactly 32 bytes long, instead of 0 bytes.
Hi i'm getting this error. How do I fix this??
thanks:)
Add a 0x to the start, thanks I’ll add in the description
@@PatrickAlphaC thanks a lot! I also ran into the error down below-
ValueError: Unable to expand environment variable in host setting: 'rinkeby.infura.io/v3/$WEB3_INFURA_PROJECT_ID'. when i type my infura url on google as well i get a 404 page not found error.
Not sure what to do here. Pls advice, thanks!
@@yrraadi your `WEB3_INFURA_PROJECT_ID` isn’t set. Make sure you set it in your `.env` and run `source .env`
@@PatrickAlphaC I did set it, but no luck
@@yrraadi it’s most likely the issue is that it’s not set right for some reason. Could you run `printenv` and see if you can find the environment variable?
Where in an nft is the value of the token?
The value of an NFT is whatever people will pay for it, like art!
@@PatrickAlphaC so how exactly would you tokenise an asset? how would you give a token the same value as a house for example
@@ismaeeladams3524 longer story, but basically you’d use the house as collateral for the asset. You’d say “this token represents ownership of x percent of this house”, and it would have value because of the value of the house
Jefff bezos.....is that you?
I need someone to do a side by side, cuz I don’t see it
how do you add the packages to visual studio on mac ??
Which ones?
Wouldn’t it be easier to just do this on Remix? So you don’t have to add all those packages etc.? Thanks. 👍
Maybe - but it’s hard to all our testing and scripting in remix!
@@PatrickAlphaC Thanks for the reply
How do you add attributes?
You map a tokenid to some value, then add it to the metadata file. Check the next video
@@PatrickAlphaC How do I link the image to the token that they randomly got (for the next video)
@@TiltedGamer sounds like I need a longer full depth video
@@PatrickAlphaC Sure lol
@@PatrickAlphaC You could call it "Deploy An Advanced NFT In Solidity: Extras"
I keep getting a "command not found" error when I try to run brownie bake nft-mix in vs code. Any ideas?
Can you make an issue on the GitHub repo with the steps you took?
@@PatrickAlphaC sure! But all I did was run pip install eth-brownie and then brownie bake nft-mix
It says brownie isn’t a command. Maybe it’s a PATH thing? It works on my friends computers
@@PatrickAlphaC It works when I run in a virtual environment and install there. Super weird. Going to go through the rest of the video now! Thanks!
@@brssnj54 could you try pipx instead? Try the instructions from the readme github.com/PatrickAlphaC/nft-mix
@@PatrickAlphaC pipx didn’t work either, but it’s been fine running in a virtual environment. It’s deploying now.
I’m pretty sure the problem is on my end, just not sure what vs code is doing
what extensions do u have installed in visual studio code
A whole bunch. Like solidity and some python ones... I’m not married to any though.
@@PatrickAlphaC It's just that when I try to follow along in visual studio code, certain functions aren't changing colors or offering suggestions like yours is.
What IDE is that you're using?
Visual Studio Code. Technically not an IDE, but a text editor.
@@PatrickAlphaC Thanks! I legit found right after posting this comment. Now Just trying to get the @openzeppelin reference to work. Learning a lot from your videos. Thanks for the content.
@@BenOnDemand for sure! Feel free to ping on questions
@@PatrickAlphaC thanks! I was trying to join your discord this morning but seems like that link isn’t working. Looking forward to chatting with you.
@@BenOnDemand hmm, send a pic of the error? It’s working for me
was this a tutorial?
Good vid bro
You look like Jeff!
nice tutorial
btw you look like the left half of jeff bezos somehow
I like your humour 😂
Thank you for watching, for question, guidance and support at anytime. Just DM +1.(4 .2 .3). 4 . 3 . 0 . 6 . 9 . 8 . 4 @ W H A T S A P..
you have newbies watching your videos if you are going to be teaching you should explain things to them like what a deploy script is or where to find more info. If you don't want to give the proper scope of the video ie who this video is for and who it is not for.
Thanks for the tip! I'll keep that in mind. Do you think this wasnt friendly enough for newbies? Are you a newbie?
I'm running into some issues with this video. I sent you an email recently.
Please make an issue on the GitHub repo, thanks