Problem statement
Hey guys, I'm facing issues for contract verification
I've cloned the repository https://github.com/westonnelson/LayerZero_V2_OFT_Example_Deployments to deploy however I'm facing issues for contract verification for OFTAdapter and OFT token. Is there any guideline how to do it? I was trying to use Foundry. I was trying to run it like this:
forge script DeployOFT.s.sol --rpc-url ETHEREUM_RPC_NODE --verify --verifier etherscan --etherscan-api-key API_KEY --broadcast
Manual verification
I tried to use forge flatten and then upload the files to Etherscan, but it says cannot find matching bytecode.
Problem statement
Hey guys, I'm facing issues for contract verification
I've cloned the repository https://github.com/westonnelson/LayerZero_V2_OFT_Example_Deployments to deploy however I'm facing issues for contract verification for OFTAdapter and OFT token. Is there any guideline how to do it? I was trying to use Foundry. I was trying to run it like this:
forge script DeployOFT.s.sol --rpc-url ETHEREUM_RPC_NODE --verify --verifier etherscan --etherscan-api-key API_KEY --broadcastManual verification
I tried to use
forge flattenand then upload the files to Etherscan, but it says cannot find matching bytecode.