Hi @Harrison_Dahme,
Welcome to the community
I deployed the above contract using Remix and I was able to call mintTo
with the following parameters: “0x5B38Da6a701c568545dCfcB03FcB875f56beddC4”,“https://example.com/token/”
I am not sure what was causing the error that you were seeing.
Please note, in your token, there is no access control, so anyone could call the mintTo
function.
I suggest having a look at the ERC721 preset contract as an example: https://docs.openzeppelin.com/contracts/3.x/erc721#Presets
You may want to look at this guide: [DRAFT] Create an NFT and deploy to a public testnet, using Truffle