dostr_signer 0.2.0
dostr_signer: ^0.2.0 copied to clipboard
The NostrSigner interface that signers implement, and the accounts and AuthPolicy that decide when one is revealed to a relay (NIP-42) or Blossom.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dostr_signerWith Flutter:
$ flutter pub add dostr_signerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dostr_signer: ^0.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dostr_signer/dostr_signer.dart';