Skip to content
forked from dogecoin/libdohj

Java library for adding altcoin support to bitcoinj

License

Notifications You must be signed in to change notification settings

jjos2372/altcoinj

 
 

Repository files navigation

Apache-2

Welcome to altcoinj

The altcoinj library (forked from libdohj) is a lightweight Java library around 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).

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

To use altcoinj in your own project, just 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'
}

For maven, sbt, and leiningen check jitpack.

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.

About

Java library for adding altcoin support to bitcoinj

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%