forked from lateminer/dashj
-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
25 lines (16 loc) · 1.15 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
To get started, ensure you have the latest JDK installed, and download Maven from:
http://maven.apache.org/
Then run "mvn clean install -Dmaven.test.skip=true" 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 bitsend address here>"
It will download the block chain and eventually print a BitSend 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