orbitdb / field-manual

The Offical User's Guide to OrbitDB
207 stars 43 forks source link

Updated version of IPFS & OrbitDB and Code Snippets #130

Closed CSDUMMI closed 3 years ago

CSDUMMI commented 3 years ago

Updates source code in 02_Managing_Data to work with the most recent js-ipfs and orbit-db version.

What I did

I changed the initialization of IPFS from new Ipfs() to await IPFS.create(). But this means, that I have to extract the creation into a NPP.create function and call it after NPP.onready has been set.

Done TODOs

CSDUMMI commented 3 years ago

In my opinion, this is everything? @aphelionz