Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@uprtcl/ipfs-provider

0.0.7-alpha.56 • Public • Published

@uprtcl/ipfs-provider

This node package includes basic _Prtcl provider wrappers around ipfs-http-client. These services include standard funcionality like a retry mechanism, or a ready() function to wait for them to be ready.

Documentation

Visit our documentation site.

Install

npm install @uprtcl/ipfs-provider

Usage

Import the appropriate connection you would like to use, and make a new instance of it by passing its configuration:

import { IpfsStore } from '@uprtcl/ipfs-provider';
 
const ipfsConfig = { host: 'ipfs.infura.io', port: 5001, protocol: 'https' };
const ipfsStore = new IpfsStore(ipfsConfig);
 
await ipfsStore.ready();

Install

npm i @uprtcl/ipfs-provider

DownloadsWeekly Downloads

94

Version

0.0.7-alpha.56

License

MIT

Unpacked Size

50.5 kB

Total Files

19

Homepage

uprtcl.io

Last publish

Collaborators

  • avatar
  • avatar