Java-IPFS-Daemon v1.0
Maven dependency
Add the following sections to your pom.xml
<repositories>
<repository>
<id>RHazDev</id>
<url>https://raw.github.com/RHazDev/RHaz-Maven/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>fr.rhaz.ipfs</groupId>
<artifactId>daemon</artifactId>
<version>1.0</version>
<scope>compile</scope> <!-- If you want to shade it -->
</dependency>
</dependencies>
Usage
Initialize the IPFS daemon and the API
Core core = new Core();
core.binaries(); // Download, extract, load binaries
core.start(); // Init and start the daemon
core.attach(); // Attach the API
IPFS ipfs = core.getIPFS(); // Get the API object
You can now use the IPFS API