bsv 1.0.11 copy "bsv: ^1.0.11" to clipboard
bsv: ^1.0.11 copied to clipboard

Bitcoin SV (BSV) library for Dart, which supports sign transaction, bip32, bip39 etc.

example/main.dart

import 'package:bsv/src/address.dart';
import 'package:bsv/src/priv_key.dart';
import 'package:bsv/src/pub_key.dart';

void main() {
  var privKey = PrivKey.fromRandom();
  var pubKey = new PubKey().fromPrivKey(privKey);
  var address = new Address().fromPrivKey(privKey);
  print(privKey.toString());
  print(pubKey.toString());
  print(address.toString());
}
2
likes
100
pub points
41%
popularity

Publisher

unverified uploader

Bitcoin SV (BSV) library for Dart, which supports sign transaction, bip32, bip39 etc.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

bs58check, convert, flutter, pointycastle, unorm_dart

More

Packages that depend on bsv