-
-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Which IPFS operations does OrbitDB use? #242
Comments
Hi @adamski, that sounds awesome! What kind of a client are planning on implementing? I would be more than happy to help you to get there! The overarching idea of OrbitDB is that when creating a new instance Those functions would be: ipfs.object.put()
ipfs.object.get()
ipfs.pubsub.subscribe()
ipfs.pubsub.publish() So if you have another CAS system, implementing the above APIs would make it work out of the box (I believe). More specifically though, to take a look how they're used, the IPFS operations are located in: You'll see variables named (Changed the issue name to make a little more descriptive in case anyone else is looking for the same answer) |
Thanks for the pointers. I'm thinking of a C++ implementation that can be used for desktop apps to be able to read and write an IPFS-based database. Came across OrbitDB and it seems like a good project to build on. So essentially using the same IPFS calls under hood. Does OrbitDB used IPNS at all? That is how I was imagining to make "mutable" data using IPFS. |
Hi Adamski, a C++ (or even Rust) implementation would be cool. There's a couple projects you should keep on your radar.
As for IPNS, no OrbitDB does not use IPFS but since @haadcode replied we've since started using the |
Hey, thanks - since writing that comment, I'm closely following rust-libp2p and a developing IPFS implementation in Rust (https://github.com/dvc94ch/rust-ipfs). This is a pre-cursor to a Rust implementation of OrbitDB. |
Whoa! That's amazing. Please do let us know how things are going! We're active on Gitter :) |
I'm interested in creating an OrbitDB compatible client, are there any docs detailing its interactions with IPFS, or at least a pointer to where to look in the codebase?
The text was updated successfully, but these errors were encountered: