Package com.codename1.crypto.bitcoin
package com.codename1.crypto.bitcoin
Bitcoin:
BitcoinAddress for every standard output type,
Script, BitcoinTransaction with
the legacy, BIP-143 and BIP-341 signature hashes, Taproot key
tweaking, Psbt (BIP-174) and Wif
keys. BitcoinNetwork selects mainnet, testnet, signet or regtest.-
ClassesClassDescriptionA Bitcoin address of any standard type, tied to its network.A secp256k1 key that signs Bitcoin inputs without necessarily exposing its private key.The parameters that make an address or key belong to one Bitcoin network.A Bitcoin transaction: inputs spending previous outputs, new outputs, and the witness data SegWit inputs carry.One input: the outpoint it spends, its unlocking script, sequence and witness.One output: an amount in satoshis and the script that locks it.Strict DER (BIP-66) encoding of an ECDSA signature.A Partially Signed Bitcoin Transaction (BIP-174, with the BIP-371 Taproot fields): the file hardware wallets, multisig coordinators and watch-only servers pass around until every signer has signed.One key origin: a public key, the fingerprint of the master it descends from and the path from that master.A Bitcoin script: the locking
scriptPubKeyof an output, or thescriptSig, redeem and witness scripts that unlock one.Appends opcodes and pushes to a script.Taproot (BIP-341) key tweaking and script trees.Wallet Import Format: a private key in Base58Check, the form paper wallets anddumpprivkeyuse.