# Unable to verify ERC721 contract on Etherscan

**URL:** <https://forum.openzeppelin.com/t/unable-to-verify-erc721-contract-on-etherscan/4534>\
**Category:** Contracts\
**Tags:** erc721\
**Created:** [November 11, 2020, 7:47am UTC](https://forum.openzeppelin.com/t/unable-to-verify-erc721-contract-on-etherscan/4534 "2020-11-11T07:47:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![junaid2012](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/junaid2012/32/3491_2.png) [@junaid2012](https://forum.openzeppelin.com/u/junaid2012)\
**Post date:** [November 11, 2020, 7:47am UTC](https://forum.openzeppelin.com/t/unable-to-verify-erc721-contract-on-etherscan/4534/1 "2020-11-11T07:47:46Z")

</div>

Error! Unable to generate Contract ByteCode and ABI **(General Exception, unable to get compiled [bytecode])**

myc:486:42: ParserError: Expected ‘’ but got ‘{’  
(bool success, ) = recipient.call{ value: amount }("")

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [November 12, 2020, 5:30am UTC](https://forum.openzeppelin.com/t/unable-to-verify-erc721-contract-on-etherscan/4534/2 "2020-11-12T05:30:19Z")

</div>

Hi @junaid2012,

Welcome to the community 👋

I recommend using Hardhat or Truffle to verify: [Verify smart contract inheriting from OpenZeppelin Contracts](https://forum.openzeppelin.com/t/verify-smart-contract-inheriting-from-openzeppelin-contracts/4119)

If you have issues, you can post your Solidity code, address, network, whether optimization was enabled and any parameters used and I can try to help verify.

---

<div class="post-metadata">

**Author:** ![junaid2012](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/junaid2012/32/3491_2.png) [@junaid2012](https://forum.openzeppelin.com/u/junaid2012)\
**Post date:** [November 12, 2020, 6:44am UTC](https://forum.openzeppelin.com/t/unable-to-verify-erc721-contract-on-etherscan/4534/3 "2020-11-12T06:44:03Z")

</div>

Thanks a lot. It worked.

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [November 12, 2020, 6:48am UTC](https://forum.openzeppelin.com/t/unable-to-verify-erc721-contract-on-etherscan/4534/4 "2020-11-12T06:48:05Z")

</div>

Hi @junaid2012,

Great to hear.

Out of interest, what are you building?

---

<div class="post-metadata">

**Author:** ![junaid2012](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/junaid2012/32/3491_2.png) [@junaid2012](https://forum.openzeppelin.com/u/junaid2012)\
**Post date:** [November 12, 2020, 6:52am UTC](https://forum.openzeppelin.com/t/unable-to-verify-erc721-contract-on-etherscan/4534/5 "2020-11-12T06:52:31Z")

</div>

I’ve been exploring ERC721 and ERC1155 for building NFT marketplace.

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [November 12, 2020, 7:03am UTC](https://forum.openzeppelin.com/t/unable-to-verify-erc721-contract-on-etherscan/4534/6 "2020-11-12T07:03:11Z")

</div>

Hi @junaid2012,

Nice. I only have experience with OpenSea so far and mostly for displaying my NFTs rather than much trading.

---

<div class="post-metadata">

**Author:** ![junaid2012](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/junaid2012/32/3491_2.png) [@junaid2012](https://forum.openzeppelin.com/u/junaid2012)\
**Post date:** [November 12, 2020, 7:10am UTC](https://forum.openzeppelin.com/t/unable-to-verify-erc721-contract-on-etherscan/4534/7 "2020-11-12T07:10:01Z")

</div>

Yes, But i’m working on a product which will facilitate both features

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [November 12, 2020, 7:56am UTC](https://forum.openzeppelin.com/t/unable-to-verify-erc721-contract-on-etherscan/4534/8 "2020-11-12T07:56:48Z")

</div>

Hi @junaid2012,

Would like to see what you create when you have something that you can share with the community.
