nip06 0.0.1 copy "nip06: ^0.0.1" to clipboard
nip06: ^0.0.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 phrase protocol flow for Nostr as described in the NIP-06.

Getting started #

Installation #

In your pubspec.yaml file add:

dependencies:
  nip06: ^0.0.1

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}');

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
0
pub points
31%
popularity

Publisher

verified publisherkumuly.dev

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

bip32, bip39, convert, nip01

More

Packages that depend on nip06