Java-IPFS-Daemon: Start an IPFS daemon with pure Java

Java-IPFS-Daemon v1.0

Maven dependency

Add the following sections to your pom.xml

 <scope>compile</scope> <!-- If you want to shade it -->


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

1 Like

Where is the location of this IPFS node that we are acessing?

Apparently the URL above no longer works - Try