I did this tutorial: https://www.youtube.com/watch?v=v6nU4iyLpX4
Only difference in my truffle-config.js, because i want to deploy to polygon testnet.
matic: {
provider: () => new HDWalletProvider(mnemonic,`https://speedy-nodes-nyc.moralis.io/96533ea1ca8f9a3343acb8a2/polygon/mumbai`),
network_id: 80001,
confirmations: 2,
timeoutBlocks: 200,
skipDryRun: true,
gas: 6000000,
gasPrice: 10000000000,
},
But when I migrate it doesnβt work