ipfsd-node
install
npm i --save ipfsd-node
requirements
- nodejs
>= 10.0.0
usage
default (earth)
; async { const defaultNode = await ; await defaultNodestart; await defaultNode;};
custom
async { ; ; const options = repoPath: // repo-configs bootstrap, see https://github.com/crypto-io/repo-configs/tree/master/src/config/templates/bootstrap // or array bootstrap: 'leofcoin' ports: swarm: 4002 api: 5002 // gateway: 9090 cleanup: true const customNode = await ; const addresses = await customNodestart; await customNode;};