Deploy a Simple NFT in Solidity | [See Description\

Sdílet
Vložit
  • čas přidán 1. 03. 2021
  • A Glorious Guide to NFTs (ERC721) - deploying a simple NFT
    UPDATES:
    🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺
    ValueError: The private key must be exactly 32 bytes long, instead of 0 bytes.
    If you get this error, add a "0x" to the start of your metamask private key
    For newer versions of solidity, import and inherit this: github.com/OpenZeppelin/openz...
    Chainlink VRF has now updated, for the Chainlink section, either skip it or use Chainlink VRFv2
    🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺
    What is an NFT (Non-Fungible Token)? What is the ERC-721 standard? What is this digital art stuff? We are going to use Openzepplin contracts to build a simple NFT that mom can be proud of :)
    Be sure to check out the tutorials!!!
    Medium Post: betterprogramming.pub/how-to-...
    Dungeons and Dragons NFT Blog: blog.chain.link/build-deploy-...
    Code for this tutorial: github.com/PatrickAlphaC/nft-mix
    NFT video: • A Glorious Guide to NF...
    For beginners: docs.chain.link/docs/beginner...
    ✅✅ Donate ✅✅
    ETH Wallet address: 0x9680201d9c93d65a3603d2088d125e955c73BD65
    😸😸Join the community!😸😸
    Chainlink developers discord: / discord
    Alpha Chain discord: / discord
    Twitter: / alphachainio
    Twitter (me): / patrickalphac
    Medium: / patrick.collins_58673
    Twitch Stream Uploads: / @patrickalphac-alt
    Twitch: / patrickalphac
    🖥🖥🖥Chainlink Hackathon Registration🖥🖥🖥
    chain.link/hackathon
    Sign up here!
    ☝️☝️☝️☝️☝️
    All thoughts and opinions are my own.
  • Věda a technologie

