nip06 0.0.5+1 copy "nip06: ^0.0.5+1" to clipboard
nip06: ^0.0.5+1 copied to clipboard

This package contains the basic key derivation from mnemonic seed phrase protocol flow for Nostr as described in the NIP-06.

Features #

This package contains the basic key derivation from mnemonic seed phrases for Nostr as described in the NIP-06.

Usage #

import 'package:nip06/nip06.dart';

final keyPairFromMnemonic = KeyPair.fromMnemonic(
'abandon '
'abandon '
'abandon '
'abandon '
'abandon '
'abandon '
'abandon '
'abandon '
'abandon '
'abandon '
'abandon '
'about',
);
print('Private key: ${keyPairFromMnemonic.privateKey}');
copied to clipboard

Additional information #

This package is part of the Dartstr monorepo, which contains a set of modular and compatible Dart packages of different Nostr NIPS and utilities. Import just the packages of NIPS you need and keep your project lightweight. See the Dartstr monorepo for all available packages.

1
likes
160
points
5
downloads

Publisher

verified publisherkumuly.dev

Weekly Downloads

2024.07.09 - 2025.01.21

This package contains the basic key derivation from mnemonic seed phrase protocol flow for Nostr as described in the NIP-06.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

bip32, bip39, convert, nip01

More

Packages that depend on nip06