Erc721 contract

#1

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

0 Likes

#2

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

1 Like

#3

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?

0 Likes

#4

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

#5

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.

0 Likes

#6

Thank you very much! You are a great team!

2 Likes