This is awesome, thanks @dabit3 ! Question. In the deploy script, what's the difference between deploying the NFTMarket contract and NFT contract? The former calls deploy() with no args, whereas the later calls deploy(NFTMarket.address).
deploy()
deploy(NFTMarket.address)
If you look at the constructor for NFT smart contract, it requires the NFTMarket address.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is awesome, thanks @dabit3 ! Question. In the deploy script, what's the difference between deploying the NFTMarket contract and NFT contract? The former calls
deploy()
with no args, whereas the later callsdeploy(NFTMarket.address)
.If you look at the constructor for NFT smart contract, it requires the NFTMarket address.