Client and backend. Every class listed here is shared: the same code is compiled into your app and into your server.
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.Types
class BitcoinAddress | A Bitcoin address of any standard type, tied to its network. |
class BitcoinKey | A secp256k1 key that signs Bitcoin inputs without necessarily exposing its private key. |
class BitcoinNetwork | The parameters that make an address or key belong to one Bitcoin network. |
class BitcoinTransaction | A Bitcoin transaction: inputs spending previous outputs, new outputs, and the witness data SegWit inputs carry. |
class Der | Strict DER (BIP-66) encoding of an ECDSA signature. |
class Psbt | 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. |
class Script | A Bitcoin script: the locking scriptPubKey of an output, or the scriptSig, redeem and witness scripts that unlock one. |
class Taproot | Taproot (BIP-341) key tweaking and script trees. |
class Wif | Wallet Import Format: a private key in Base58Check, the form paper wallets and dumpprivkey use. |