Bitcoin Java Core Components
Open source Java core components and interface definitions of btc4j.
btc4j-core does not use any third party or external libraries.
Development status: Currently working on v0.0.4.
Using btc4j-core
btc4j-core is free software under The MIT License (MIT). It is maintained by ggbusto@gmx.com.
Maven pom.xml dependency:
<dependency>
<groupId>org.btc4j</groupId>
<artifactId>btc4j-core</artifactId>
<version>0.0.3</version>
</dependency>
or, download artifacts directly from https://github.com/btc4j/btc4j-core/releases.
Core components include API's, model, utils, exceptions, etc:
- BtcApi: Interface definition of bitcoin internal API commands usually implemented in JSON-RPC
- BtcException: General exception class for all btc4j projects and wrapper for bitcoind json-rpc errors
- BtcAccount: Concrete implementation of a bitcoin account
- BtcAddressBase: Abstract bitcoin address
- BtcInfoBase: Abstract bitcoin information
BtcApi
- addmultisigaddress <'["key","key"]'> [account]
- addnode
- backupwallet
- createmultisig <'["key","key"]'>
- createrawtransaction [{"txid":txid,"vout":n},...] {address:amount,...}
- decoderawtransaction
- dumpprivkey
- getaccount
- getaccountaddress
- getaddednodeinfo [node]
- getaddressesbyaccount
- getbalance [account] [minconf=1]
- getblock
- getblockcount
- getblockhash
- getblocktemplate [params]
- getconnectioncount
- getdifficulty
- getgenerate
- gethashespersec
- getinfo
- getmininginfo
- getnewaddress [account]
- getpeerinfo
- getrawmempool
- getrawtransaction [verbose=0]
- getreceivedbyaccount [minconf=1]
- getreceivedbyaddress [minconf=1]
- gettransaction
- gettxout [includemempool=true]
- gettxoutsetinfo
- getwork [data]
- help [command]
- importprivkey [label] [rescan=true]
- keypoolrefill
- listaccounts [minconf=1]
- listaddressgroupings
- listlockunspent
- listreceivedbyaccount [minconf=1] [includeempty=false]
- listreceivedbyaddress [minconf=1] [includeempty=false]
- listsinceblock [blockhash] [target-confirmations]
- listtransactions [account] [count=10] [from=0]
- listunspent [minconf=1] [maxconf=9999999] ["address",...]
- lockunspent unlock? [array-of-Objects]
- move [minconf=1] [comment]
- sendfrom [minconf=1] [comment] [comment-to]
- sendmany {address:amount,...} [minconf=1] [comment]
- sendrawtransaction
- sendtoaddress [comment] [comment-to]
- setaccount
- setgenerate [genproclimit]
- settxfee
- signmessage
- signrawtransaction [{"txid":txid,"vout":n,"scriptPubKey":hex,"redeemScript":hex},...] [,...] [sighashtype="ALL"]
- stop
- submitblock [optional-params-obj]
- validateaddress
- verifymessage
- walletlock
- walletpassphrase
- walletpassphrasechange
Issues
Report bugs, issues, or suggestions: https://github.com/btc4j/btc4j-core/issues.
Contributions
Project location: https://github.com/btc4j/btc4j-core.
- git:
git@github.com:btc4j/btc4j-core.git
- svn:
https://github.com/btc4j/btc4j-core
Donations
If you find the software useful and would like to make a donation, please send bitcoins to 1ACz6GKw3B6vjoYwGA2hnXDnbR5koFhC4j
.
Copyright © 2013, 2014 by ggbusto@gmx.com.