Published On Apr 14, 2021
End-To-End NFT/ERC-721/Blockchain Collectible tutorial. We deploy some adorable puppies.
We've made some updates to this code! Feel free to follow along with the video, but we made a lot of nice improvements to the repo here:
✨ Updated Code: https://github.com/PatrickAlphaC/nft-mix
Deploy your smart contract to Opensea, end-to-end. The Ultimate/end-to-end tutorial.
UPDATES:
🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺
1. 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.
Follow this if you are getting gas estimation errors (But for Rinkeby instead of Kovan): • Set Up Your Environment for Success |...
2. requestRandomness no longer requires userProvidedSeed. However, if you use version 1.0.2 of the chainlink-brownie-contracts in your brownie-config.yaml as done in the video, you can ignore this.
3. Skip running `source .env` and instead just make sure in your `brownie-config.yaml` you have `dotenv: .env` and all your environment variables in your `.env` file.
4. We have added a `listen_for_event` function instead of doing `time.sleep`
5. (not done) If someone wants to implement this with Chainlink VRFv2 that would be cool 😊 You can still follow along with everything, but skip the Chainlink section if it's confusing!
🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺
0:00 | Intro
1:02 | Quickstart
16:02 | Deploy an NFT from scratch setup
18:30 | AdvancedCollectible.sol - Importing from github
26:45 | AdvancedCollectible.sol - Contract Constructor
30:20 | AdvancedCollectible.sol - CreateCollectible
42:28 | AdvancedCollectible.sol - fulfillRandomness
52:08 | AdvancedCollectible.sol - setTokenURI
55:40 | Deploy Script
1:05:39 | Link Fund Script
1:12:00 | Deploy Script (continued)
1:16:28 | create_collectible.py
1:25:11 | create_metadata.py
1:36:55 | create_metadata.py - IPFS
1:56:18 | set_tokeuri.py
2:09:55 | View on Opensea
2:11:29 | End
Medium Post: https://betterprogramming.pub/how-to-...
Dungeons and Dragons NFT Blog: https://blog.chain.link/build-deploy-...
Download IPFS: https://ipfs.io/
ALL DIRECTIONS IN THE README: https://github.com/PatrickAlphaC/nft-mix
For beginners: https://docs.chain.link/docs/beginner...
✅✅ Donate ✅✅
I use donated funds to spend money on making fun & informational videos.
ETH Wallet address: 0x9680201d9c93d65a3603d2088d125e955c73BD65
😸😸Join the community!😸😸
Twitter: / patrickalphac
Chainlink developers discord: / discord
Medium: / patrick.collins_58673
Twitch Stream Uploads: / @patrickalphac-alt
Twitch: / patrickalphac
🖥🖥🖥Chainlink Hackathon Registration🖥🖥🖥
https://chain.link/hackathon
Sign up here!
☝️☝️☝️☝️☝️
All thoughts and opinions are my own.