Verify contract deployed using Remix inheriting from OpenZeppelin

Hi @abcoathup i deployed the contract using Remix , its an openzeppelin inherited contract, How can i verify it?

1 Like

@abcoathup Could you please help? i was not able to verify the contract after deploying it from remix
i flattened the contract using truffle flattener and pasted the flattened code in remix and it compiled and deployed successfully, but getting error while verifying

1 Like

@senavi Hey, could you please show your code, so we can have a look what is wrong with it?

1 Like

Hey @Skyge i was able to verify once i select optimization as No

1 Like

It depends on how do you deploy your contracts.

1 Like

Hi @senavi,

Welcome to the community :wave:

Glad you were able to verify. (Thanks as always @Skyge :pray:)

The current best way to verify is as follows: Verifying a contract inheriting from OpenZeppelin Contracts

A post was split to a new topic: How to set MINT_ROLE in a grantRole function of accesscontrol