Does anyone verified you smart contract on fantom opera network? I tried deploying and verifying the same contract on Polygon Matic and Avalanche C Chain using hardhat etherscan plug-in it worked but it gets failing on fantom opera ? Is there any other method or tools to get it verified

Dec 8, 2022, 7:56 AM
You need to register on the phantom explorer, generate api and configure hardhat for it
Dec 8, 2022, 8:53 AM
Okay
Any guide reference link you can share it
Dec 8, 2022, 8:56 AM
There is no guide
You need API key from phantom explorer.
https://ftmscan.com/
Go there and generate your API key.
If you don't know how to do it, the starting point is registering an account
Dec 8, 2022, 8:57 AM
I did that created an account and api key added to hardhat etherscan opera api key it fails
Dec 8, 2022, 8:58 AM
Send a screen of your config on the etherscan part
Dec 8, 2022, 8:59 AM
Sure
Dec 8, 2022, 9:05 AM
mhm i don't use —contract, i just do
npx hardhat verify 0x —network X
also be sure the deployed bytecode is the same of your compiled contract, even if you added a space, it won't verify
Dec 8, 2022, 9:16 AM
I have multiple smart contract so as per the hardhat etherscan documentation I used and specified contract path and contract name…
Let me check the bytecode
Dec 8, 2022, 9:22 AM

© 2024 Draquery.com All rights reserved.