dartsv 0.2.5-RC1 copy "dartsv: ^0.2.5-RC1" to clipboard
dartsv: ^0.2.5-RC1 copied to clipboard

outdated

Dart Library for interacting with the Bitcoin network. This library is especially well-suited for use in developing Flutter applications.

example/README.md

Getting Started #

Install Dart-SDK

Documentation : https://dart.dev/tools/sdk Installation Instructions : https://dart.dev/get-dart

Running the app

Navigate to the top-level folder of the dartsv-cli project and pull your dependencies

> pub get

Now run the app...

> pub run bin/main.dart

When you run the app on the CLI it will :

  • Print two Addresses on the console
    • Receiving address where you send Testnet coins
    • Spending address where the app will send 10k satoshis automatically

You will notice that the app comes ready-to-run with pre-funded testnet addresses. You should change the mnemonic and consequently get new addresses for local testing.

Testnet Faucet

Grab some coins from the faucet located here: BitcoinSV Testnet Faucet Link (remember to donate some BSV to the dev)

BitIndex

Bitindex is a great service which I have used in this example application to :

  • Get a list of UTXOs associated with an address
  • Broadcast the raw transaction to the testnet

Check them out : https://www.bitindex.network

Feedback

I welcome any and all feedback. Please post a comment on GitHub.

11
likes
0
pub points
65%
popularity

Publisher

verified publishertwostack.org

Dart Library for interacting with the Bitcoin network. This library is especially well-suited for use in developing Flutter applications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

asn1lib, buffer, collection, hex, pointycastle, resource, sprintf, unorm_dart

More

Packages that depend on dartsv