Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ypopovych committed Oct 25, 2020
1 parent ea50498 commit ac99947
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ import {IPFS} from 'react-native-gomobile-ipfs';
// Create instance of IPFS. Use one instance per app.
const ipfs = await IPFS.create();

// Start IPFS instance. It will connect to the network.
await ipfs.start();

// Create IPFS request. Check IPFS HTTP API docs.
var req = await ipfs.newRequest('cat');

Expand Down

0 comments on commit ac99947

Please sign in to comment.