Skip to content

Issues with LayerZero Smart contracts verification #166

@roman-chain-ai

Description

@roman-chain-ai

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions