A library for working with Bitcoin
Go to file
Piotr Włodarek 9c8d2cc600 Renamed proofOfWorkLimit to maxTarget along with get/set and minor refactorings.
* proofOfWorkLimit renamed to maxTarget to get it more inline with commonly used terminology (wiki, etc.)
* some misleading local variables renamed from 'difficulty' to 'target'
2014-05-25 11:44:52 +02:00
core Renamed proofOfWorkLimit to maxTarget along with get/set and minor refactorings. 2014-05-25 11:44:52 +02:00
examples Dealt with several compiler notices by verifying and then fixing or suppressing. Reduces compilation output noise. 2014-05-25 11:43:36 +02:00
misc Add a logo. 2013-03-01 13:59:48 +01:00
orchid Orchid: allow creation of unconnected socket 2014-04-27 17:26:02 +02:00
tools BuildCheckpoints: compare strings correctly. 2014-05-21 15:20:02 +02:00
wallettemplate Wallet: throw more appropriate exception types during completion. 2014-05-21 19:38:12 +02:00
.gitattributes Add a logo. 2013-03-01 13:59:48 +01:00
.gitignore Ignore .iml files 2013-09-15 22:05:17 +02:00
AUTHORS Add Peter Dettman to the AUTHORS file. 2014-04-08 16:28:50 +02:00
COPYING Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00
pom.xml Tor using the Orchid library 2014-04-27 17:26:01 +02:00
README Correct maven instruction in the README file and make ForwardingService work on mainnet again by fixing command line arg parsing. 2014-03-10 17:36:32 +01: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://code.google.com/p/bitcoinj/wiki/GettingStarted