- 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.
To get started, ensure you have the latest JDK installed, and download Maven from:
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: