I would like to learn how ERC721 token works. I found some sample contracts online and tried to use remix and Ethereum Wallet to deploy the contract. The compile was fine but failed in the creation. The error message on remix is

"creation ERC721 error: Transaction failed, invalid address. If you use an injected provider, please check it is properly unlocked".

Can anyone help me? what can I do to fix the problem? Thank you.

  • Seems it's not getting the address from where to deploy the contract. Please ensure the chosen environment (Javascript VM, Injected Web3, Or Web3 Provider) is chosen properly, and the address chosen from them have enough some Ether balance to deploy the contract.
    – Rajesh
    Mar 2 '18 at 13:07
  • I finally found the answer from this post github.com/ethereum/mist/issues/2806. Now my test ERC721 token contract was deployed. rinkeby.etherscan.io/address/…
    – rc0918
    Mar 3 '18 at 20:06

Please see this example for a fully functioning ERC-721 implementation:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.