flutter_bitcoin library
Support for doing something awesome.
More dartdocs go here.
Classes
- Address
- Bip32Type
- ECPair
- HDWallet
- Checks if you are awesome. Spoiler: you are.
- Input
- NetworkType
- Output
- P2PKH
- P2PKHData
- P2WPKH
- PaymentData
- Transaction
- TransactionBuilder
- Wallet
Constants
- ADVANCED_TRANSACTION_FLAG → const int
- ADVANCED_TRANSACTION_MARKER → const int
- DEFAULT_SEQUENCE → const int
- SIGHASH_ALL → const int
- SIGHASH_ANYONECANPAY → const int
- SIGHASH_NONE → const int
- SIGHASH_SINGLE → const int
Properties
- bitcoin → NetworkType
-
final
- BLANK_OUTPUT → Output
-
final
- EMPTY_SCRIPT → Uint8List
-
final
-
EMPTY_WITNESS
↔ List<
Uint8List> -
getter/setter pair
-
ONE
→ List<
int> -
final
- OP_INT_BASE → int?
-
final
-
REVERSE_OPS
↔ Map<
int, String> -
getter/setter pair
- testnet → NetworkType
-
final
- VALUE_UINT64_MAX → Uint8List
-
final
-
ZERO
→ List<
int> -
final
Functions
-
asMinimalOP(
Uint8List buffer) → int? -
bip66check(
dynamic buffer) → bool -
bip66encode(
dynamic r, dynamic s) → Uint8List -
compile(
List chunks) → Uint8List -
decompile(
dynamic buffer) → List? -
encodeSignature(
Uint8List signature, int hashType) → Uint8List -
fromASM(
String asm) → Uint8List -
isCanonicalPubKey(
Uint8List buffer) → bool -
isCanonicalScriptSignature(
Uint8List buffer) → bool -
isCoinbaseHash(
Uint8List buffer) → bool -
isDefinedHashType(
dynamic hashType) → bool -
isValidOutput(
Uint8List data) → dynamic -
pubkeyToOutputScript(
Uint8List pubkey, [NetworkType? nw]) → Uint8List -
toASM(
List c) → String -
toDER(
Uint8List x) → Uint8List -
varSliceSize(
Uint8List someScript) → int