title: Error: Deployment Failed while using Matic Test Network
body: <p>I am getting started with Application development on Matic. And I am following the instruction as provided on the docs  <a href="https://docs.matic.network/docs/develop/getting-started" rel="nofollow noreferrer">https://docs.matic.network/docs/develop/getting-started</a></p>
  <p>But I faced problem while using truffle. After I run the command</p>
  <pre><code>truffle migrate --network matic
  </code></pre>
  <p>The error as follow:</p>
  <pre><code>Compiling your contracts...
  ===========================
  &gt; Everything is up to date, there is nothing to compile.
  
  
  
  Starting migrations...
  ======================
  &gt; Network name:    'matic'
  &gt; Network id:      80001
  &gt; Block gas limit: 20000000 (0x1312d00)
  
  
  1_initial_migration.js
  ======================
  
     Deploying 'Migrations'
     ----------------------
  
  Error:  *** Deployment Failed ***
  
  &quot;Migrations&quot; -- insufficient funds for gas * price + value.
  
      at /usr/local/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:365:1
      at process._tickCallback (internal/process/next_tick.js:68:7)
  Truffle v5.1.55 (core: 5.1.55)
  Node v10.19.0
  </code></pre>
  <p>The configuration file of truffle as follow:</p>
  <pre><code>const HDWalletProvider = require('truffle-hdwallet-provider');
  const fs = require('fs');
  const mnemonic = fs.readFileSync(&quot;.secret&quot;).toString().trim();
  
  module.exports = {
    networks: {
      development: {
        host: &quot;127.0.0.1&quot;,     // Localhost (default: none)
        port: 8545,            // Standard Ethereum port (default: none)
        network_id: &quot;*&quot;,       // Any network (default: none)
      },
      matic: {
        provider: () =&gt; new HDWalletProvider(mnemonic, `https://rpc-mumbai.matic.today`),
        network_id: 80001,
        confirmations: 2,
        timeoutBlocks: 200,
        skipDryRun: true
      },
    },
  
    // Set default mocha options here, use special reporters etc.
    mocha: {
      // timeout: 100000
    },
  
    // Configure your compilers
    compilers: {
      solc: {
      }
    }
  }
  
  </code></pre>
  <p>It worked fine for the develop network using</p>
  <pre><code>truffle develop
  </code></pre>
  <p>Can someone tell me how to overcome error while using Matic Test Network?</p>