A library for working with Bitcoin
Go to file
Mike Hearn 014438b456 Take out the redundant SigHashType parameter to wallet.signTransaction.
In the end the API evolved in such a way that changing this param isn't that useful. To do contracts you tend to work with transactions directly, and a Wallet subclass that needs to do special signing by default can override the signing engine used.
2014-08-13 14:57:43 +02:00
core Take out the redundant SigHashType parameter to wallet.signTransaction. 2014-08-13 14:57:43 +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 Take out the redundant SigHashType parameter to wallet.signTransaction. 2014-08-13 14:57:43 +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
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