Dave Appleton
1 min readDec 30, 2018

--

Updating to OpenZeppelin 2.0, Truffle 5 as of 30 Dec 2018

  1. in truffle-config.js specify solidity 0.4.25
  2. your contact is now derived from ERC721Full and path is openzeppelin-solidity
  3. you need to implement exists(uint tokenId) in your contract

function exists(uint256 tokenId) public view returns (bool){

return super._exists(tokenId);

}

--

--

Dave Appleton
Dave Appleton

Written by Dave Appleton

HelloGold's blockchain lead and Senior Advisor at Akomba Labs; a technology anachronism who codes, teaches, mentors and consumes far too much caffeine.

No responses yet