Buy nft from contract

Hi Team, I am trying to create a buy button for a nft. so far i made nfts visible in a contract. Now I would like to create the buy button so what any user who is logging in with metamask can select and buy a nft which are in a smart contract. any idea how to do this? perhaps you can guide me to a youtube tutorial or docs for this. thank you.

You can use Moralis.executeFunction to execute a buy function in that smart contract

1 Like