Noob question about interacting with contract via remix

I am following the code from 721 sample

using remix, it compiles and deploys correctly to test network,
now my question is how to interact with the contract?

> gameItem.awardItem(playerAddress, "https://game.example/item-id-8u5h2m.json")
Transaction successful. Transaction hash: 0x...
Events emitted:
 - Transfer(0x0000000000000000000000000000000000000000, playerAddress, 7)

Where should I type this command?

:1234: Code to reproduce

:computer: Environment

Hi, welcome! :wave:

I think you should use truffle develop to open a Truffle console.

And maybe you can have a look at this tutorial: Create an NFT and deploy to a public testnet, using Truffle | OpenZeppelin Community

1 Like