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
@@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, 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 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
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 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 ?
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 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
@@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
@@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
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? :(
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/
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?
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
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.
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
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 :)
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 ?
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
@@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?
@@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.
@@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
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
@@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.
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!
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.
I have followed everything you said, but I still get an error in "deploy_simple.py" in line 3 which says its unable to import brownie When i try to execute the last command, it says that a certain file could not be found It does something, but its not returning the id.
@@PatrickAlphaC Im not sure. I nearly got everything to work, also the brownie test works. But im still getting a message, that a file is missing. Here's a pastebin to the error: pastebin.com/KLMcX3GW
@@Nilso0O the pastebin actually isn’t that helpful. Making an issue on the repo or a stack exchange ETH will mean the rest of the community can benefit if they run into this same error.
@@PatrickAlphaC Alright, I've opened a thread on Stack Exchange. ethereum.stackexchange.com/questions/96345/problem-with-deploying-a-collectible-with-brownie But what can I show you / the community excpept for the errorcode to help solving the problem?
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 :)
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 :)
You can’t fool us with just a wig Mr. Bezos
Bro lol
True he seems jeff😂
New into this world. I'm very gratefull for finding this vid! Thaanks!
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 ;)
I really appreciate this video and how I can follow along without confusion. Thank you!
wrr, no such thing as kidding or etc
I wish I could get a simple Solana version of this tutorial! This is really awesome!
One day!
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..
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
You're funny and the content is awesome, fun way to learn!! Keep on the awesome work, and thank you!
Thank you!
This is an excellent video, so clearly explained & fun. Glad I found your channel!
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
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
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
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 :)
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
You look like Jeff Bezos, no cap
No u
How can I access v0.8 of chainlink brownie contracts in brownie config file
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..
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
mate you are more HYPE then the FUD pump groups....
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..
Amazing! Do you cover other resource in building smart contracts like uniswap, defi ideas?
If time allows ahah
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.
Looking for someone who can create a NFT Staking system on Polygon. Any recommendations?
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.
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..
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 👍👍👍👍👌
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
where does the _setTokenURI function come from?
We made it
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
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!
Thanks for the tutorial! one question, when I deploy I get the error:
File "
Can you make a stackoverflow question on this?
quick question, in the open zeppelin link, which one do I copy and paste
Amazing Video! Is the best writing platform to download Brownie or is there another?
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!
Thank You Jeff Bezos with hair!
CEO ENTREPRENEUR, BORN IN 1964
@@PatrickAlphaC haha seriously though, thank you. Your content is awesome
@@ArtificiallyAmusing much obliged
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!
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
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
You are awesome ! My regards from Brazil.
Quick question do opensea automatic do this?
What do you mean? Do what?
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
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
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
Hey patrick how do use ifps and how do you install that coding app you use.
Check my longer tutorial on NFTs!
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
Super underrated channel. Thanks!
'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
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?
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
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
Lets do this....Im ready to make
nft history
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!
What is the program that you used to write the code?
Visual studio code
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
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
I don't see the link to the previous video in the description
th-cam.com/video/9yuHz6g_P50/w-d-xo.html
Updated!
how do you add the packages to visual studio on mac ??
Which ones?
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 ?
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
Try to unsee the fact that Patrick is Jeff Bezo's with hair.
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?
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.
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!
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!
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"
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
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
@@Ggsnoremark if just follow the video and use 3.4 in your brownie config
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
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?
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
Hi, how much does it cost to deploy 10000 nfts on polygon ?
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
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!
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
wow pat your a gangster thanks dude!
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
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..
Hi guys Derek more plates more dates
Woah I like this better than the Jeff bezos comments I get
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..
nice tutorial
btw you look like the left half of jeff bezos somehow
But where are you coding,
I mean best app info please
"Its so cuuuuuute!" - hahhahahhahhahahahahahahahaja
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,
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.
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.
Jefff bezos.....is that you?
I need someone to do a side by side, cuz I don’t see it
I have followed everything you said, but I still get an error in "deploy_simple.py" in line 3 which says its unable to import brownie
When i try to execute the last command, it says that a certain file could not be found
It does something, but its not returning the id.
Whats the error? Could you make an issue on the repo or on stack exchange ETH?
@@PatrickAlphaC Im not sure. I nearly got everything to work, also the brownie test works. But im still getting a message, that a file is missing.
Here's a pastebin to the error: pastebin.com/KLMcX3GW
@@Nilso0O the pastebin actually isn’t that helpful. Making an issue on the repo or a stack exchange ETH will mean the rest of the community can benefit if they run into this same error.
@@PatrickAlphaC Alright, I've opened a thread on Stack Exchange.
ethereum.stackexchange.com/questions/96345/problem-with-deploying-a-collectible-with-brownie
But what can I show you / the community excpept for the errorcode to help solving the problem?
Dude you kinda look like Jeff bezos
You look like Jeff!
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..
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..
great vid, sweet content
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..
was this a tutorial?
I'm running into some issues with this video. I sent you an email recently.
Please make an issue on the GitHub repo, thanks
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..