mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-08 16:28:49 +00:00
max keys 256.
This commit is contained in:
2
nip41.ts
2
nip41.ts
@@ -6,7 +6,7 @@ import {HARDENED_OFFSET, HDKey} from '@scure/bip32'
|
||||
import {getPublicKey} from './keys'
|
||||
import {Event, getEventHash, Kind, signEvent, verifySignature} from './event'
|
||||
|
||||
const MaxKeys = 11
|
||||
const MaxKeys = 256
|
||||
|
||||
function getRootFromMnemonic(mnemonic: string): HDKey {
|
||||
return HDKey.fromMasterSeed(mnemonicToSeedSync(mnemonic)).derive(
|
||||
|
||||
Reference in New Issue
Block a user