From the course: Building Web3 Decentralized Apps in Ethereum

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Calling a smart contract function

Calling a smart contract function

- [Instructor] We're finally at the moment we've all been waiting for, minting our NFT. So, to do so, we need to make sure that we've got our front end running and that we've got our Ethereum node running and essentially we're ready to go and we've deployed our contract. Well, I haven't done that yet. So, I'm going to go ahead and open a new window. And this is going to the root of my dapp, which is where my smart contracts are. And we went over this in a video earlier, but we're just going to do it again just to make sure we've all got it right. And then, I'm going to type an NPX hard hat, run network, local host, to make sure it deploys to the local host. And we're going to run scripts/mint-script.JS, which is the one that deploys our minting contract. So, here we go. Churn, churn, churn, chugga chugga chugga churn. All right. Compiled. And it's deployed to that address. So, beautiful thing is I've got that address.…

Contents