A client library for the IPFS HTTP API, implemented in JavaScript. This client library implements the interface-ipfs-core enabling applications to change between an embedded js-ipfs node and any remote IPFS node without having to change the code. In addition, this client library implements a set of utility functions.
This module uses node.js, and can be installed through npm:
npm install --save ipfs-http-crypto
We support both the Current and Active LTS versions of Node.js. Please see nodejs.org for what these currently are.
This library supports same function signatures as of ipfs-http-client.
Right now, ONLY MFS(Mutable file system) has the crypto functionality enabled. We are working to cover other APIs as soon as possible.
To use the crypto layer of the library we pass the neccessary paramters to perform cryptographic operations, with the options parameter.
See the test folder to see how to pass parameters.