3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 15:22:16 +00:00
altcoinj/README

20 lines
796 B
Plaintext
Raw Normal View History

2011-06-27 14:16:38 +00:00
To get started, ensure you have the latest JDK installed, and download Maven from:
2011-03-07 10:17:10 +00:00
2011-06-27 14:16:38 +00:00
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.
2011-03-07 10:17:10 +00:00
2013-04-09 13:19:02 +00:00
Alternatively, just import the project using your IDE. Most good ones have Maven integration.
Now try running one of the example apps:
2011-03-07 10:17:10 +00:00
cd examples
mvn exec:java -Dexec.mainClass=com.google.bitcoin.examples.PingService
2011-03-07 10:17:10 +00:00
It will download the block chain and eventually print a Bitcoin address. If you send coins to it,
2011-06-27 14:16:38 +00:00
you should get them back a few minutes later when a block is solved.
2013-04-09 13:19:02 +00:00
Now you are ready to follow the tutorial:
2012-01-12 00:04:14 +00:00
2013-04-09 13:19:02 +00:00
https://code.google.com/p/bitcoinj/wiki/GettingStarted