web3_universal_utxo 0.1.1 copy "web3_universal_utxo: ^0.1.1" to clipboard
web3_universal_utxo: ^0.1.1 copied to clipboard

UTXO chain logic for Bitcoin, Litecoin, Dogecoin, etc. - Legacy, SegWit, and Taproot support.

web3_universal_utxo #

Web3 Universal Banner

License: MIT

UTXO chain support for the Web3 Universal SDK. This package provides comprehensive logic for Bitcoin, Litecoin, and Dogecoin protocols.

Features #

  • 🟠 Bitcoin Native: Full support for Legacy (P2PKH), SegWit (P2WPKH), and Taproot (P2TR).
  • 📜 Script Engine: Complete Bitcoin Script engine for parsing and compiling transaction scripts.
  • 📦 PSBT: BIP-174 Partially Signed Bitcoin Transaction support for offline signing.
  • RBF: Helper functions for Replace-By-Fee and fee bumping.

Installation #

Add this to your pubspec.yaml:

dependencies:
  web3_universal_utxo: ^0.1.0

Quick Start #

import 'package:web3_universal_utxo/web3_universal_utxo.dart';

void main() {
  // Create a P2WPKH address from public key
  final pk = Uint8List.fromList([...]);
  final address = BitcoinAddress.p2wpkh(pk, network: BitcoinNetwork.mainnet);
  print('Address: ${address.toAddress()}');
}

Platform Support #

Android iOS Web macOS Windows Linux
0
likes
150
points
5
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

UTXO chain logic for Bitcoin, Litecoin, Dogecoin, etc. - Legacy, SegWit, and Taproot support.

Homepage
Repository (GitHub)
View/report issues

Topics

#web3 #bitcoin #utxo #taproot #psbt

License

MIT (license)

Dependencies

web3_universal_core, web3_universal_crypto

More

Packages that depend on web3_universal_utxo