3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-01 07:42:17 +00:00
Java library for adding altcoin support to bitcoinj
Go to file
2020-02-26 09:45:21 -03:00
core/src Removing maven build 2020-02-26 09:24:26 -03:00
examples/src/main Removing maven build 2020-02-26 09:24:26 -03:00
gradle/wrapper Adding gradle build 2020-02-26 09:04:49 -03:00
.gitattributes Add a logo. 2013-03-01 13:59:48 +01:00
.gitignore gradle build 2020-02-26 09:11:12 -03:00
.travis.yml Add Travis configuration 2016-01-08 20:31:16 +00:00
AUTHORS Update AUTHORS file 2014-12-03 13:01:28 +01:00
build.gradle gradle build 2020-02-26 09:11:12 -03:00
COPYING Initial checkin of BitCoinJ 2011-03-07 10:17:10 +00:00
gradlew Adding gradle build 2020-02-26 09:04:49 -03:00
gradlew.bat Adding gradle build 2020-02-26 09:04:49 -03:00
README.md Update README 2020-02-26 09:45:21 -03:00
settings.gradle Adding gradle build 2020-02-26 09:04:49 -03:00

Apache-2

Welcome to altcoinj

The altcoinj (forked from libdohj) library is a lightweight Java library around the bitcoinj, with updated support for Litecoin and Dogecoin.

Pull requests for support for other altcoins would be welcomed.

Getting started

You should be familiar with bitcoinj first, as this library simply adds minor changes to extend bitcoinj. Generally using altcoinj is equivalent to using bitcoinj, except with different network parameters (reflecting altcoin consensus in place of Bitcoin).

Add the following to your gradle.build file:

repositories {
	maven { url 'https://jitpack.io' }
}
dependencies {
	compile 'com.github.jjos2372:altcoinj:f26e20bb13'
	compile 'org.bitcoinj:bitcoinj-core:0.15.6'
}

Be aware however that altcoin blocks have their own class, AltcoinBlock, which adds support for features such as AuxPoW.

Building from the command line

Simply run on the command line

./gradlew jar

The outputs are under the build directory.

Building from an IDE

Alternatively, just import the project on your preferred IDE as a gradle project.