Komentáře • 297

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

    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

  • @berzzzini
    @berzzzini Před 3 lety +23

    dude your content is a gem, informative & fun af

  • @alphaprimer6485
    @alphaprimer6485 Před 3 lety +11

    This is exactly what I was looking for, amazing job explaining this. Please keep making videos like this!!

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

    This is an excellent video, so clearly explained & fun. Glad I found your channel!

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

    This series is absolute GOLD!

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..

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

    I really appreciate this video and how I can follow along without confusion. Thank you!

    • @zes3813
      @zes3813 Před 2 lety

      wrr, no such thing as kidding or etc

  • @brunobbll
    @brunobbll Před 3 lety +4

    You're funny and the content is awesome, fun way to learn!! Keep on the awesome work, and thank you!

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

    This channel is on it's way to blow up lol glad I got here early

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..

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

    New into this world. I'm very gratefull for finding this vid! Thaanks!

  • @Milark
    @Milark Před 2 lety

    Super underrated channel. Thanks!

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

    I wish I could get a simple Solana version of this tutorial! This is really awesome!

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

    You are awesome ! My regards from Brazil.

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

    Great Content! THANKS

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..

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

    Hey buddy, reviewing NFTs now for my next innovative project. Love your humor and simplicity, sending quick feedback to your discord

    • @PatrickAlphaC
      @PatrickAlphaC  Před 2 lety

      Thank you for the feedback as always!

    • @tippififestarr6519
      @tippififestarr6519 Před 2 lety

      @@PatrickAlphaC Comment & Like my most recent and subscribe my channel to do your part in the decentralized music production process ;)

  • @zychris1750
    @zychris1750 Před 3 lety +3

    Amazing! Do you cover other resource in building smart contracts like uniswap, defi ideas?

  • @peakMomentum1
    @peakMomentum1 Před 3 lety +6

    You can’t fool us with just a wig Mr. Bezos

  • @Dharqx
    @Dharqx Před 3 lety +1

    great vid, sweet content

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

    How can I access v0.8 of chainlink brownie contracts in brownie config file

  • @dhaiwat10
    @dhaiwat10 Před 3 lety +1

    Great video man

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..

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

    Great video! Love it. One caveat, wish you used JS, truffle. Could you refer to that tech stack for nft deployment and maybe minting?

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

      I got you: czcams.com/video/EzZEx0lumr0/video.html

    • @gene8945
      @gene8945 Před 3 lety

      @@PatrickAlphaC Thank you!

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

    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).....

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

      Import and inherit this instead and everything should be the same github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721URIStorage.sol

  • @THEBIGGESTSCUMBAG
    @THEBIGGESTSCUMBAG Před 3 lety +1

    GOAT

  • @Darnelletienne
    @Darnelletienne Před 2 lety

    quick question, in the open zeppelin link, which one do I copy and paste

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

    wow pat your a gangster thanks dude!

  • @tyshantz8675
    @tyshantz8675 Před 3 lety +3

    Thanks bruh

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..

  • @buttter
    @buttter Před 3 lety

    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?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      I just have solidity as an extension. Have you tried that?

  • @Jxmiecole
    @Jxmiecole Před 3 lety +6

    great video thanks bro. don't know if anyone has ever told you you look like Jeff Bezos aha

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..

  • @habiblichaa3978
    @habiblichaa3978 Před 2 lety

    Looking for someone who can create a NFT Staking system on Polygon. Any recommendations?

  • @0GRANATE0
    @0GRANATE0 Před 3 lety +2

    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!

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      If you watch my longer video on this channel, all answers will be revealed!

    • @0GRANATE0
      @0GRANATE0 Před 3 lety +1

      @@PatrickAlphaC ok I will say it... I love you!

  • @st33pd33p
    @st33pd33p Před 2 lety

    Thanks for the tutorial! one question, when I deploy I get the error:
    File "

    • @PatrickAlphaC
      @PatrickAlphaC  Před 2 lety

      Can you make a stackoverflow question on this?

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

    Lets do this....Im ready to make
    nft history

  • @olioreos7194
    @olioreos7194 Před 2 lety

    Good vid bro

  • @ducbinhvu9567
    @ducbinhvu9567 Před 2 lety

    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 ?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 2 lety

      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!

  • @everydayonlineshopping3074

    He is amazing..

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..

  • @1990Farz
    @1990Farz Před 3 lety +2

    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

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

      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

    • @1990Farz
      @1990Farz Před 3 lety

      @@PatrickAlphaC Thanks for your reply. Are you open to contractural work?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      @@1990Farz nope, I’m flattered though :)

  • @ShivamT
    @ShivamT Před 3 lety +1

    'If you get this error, add a "0x" to the start of your metamask private key'
    where do i find my metamask private key?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-Export-an-Account-Private-Key

  • @benjaminsanchezlopez3266

    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

  • @diegomartinez3009
    @diegomartinez3009 Před 3 lety

    how do you add the packages to visual studio on mac ??

  • @WILPOLLOCK
    @WILPOLLOCK Před 2 lety

    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

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

      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

  • @ShivamT
    @ShivamT Před 3 lety +1

    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

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      Download visual studio code code.visualstudio.com/

    • @ShivamT
      @ShivamT Před 3 lety +1

      @@PatrickAlphaC awesome. Thanks for your quick response, appreciate it :)

  • @bitcoinroc3020
    @bitcoinroc3020 Před 2 lety

    Hi, how much does it cost to deploy 10000 nfts on polygon ?

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

    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

    • @PatrickAlphaC
      @PatrickAlphaC  Před 2 lety

      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

  • @Shmoji
    @Shmoji Před 3 lety

    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?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      You have to add the tokenURI for the simple one. I’ll show how to do that in the next video

  • @drakegao816
    @drakegao816 Před rokem

    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.

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

    mate you are more HYPE then the FUD pump groups....

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

    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.

    • @PatrickAlphaC
      @PatrickAlphaC  Před 2 lety

      You should be able to! VS Code is a little touchy with solidity listing, don’t worry about it too much

  • @rotopercutorash
    @rotopercutorash Před 3 lety +3

    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
      @PatrickAlphaC  Před 3 lety +1

      Sure! Just add something like “if tokenCounter > 9 then revert”

    • @rotopercutorash
      @rotopercutorash Před 3 lety +1

      @@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 :)

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      @@rotopercutorash nope! 1 createCollectible function works, just pass in a different tokenURI (pointing to a different image) each time.

    • @marcinooooo
      @marcinooooo Před 3 lety

      Hey @rotopercutorash how did the creation of your code go? Wold yo mind sharing it? I also want to create something like you

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

    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!

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

      Good question! That would be a full stack demo. Nader Dabit and dapp university have some good full stack videos, mine are coming soon!

  • @tylersim8856
    @tylersim8856 Před 2 lety

    Amazing Video! Is the best writing platform to download Brownie or is there another?

  • @pawezieba8310
    @pawezieba8310 Před 3 lety

    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."

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      Odd.... maybe there are some spaces or something in there?

  • @romulocarrillo7665
    @romulocarrillo7665 Před 2 lety

    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
      @PatrickAlphaC  Před 2 lety

      You can call the tokenURI on the contract… although I’m not familiar with bakeryswap

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

    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.

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      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!

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

    Patrick is the GOAT

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..

  • @echadesi
    @echadesi Před 2 lety

    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.

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

      I don’t have an example, but you’d add a “withdrawable” amount for each address owner that tracks how much they can withdraw

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

      @@PatrickAlphaC doesn't that involve hard coding all these addresses in the contract?

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

      @@echadesi you could do it that way. But you could also have a “addowner” function that does it for you

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

      @@PatrickAlphaC That sounds more elegant. Except I'll pay gas each time I call anything through the interface.

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

    Thank You Jeff Bezos with hair!

  • @muatafaalahmid7467
    @muatafaalahmid7467 Před 3 lety +1

    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 ?

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

    Try to unsee the fact that Patrick is Jeff Bezo's with hair.

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

    Which IDE is this and is there a video on how to prepare this IDE for getting started?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 2 lety

      Visual Studio code. czcams.com/video/4gHx-VESMMw/video.html

  • @en5490
    @en5490 Před 2 lety

    where does the _setTokenURI function come from?

  • @sk-sm5zg
    @sk-sm5zg Před 3 lety +2

    I like your humour 😂

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..

  • @QuertyCube
    @QuertyCube Před 2 lety

    How can i run brownie without "brownie run script/create_collectible.py" , just i call "python create_collectible.py "?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 2 lety

      You’d have to do a lot of manual work for that, since brownie isn’t made to do that

  • @akath22
    @akath22 Před 2 lety

    I don't see the link to the previous video in the description

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

      czcams.com/video/9yuHz6g_P50/video.html
      Updated!

  • @xtremefitteam6810
    @xtremefitteam6810 Před 3 lety

    What's Blockchain platform do you recommend to develop a nft marketplace on?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      Whichever one you want really. ETH will have a ton of longevity, but If you’re looking for cheap fees try polygon.

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

      @@PatrickAlphaC thank you

  • @franpv4019
    @franpv4019 Před 3 lety

    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?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      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/

    • @franpv4019
      @franpv4019 Před 3 lety

      @@PatrickAlphaC Of course, here is the link. ethereum.stackexchange.com/questions/104152/your-private-key-is-messed-up

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      @@franpv4019 Could you try what I proposed here and "check mark" it if it solves your problem? ethereum.stackexchange.com/a/104178/57451

  • @buttter
    @buttter Před 3 lety

    what extensions do u have installed in visual studio code

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      A whole bunch. Like solidity and some python ones... I’m not married to any though.

    • @buttter
      @buttter Před 3 lety

      @@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.

  • @pudsey7527
    @pudsey7527 Před 2 lety

    Hey patrick how do use ifps and how do you install that coding app you use.

  • @gekyangng3944
    @gekyangng3944 Před 3 lety

    hi, at which part of the code did you upload the picture of the dog?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      Hi! And what do you mean? I uploaded the dog to IPFS and pulled the image URL from there

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

      @@PatrickAlphaC yea, i messed up during that part, thanks alot, will try again and see how it goes!

  • @1Revolucion1
    @1Revolucion1 Před 3 lety +1

    Hello, good video, how can I sell them with metamask on my page after creating them?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      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

  • @Zilverbacks
    @Zilverbacks Před 3 lety

    please can you do a video on dapps for THETA, considering its EVM compatible with Solidity

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      ill try!

    • @Zilverbacks
      @Zilverbacks Před 3 lety

      @@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

  • @dayzinn
    @dayzinn Před rokem

    Quick question do opensea automatic do this?

  • @JuanGrzn
    @JuanGrzn Před 2 lety

    What is the program that you used to write the code?

  • @radripper9398
    @radripper9398 Před 3 lety

    Anyway we could mint these directly on open sea without having to pay for gas fees?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      No, to deploy to a chain you need to spend fees

    • @radripper9398
      @radripper9398 Před 3 lety +1

      ​@@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!

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      @@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

  • @Jizzed91
    @Jizzed91 Před 2 lety

    there is no _setTokenURI function in openzeppelin ?

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

      In the v4 versions, they have a different setup. You can still use the v3 contracts though!

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

      @@PatrickAlphaC np i wrote the most stuff myself now just was wondering and searching

  • @basetpk
    @basetpk Před 2 lety

    Fuck yes!

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

    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?

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

      Do exactly what I do here: czcams.com/video/M576WGiDBdQ/video.html

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

      @@PatrickAlphaC thanks bro

  • @MajdSukkar
    @MajdSukkar Před 2 lety

    can anyone tell me please, what is the difference between creating an NFT here from scratch and creating it using Opensea??

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

      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

    • @MajdSukkar
      @MajdSukkar Před 2 lety

      @@PatrickAlphaC Thank you so much, I have subscribed to see your content! just amazing man!

    • @MajdSukkar
      @MajdSukkar Před 2 lety

      @@PatrickAlphaC one more question please, are there any fees to be paid when submitting the nfts?

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

      @@MajdSukkar gas fees!

    • @MajdSukkar
      @MajdSukkar Před 2 lety

      @@PatrickAlphaC sure, but I mean like how much. Or if you have a video on that topic, it would be great

  • @sk-sm5zg
    @sk-sm5zg Před 3 lety +2

    Please remake this video on how to deploy with remix editor

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      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

    • @sk-sm5zg
      @sk-sm5zg Před 3 lety +1

      @@PatrickAlphaC ok I will learn it, we want more tuts please ...love your vids

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

    But where are you coding,
    I mean best app info please

  • @lukej7283
    @lukej7283 Před 2 lety

    What if you wanted to have 100 unique images as separate tokens under the same token tracker ?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 2 lety

      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.

    • @lukej7283
      @lukej7283 Před 2 lety

      @@PatrickAlphaC how do you add a unique image to each of the NFTs we've minted?

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

      @@PatrickAlphaC excellent response, and your videos extremely helpful and well made.

    • @PatrickAlphaC
      @PatrickAlphaC  Před 2 lety

      @@lukej7283 This video will show you how

    • @lukej7283
      @lukej7283 Před 2 lety

      @@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 ?

  • @ahmedmehmedovic2319
    @ahmedmehmedovic2319 Před 3 lety

    Can you do a new video, the open zeppelin contract got rid of setTokenUri

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      You can still use 3.4!

    • @ahmedmehmedovic2319
      @ahmedmehmedovic2319 Před 3 lety

      @@PatrickAlphaC Do you know how I would be able to install older versions? Thanks for responding so quickly btw

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      @@ahmedmehmedovic2319 if just follow the video and use 3.4 in your brownie config

  • @brssnj54
    @brssnj54 Před 3 lety +1

    I keep getting a "command not found" error when I try to run brownie bake nft-mix in vs code. Any ideas?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      Can you make an issue on the GitHub repo with the steps you took?

    • @brssnj54
      @brssnj54 Před 3 lety

      @@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

    • @brssnj54
      @brssnj54 Před 3 lety

      @@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!

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      @@brssnj54 could you try pipx instead? Try the instructions from the readme github.com/PatrickAlphaC/nft-mix

    • @brssnj54
      @brssnj54 Před 3 lety

      @@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

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

    Hi Patrick i complete you video ans success and have question can i mint on mainnet (real opensea)

    • @PatrickAlphaC
      @PatrickAlphaC  Před 2 lety

      You can! Just change the network flag to --network mainnet

  • @kozue___777
    @kozue___777 Před 2 lety

    You look like Jeff!

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

    "Its so cuuuuuute!" - hahhahahhahhahahahahahahahaja

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

    This guy looks like Jeff Bezos with hair

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..

  • @basicallyeveryone
    @basicallyeveryone Před 2 lety

    nice tutorial
    btw you look like the left half of jeff bezos somehow

  • @yrraadi
    @yrraadi Před 3 lety +1

    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:)

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      Add a 0x to the start, thanks I’ll add in the description

    • @yrraadi
      @yrraadi Před 3 lety

      @@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!

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      @@yrraadi your `WEB3_INFURA_PROJECT_ID` isn’t set. Make sure you set it in your `.env` and run `source .env`

    • @yrraadi
      @yrraadi Před 3 lety

      @@PatrickAlphaC I did set it, but no luck

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      @@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?

  • @paulweinhofer6110
    @paulweinhofer6110 Před 3 lety

    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?

  • @Nilso0O
    @Nilso0O Před 3 lety

    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
      @PatrickAlphaC  Před 3 lety

      Whats the error? Could you make an issue on the repo or on stack exchange ETH?

    • @Nilso0O
      @Nilso0O Před 3 lety

      @@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

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      @@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.

    • @Nilso0O
      @Nilso0O Před 3 lety

      ​@@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?

  • @bumenga
    @bumenga Před 3 lety

    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
      @PatrickAlphaC  Před 3 lety

      Hmm... what command did you run?

    • @bumenga
      @bumenga Před 3 lety

      ​@@PatrickAlphaC
      brownie run scripts/simple_collectible/deploy_simple.py

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      @@bumenga could you check the readme for adding network information? Do you have the environment bars correct?

    • @bumenga
      @bumenga Před 3 lety +1

      @@PatrickAlphaC "advanced" works but "simple" doesn't work, I think the mistake is in this line "simple_collectible = SimpleCollectible[len(SimpleCollectible) - 1]" Thank you

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

    Hi guys Derek more plates more dates

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

      Woah I like this better than the Jeff bezos comments I get

  • @oommdtube
    @oommdtube Před rokem

    Nice , ok ill try it , will this work if item is .mp3 ?

    • @PatrickAlphaC
      @PatrickAlphaC  Před rokem

      Yes! But it’s a little tricker. Aka on Peeranha or ETH stack exchange!

  • @sangamchhetri2998
    @sangamchhetri2998 Před 3 lety +1

    Jefff bezos.....is that you?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      I need someone to do a side by side, cuz I don’t see it

  • @ismaeeladams3524
    @ismaeeladams3524 Před 3 lety

    Where in an nft is the value of the token?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      The value of an NFT is whatever people will pay for it, like art!

    • @ismaeeladams3524
      @ismaeeladams3524 Před 3 lety

      @@PatrickAlphaC so how exactly would you tokenise an asset? how would you give a token the same value as a house for example

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      @@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

  • @BenOnDemand
    @BenOnDemand Před 3 lety

    What IDE is that you're using?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      Visual Studio Code. Technically not an IDE, but a text editor.

    • @BenOnDemand
      @BenOnDemand Před 3 lety +1

      @@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.

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety +1

      @@BenOnDemand for sure! Feel free to ping on questions

    • @BenOnDemand
      @BenOnDemand Před 3 lety +1

      @@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.

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      @@BenOnDemand hmm, send a pic of the error? It’s working for me

  • @TiltedGamer
    @TiltedGamer Před 3 lety +1

    How do you add attributes?

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      You map a tokenid to some value, then add it to the metadata file. Check the next video

    • @TiltedGamer
      @TiltedGamer Před 3 lety +1

      @@PatrickAlphaC How do I link the image to the token that they randomly got (for the next video)

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      @@TiltedGamer sounds like I need a longer full depth video

    • @TiltedGamer
      @TiltedGamer Před 3 lety

      @@PatrickAlphaC Sure lol

    • @TiltedGamer
      @TiltedGamer Před 3 lety

      @@PatrickAlphaC You could call it "Deploy An Advanced NFT In Solidity: Extras"

  • @thattrippydudeonyoutube7273

    Wouldn’t it be easier to just do this on Remix? So you don’t have to add all those packages etc.? Thanks. 👍

  • @domenicobezuidenhout1587

    Hey Patrick,
    I get a slightly different error haha
    I get:
    The private key must be exactly 32 bytes long, instead of 42 bytes.

    • @PatrickAlphaC
      @PatrickAlphaC  Před 3 lety

      Could you make this a stackoverflow question and paste the link here?

    • @jacobbarca2410
      @jacobbarca2410 Před 2 lety

      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.

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

    You look like Jeff Bezos, no cap

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

    Alpha NFT

    • @patrickcollins479
      @patrickcollins479 Před 3 lety

      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..