TL;DR:
I’m looking for tips and links for further research that might have covered this topic. I’m looking into developing a protocol that would use IPFS pub-sub channels to replace REST API CRUD calls. If you have come across any code or research on this subject, please drop a link so that I can look into it. What I don’t want to do is re-invent the wheel.
Let me explain the why of what I’m looking to achieve before I describe the how:
I run wallet.FullStack.cash, which is a Bitcoin Cash (BCH) web wallet. I syndicate the front-end over IPFS and Tor as a backup, in case of censorship. A woman in China tried to use my web wallet, but it was censored. She was able to successfully access the IPFS-based front end, but it didn’t work, because the back end REST API server was also censored by the Chinese firewall.
I’ve done some experiments with IPFS pub-sub and see how it could be used as a medium for replacing a typical REST API. I’m looking for any previous work or standards around replacing typical CRUD (create, read, update, delete) commands that REST APIs are commonly used for.
I have an idea of how to approach this problem, but I don’t want to reinvent the wheel if some good work on this front has already been accomplished. I’d appreciate any links and information to any research that has been done on this front.