Erc721 contract

sorry for this simple question. I was implementing as a test a erc721 contract. I’ve seen that example on your site does not work fine with new version of openzeppelin. can someone light me on what changes are needed?
thanks

Hello @mssmx! Could you share some information as to what it is you intend to do, and the errors you’re encountering?

1 Like

sorry for confusion. i was testing doggo https://docs.openzeppelin.org/docs/learn-about-tokens.html with truffle. i got this error when compiling
Error: Identifier not found or not unique.
i am using truffle last version and openzeppelin last version.
where am i wrong?

Hmm, the guide may be outdated if you get that. Could you please share the full command and error string? That will help us pinpoint the cause.

1 Like

Unfortunately that guide was outdated. Sorry! The error you were getting was due to some changes in the Counter library introduced in OpenZeppelin 2.2.

I’ve just fixed it. Please take a look at it here.

Thank you very much! You are a great team!

2 Likes