Registry / crypto / bitcoinj-core

bitcoinj-core

JSON →
library0.17.1javamavenunverified

A Java library for working with the Bitcoin protocol and blockchain.

<dependency> <groupId>org.bitcoinj</groupId> <artifactId>bitcoinj-core</artifactId> <version>0.17.1</version> </dependency>
INSTALL
IMPORT
SIG · BITCOINJ-CORE
B
bitcoinj-core
cryptojavav0.17.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NetworkParameters
org.bitcoinj.core.NetworkParameters

Generates a new Bitcoin testnet address.

import org.bitcoinj.core.NetworkParameters; import org.bitcoinj.core.ECKey; NetworkParameters params = NetworkParameters.testNet(); ECKey key = new ECKey(); System.out.println(key.toAddress(params));
Debug
Known issues
breakingbitcoinj 0.17+ uses a different API for wallet and transaction building compared to 0.15.
fix
Refer to migration guide; use WalletAppKit or TransactionBuilder for new code.
affects: >=0.17.0
Upgrade
Version history
0.17.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
20
Resources
bitcoinj-core — mvn dependency:get bitcoinj-core · libregistry