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

outdated

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

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

bs58check, convert, flutter, pointycastle, unorm_dart

More

Packages that depend on bsv