how_to_deploy_uniswap icon indicating copy to clipboard operation
how_to_deploy_uniswap copied to clipboard

Problem with deploying to Avalanche solved with upgrading truffle-hdwallet-provider

Open vsmelov opened this issue 3 years ago • 0 comments

I got the issue when using the script on avalanche

I solved the problem with changing

const HDWalletProvider = require('truffle-hdwallet-provider'); to const HDWalletProvider = require('@truffle/hdwallet-provider');

and

npm i "@truffle/hdwallet-provider"

I also provided manually chainId to every signed transaction.

Hopefully, my solution may save time for someone.

vsmelov avatar Aug 31 '21 08:08 vsmelov