Blockchain Software

HDWallet Accounts Package

February 24, 2018


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.

Founder NftyDreams; founder Decentology; co-founder DNN Software; educator; Open Source proponent; Microsoft MVP; tech geek; creative thinker; husband; dad. Personal blog: Twitter: @techbubble
Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.