how_to_deploy_uniswap
how_to_deploy_uniswap copied to clipboard
Problem with deploying to Avalanche solved with upgrading truffle-hdwallet-provider
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.