Skip to content

Huck/worldcoinj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Changes

  • MainNetParameters: Changed the parameters to be correct for Worldcoin, the Genesis block hash is generated correctly.
  • NetworkParameters: Changed both hex's to be correct (from the genesis block)

Although manu unit tests do pass, a lot have been disabled since they dont work anymore with the worldcoin blockchain. Someone needs to go in a reactivate these unit tests, but it will take time and effort.

Original

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.worldcoin.examples.ForwardingService

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.

Now you are ready to follow the tutorial:

https://code.google.com/p/bitcoinj/wiki/GettingStarted

Releases

No releases published

Packages

No packages published

Languages