MCPcopy Create free account
hub / github.com/NoteProtocol/NoteWallet / generateSpecAccounts

Function generateSpecAccounts

src/wallet.ts:109–114  ·  view source on GitHub ↗
(rootPath: string, n: number, target = 0)

Source from the content-addressed store, hash-verified

107
108 // Generate multiple accounts with specified rootPath
109 generateSpecAccounts(rootPath: string, n: number, target = 0) {
110 for (let i = 0; i < n; i++) {
111 this.createAccount(rootPath, i, target);
112 }
113 return Object.keys(this.accountCollection);
114 }
115
116 // Generate multiple accounts
117 generateAccounts(n: number, target = 0) {

Callers

nothing calls this directly

Calls 1

createAccountMethod · 0.80

Tested by

no test coverage detected