Problem with deploying Smart Contracts on Polygon Testnet

I did this tutorial:
Only difference in my truffle-config.js, because i want to deploy to polygon testnet.

matic: {
      provider: () => new HDWalletProvider(mnemonic,``),
      network_id: 80001,
      confirmations: 2,
      timeoutBlocks: 200,
      skipDryRun: true,
      gas: 6000000,
      gasPrice: 10000000000,

But when I migrate it doesn’t work

1 Like

Hi @Manuel138

This solution should help Coin Flip - Can't compile smart contract @openzeppelin [Solved]

1 Like

Thanks! Just needed to do: npm install @openzeppelin/contracts