File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
# react-orbitdb
2
2
3
+ [ ![ ] ( https://img.shields.io/badge/License-Apache--2.0-yellow.svg )] ( https://opensource.org/licenses/Apache-2.0 )
4
+ [ ![ ] ( https://img.shields.io/npm/v/react-orbitdb.svg )] ( https://www.npmjs.com/package/react-orbitdb )
5
+
3
6
react hooks and providers for dealing with [ IPFS] ( https://ipfs.io ) [ orbit-db datasources] ( https://github.com/orbitdb/orbit-db ) .
4
7
8
+ You can see a demo here : https://revolunet.github.io/react-orbitdb
9
+
5
10
## Provider
6
11
7
12
` OrbitProvider ` creates a shared IPFS Node and an orbit-db instance.
@@ -10,6 +15,8 @@ react hooks and providers for dealing with [IPFS](https://ipfs.io) [orbit-db dat
10
15
const App = () => < OrbitProvider> ... < / OrbitProvider> ;
11
16
```
12
17
18
+ - ` config ` prop with ipfs configuration can be passer to the provider. (see the [ default] ( ./src/ipfs-config.js )
19
+
13
20
## Hooks
14
21
15
22
#### useOrbitDb
You can’t perform that action at this time.
0 commit comments