MCPcopy Create free account
hub / github.com/bitpay/bitcore / getWalletFileName

Method getWalletFileName

packages/bitcore-cli/src/utils.ts:57–59  ·  view source on GitHub ↗
(walletName, dir)

Source from the content-addressed store, hash-verified

55 }
56
57 static getWalletFileName(walletName, dir) {
58 return path.join(dir, walletName + '.json');
59 }
60
61 static colorText(text: string, color: Color): string {
62 return Constants.COLOR[color.toLowerCase()].replace('%s', text);

Callers 2

utils.test.tsFile · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected