verifying contract through foundry fails
MuesliW opened this issue · comments
MuesliW commented
example of foundry.toml
I reference this documentation (https://docs.bnbchain.org/opbnb-docs/docs/tutorials/opbnbscan-verify-hardhat-truffle) and try to verify contract through foundry:
[etherscan]
opBNB = { key = "${ETHERSCAN_API_KEY}", chain=5611, url="https://open-platform.nodereal.io/${NODEREAL_KEY}/op-bnb-testnet/contract/" }
Message
Error:
expected value at line 1 column 1
The contract is pushed and deployed on the network however it is not verified on the opBNBscan
CLI:
forge create
CocoStarZ commented
Suggest you verify contract using hardhat as explained in doc