Blockchain Software

HDWallet Accounts Package

February 24, 2018

author:

HDWallet Accounts Package

I needed access to all Ganache accounts in a Truffle test script I am working on. Unfortunately, the HDWalletProvider only returns one account (the first, unless you override). I looked around for a solution, but came up blank. Perhaps my Google Fu is weak today. I solved the problem by creating a simple script. I figured others might have the same problem and benefit from my solution so I published it as an NPM Package. See the HDWallet-Accounts readme for full details.

Co-founder/CTO WhenHub; co-founder DNN Software; founder Edaptable; educator; Open Source proponent; Microsoft MVP; tech geek; creative thinker; husband; dad. Personal blog: http://www.kalyani.com. Twitter: @techbubble
Leave a comment

Your email address will not be published. Required fields are marked *