Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

(docs) Wait for ipfs ready event for #10 #16

Closed
wants to merge 3 commits into from

Conversation

rjharmon
Copy link

This example doesn't quite work as-is, but it gets past the most basic issue of having ipfs service be ready.

@RichardLitt
Copy link
Contributor

Thanks, @rjharmon! What would be needed to make this work as is?

@rjharmon
Copy link
Author

This works for me if I don't try to create the orbitdb/ directory with the cli tool (see orbitdb-archive/orbit-db-cli#16)

@shamb0t
Copy link
Contributor

shamb0t commented Aug 15, 2018

Thanks @rjharmon! Does the example work if you set the pubsub flag in the options?
const ipfs = new IPFS({ repo: 'orbitdb/ipfs' , EXPERIMENTAL: { pubsub : true }})

@rjharmon
Copy link
Author

@shamb0t sorry, I thought I captured that. Updated.

I've tried getting these data back on a subsequent run of same example code, without success as yet. It would be nice to have such an example posting data increments so people can see something of a bit higher value.

@RichardLitt RichardLitt requested a review from shamb0t January 29, 2019 08:30
@aphelionz
Copy link
Contributor

Closing this as it's now out of date and the README has since been updated

@aphelionz aphelionz closed this May 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants