trufflesuite / truffle-hdwallet-provider

HD Wallet-enabled Web3 provider
MIT License
399 stars 167 forks source link

truffle-hdwallet-provider not working when passing https provider to it #91

Open vaibhav-eleven opened 5 years ago

vaibhav-eleven commented 5 years ago

When imported "truffle-hdwallet-provider" module and passed https provider its not working, but when imported "truffle-hdwallet-provider/src/index.js" file and passed same https provider it works.

This is how i created provider:- const httpsProvider = require('web3-ssl-ext'); let provider = new httpsProvider(RPC_ENDPOINT ,key ,cert, ca);

kyriediculous commented 5 years ago

Works for me without ssl-extension.

  provider: _ => new HDWalletProvider('hello hello hello hello hello hello hello hello hello hello hello hello', 'https://knuckle-node.designisdead.com:443'),