Can the generateNewAddress(derivedPwKey, N) function be modified to return the newly generated address(es) as a convenience instead of returning undefined? The most likely thing a client does after generating new address(es) is to access them. This enhancement would save the client the extra step to call keystore.getAddresses() and obtain the last N addresses to gain access to those new addresses.
Of course, the return would be an array type of new addresses.
Can the
generateNewAddress(derivedPwKey, N)
function be modified to return the newly generated address(es) as a convenience instead of returning undefined? The most likely thing a client does after generating new address(es) is to access them. This enhancement would save the client the extra step to callkeystore.getAddresses()
and obtain the last N addresses to gain access to those new addresses. Of course, the return would be an array type of new addresses.