ERC721 Collection 101 - 02 - The smart contract project

  Рет қаралды 3,476

Liarco DevTips

Liarco DevTips

Күн бұрын

Пікірлер: 30
@mohammadsafvan8874
@mohammadsafvan8874 2 жыл бұрын
I deployed my smart contract using the erc 721contract on polygon testnet and minted 3 nfts from a different wallet but I can't see the nfts in my wallet and when I go the collection the nfts are there but the ownership (owned by xyz) is not showing,it's empty.... What do I do???? I need a solution please ,as soon as possible 🙏🙏
@alirezasafarian4880
@alirezasafarian4880 Жыл бұрын
Thank you for your great project How can add Base network support to project?
@jamshidkhan4374
@jamshidkhan4374 2 жыл бұрын
Thanks for the details explanation...
@bock-schroeder
@bock-schroeder 2 жыл бұрын
Excellent. This is a great help to understand smart contracts.
@alfaqir1615
@alfaqir1615 2 жыл бұрын
Thank you Liarco 🙏
@zahrashiraz9034
@zahrashiraz9034 2 жыл бұрын
Hi Liarco. I am unable to set a creator fee in order to withdraw funds. Can you explain how to set that in the smart contract?
@yung419
@yung419 2 жыл бұрын
Is this contract erc721a the one that comes with the dapp? If not did u guys have that? Thanks liarco
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
Hi Yung, yes, the link to the repo is in the description. It's an all-in-one solution and it's based on the ERC721A contract.
@yung419
@yung419 2 жыл бұрын
@@LiarcoDevTips Thanks Liarco one more thing for the dapp. I'm not too sure what this means. Congratulations! 🎉 Your Merkle Proof has been copied to the clipboard. You can paste it into Etherscan to claim your tokens.
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
That widget is for people who don’t want to connect the wallet to the DAPP, so they can copy the whitelist proof and mint on Etherscan instead. If you are using the DAPP, then there is no need to use the widget, the DAPP uses the whitelist proof automatically when minting.
@help9jahomeservicesltd.865
@help9jahomeservicesltd.865 2 жыл бұрын
Hi please quick question can i use a different erc20 paying for the minting? .. like when the user wants to mint they mint using my token ..is it possible?
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
This should be possible but it's not supported out-of-the-box. As far ad I know dealing with a custom ERC20 token cannot be done with "payable" functions. That solidity feature can only be used with the native chain token. A quick idea on how to do what you ask might be something like this (but I never tried it, so do your own research): 1) your NFT collection contract should be approved for transfers of the ERC20 token (like you would do for a staking contract) 2) the DAPP should verify that the NFT contract is approved for transfers before allowing to mint, if the contract is not approved, then it should run the approve function 3) on mint, instead of using a payable function, you can transfer the ERC20 token from the user before transferring the NFTs I hope this helps...
@AhmadAli-mw7md
@AhmadAli-mw7md 2 жыл бұрын
Hi! I have a problem when I start NFT Minting, some NFTs are mint on my wallet and a lot of NFTs are mint on someone else's wallet. The only one on the whitelist is my own wallet. Please tell me the solution to this problem. Thank you!
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
Hi, a whitelist cannot contain one single wallet address (that's clearly stated in the videos). Setting one wallet breaks the Merkle Tree so it might be possible for anyone to mint with no restriction. If you want to be the only one to be able to mint, then I would suggest other solutions, for example: keep the contract paused and use the "mintForAddress" function from the owner's wallet. You can run the function on Etherscan.
@andestajohan719
@andestajohan719 2 жыл бұрын
@@LiarcoDevTips dear Liarco, i'd like to be the only want who can mint on whitelist, could you kindly guide me the steps how to keep the contract paused and use the "mintForAddress" function? appreciate so much
@ericanderson2247
@ericanderson2247 2 жыл бұрын
Thanks for this video! I'm not quite connecting a dot.. can the `whitelistMint` method be called from OpenSea? Or is the dapp required for that?
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
Hi Eric, the whitelistMint function can be called from the DAPP and from Etherscan (on the "contract" tab), but you need to pass the whitelist proof which is generated by the DAPP. If you don't want to have a DAPP, you still have to provide the proof to each user. Also, you have the "yarn proof WL_ADDRESS" command that returns the proof for the given address (if available).
@bobchen3642
@bobchen3642 2 жыл бұрын
Hi is there a reason why you guys chose to do ERC-721A instead of ERC-1155? Do you plan to make a similar example repo with ERC-1155 soon?
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
Hi, yes, there is a reason, but it may be subjective. IMHO 721 and 1155 are two completely different standards and should not be mixed. Of course you can use an 1155 contract as a 721, but that's an edge case and I don't see many advantages now that we have better 721 implementations. Long story short, I still have to find good use-cases for 1155 collections that would work bad with 721... Anyway thank you for your feedback, I'll keep an eye on this topic and if you have any suggestions I would really appreciate it if you could share! ;)
@dig_limited
@dig_limited 2 жыл бұрын
Could you make a tutorial on how to make a nft wallet/display page so users can view their nfts for this collection within our app?
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
Hi, thank you for your feedback! This is on the roadmap. I don’t have an ETA at the moment, but stay tuned! 😉
@crisspatri
@crisspatri 2 жыл бұрын
👋Hello, excellent videos, great job ✌, congratulations 😱💗 I have 3 questions: 1. Why, when doing this, does the price not appear in Opensea to sell the NFTs? What do I have to do so that the price is displayed when the Whitelist, presale and publicsale are opened? 2. How do I directly mint the 10K NFTs or do I have to do it 100 by 100? Or what would be the way to do it if I need to Mint 10K NFTs? What changes do I have to make to the code? 3. What other Platforms exist as an alternative to Pinata to upload images and Metadata? I will be waiting for your answer, Thank you very much.
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
Hi, I already replied here: kzbin.info/www/bejne/jKG7e42JprGCbqM&lc=UgxVk34elHxiBXsJ2Ot4AaABAg
@ricardogarcia7683
@ricardogarcia7683 2 жыл бұрын
Thanks again Marco, but please, help us learn how to change the look and feel of the Dapp, basically colors and then how to deploy it on a webpage so everyone can see and use. Thank you very much.
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
Thank you Ricardo, I'm doing my best to get there as soon as possible without leaving important stuff behind. I should get to the look and feel soon 🤞
@yung419
@yung419 2 жыл бұрын
Does anyone know what setmerkleroot does?
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
Hi Yung, That function is used in order to update the merkle tree root hash based on the addresses you have in the whitelist.json file. The root hash should be updated each time you change the whitelist file.
@MarocMeteo24
@MarocMeteo24 2 жыл бұрын
Hi , can you please add maxWhitelistSupply + maxPresaleSupply ... it's will be great if you can post a function on discord ! if that's okay with you !
@LiarcoDevTips
@LiarcoDevTips 2 жыл бұрын
Hi! Thank you for your feedback, this feature requires a some code for both the contract and the dApp. I will take this into consideration for version 3 of this tool!
ERC721 Collection 101 - 03 - The minting DAPP project
5:31
Liarco DevTips
Рет қаралды 4 М.
Blockchain 101 - A Visual Demo
17:50
Anders Brownworth
Рет қаралды 2,8 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
But what is a neural network? | Deep learning chapter 1
18:40
3Blue1Brown
Рет қаралды 18 МЛН
Connect Metamask to Ganache (localhost) for web3 development
7:01
How to Trace Bitcoin Transactions (and avoid yours being traced)
14:25
5 Hidden Windows Features You Should Be Using in 2025!
8:05
Kevin Stratvert
Рет қаралды 132 М.
Deep Learning State of the Art (2020)
1:27:41
Lex Fridman
Рет қаралды 1,3 МЛН
A Deep Dive into JVM Start-Up
22:03
Java
Рет қаралды 31 М.
Массаж головы пранк🤣
0:55
Kirya Kolesnikov
Рет қаралды 5 МЛН
Черная Magic Mouse
0:53
Romancev768
Рет қаралды 807 М.
КАК ЖИВЕТ КВАНТУМ? РУМ ТУР КВАНТУМА!!!
13:51
DID YOU NOTICE ANY LAPSES IN THE VIDEO or NOT? / MARGO_FLURY
0:34
MARGO FLURY | Маргарита Дьяченкова
Рет қаралды 12 МЛН