ERC20 shows pragma error on Remix

:computer: Environment

:memo:Details

:1234: Code to reproduce

1 Like

Your contract need Solidity version should be ^0.5.0, I have pasted your code and compiled, but there was not an error, just like this,

so maybe you have a bad network, try to refresh and compile again.

2 Likes

Thanks buddy solved my problem. btw how can I do similar tasks using openzeplin?

1 Like

I think you can refer to this: Deploy contracts programmatically using the CLI and maybe @abcoathup can give some better advice.

2 Likes

Hi @Arman_khan,

Welcome to the community :wave:

You could look at the following tutorials:

1 Like