A library for working with Bitcoin
Go to file
Andreas Schildbach 8e5ab9356c Introduce Fiat as a holder for fiat values. Coin and Fiat share an interface Monetary so that monetary infrastructure can be re-used.
Adapt CoinFormat to be used with Monetary. Add an ExchangeRate value class that can convert from Coin to Fiat and back.
2014-08-21 15:10:27 +02:00
core Introduce Fiat as a holder for fiat values. Coin and Fiat share an interface Monetary so that monetary infrastructure can be re-used. 2014-08-21 15:10:27 +02:00
designdocs HD Wallets: implement auto upgrade behaviour and refresh the design doc. 2014-06-13 14:11:51 +02:00
examples Payment channel extension should be able to be initialized in two steps: 2014-08-11 18:43:18 +02:00
misc Add a logo. 2013-03-01 13:59:48 +01:00
orchid Consistently use version 2.8 of maven-dependency-plugin. 2014-08-11 11:18:09 +02:00
tools Make WalletTool compile again. 2014-08-21 13:57:44 +02:00
wallettemplate Consistently use version 3.1 of maven-compiler-plugin. 2014-08-11 11:18:08 +02:00
.gitattributes Add a logo. 2013-03-01 13:59:48 +01:00
.gitignore HD wallets alpha preview 2014-05-29 20:11:13 +02:00
.travis.yml During CI builds, make Maven output less clutter. 2014-08-21 14:38:47 +02:00
AUTHORS Updated AUTHORS file. 2014-06-28 14:55:08 +02:00
COPYING Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00
pom.xml Consistently use version 2.8 of maven-dependency-plugin. 2014-08-11 11:18:09 +02:00
README Fix website link in README 2014-05-30 15:47:13 +02:00

To get started, ensure you have the latest JDK installed, and download Maven from:

  http://maven.apache.org/

Then run "mvn clean package" to compile the software. You can also run "mvn site:site" to generate a website with
useful information like JavaDocs. The outputs are under the target/ directory.

Alternatively, just import the project using your IDE. IntelliJ has Maven integration once you tell it where to
find your unzipped Maven install directory.

Now try running one of the example apps:

  cd examples
  mvn exec:java -Dexec.mainClass=com.google.bitcoin.examples.ForwardingService -Dexec.args="<insert a bitcoin address here>"

It will download the block chain and eventually print a Bitcoin address. If you send coins to it,
it will forward them on to the address you specified. Note that this example app does not use
checkpointing, so the initial chain sync will be pretty slow. You can make an app that starts up and
does the initial sync much faster by including a checkpoints file; see the documentation for
more info on this.

Now you are ready to follow the tutorial:

   https://bitcoinj.github.io/getting-started