Skip to content
A Java implementation of Multihash
Branch: master
Clone or download
ianopolous Merge pull request #20 from vkarun/coverage
Updated mappings: 64 blake2b, 32 blake2s, shake_128, shake_256, murmur3
Latest commit 4b9fb98 Oct 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
src Updated mappings: 64 blake2b, 32 blake2s, shake_128, shake_256, murmur3 Oct 29, 2018
.gitignore Ignore eclipse metadata Aug 3, 2018
.travis.yml
LICENSE Initial extraction Oct 9, 2016
README.md bump version Aug 14, 2018
build.xml update version to 1.2 Sep 4, 2017
pom.xml

README.md

java-multihash

Travis CI Release

A Java implementation of multihash.

Install

Simply clone this repository.

Usage

Multihash m = Multihash.fromBase58("QmatmE9msSfkKxoffpHwNLNKgwZG8eT9Bud6YoPab52vpy");

Dependency

You can use this project by building the JAR file as specified below, or by using JitPack (also supporting Gradle, SBT, etc).

for Maven, you can add the follwing sections to your POM.XML:

  <repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
  </repositories>

  <dependencies>
    <dependency>
      <groupId>com.github.multiformats</groupId>
      <artifactId>java-multihash</artifactId>
      <version>$LATEST_VERSION</version>
    </dependency>
  </dependencies>

Testing

Ant

ant test

Maven

mvn test

Building

Ant

ant dist will build a JAR file in the ./dist suitable for manual inclusion in a project. Dependent libraries are included in ./dist/lib.

Maven

mvn package will build a JAR file with Maven dependency information.

Releasing

The version number is specified in build.xml and pom.xml and must be changed in both places in order to be accurately reflected in the JAR file manifest. A git tag must be added in the format "vx.x.x" for JitPack to work.

Maintainers

Captain: @ianopolous.

Contribute

Contributions welcome. Please check out the issues.

Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS Code of Conduct.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2015 Ian Preston

You can’t perform that action at this time.