#252·orbitdb

Channel database for State and Payment Channels

Author: haadcodeCreated Nov 24, 2017Updated Dec 19, 2023
Labelsenhancementhelp wanted

The other week I was thinking that the log database in OrbitDB would be perfect for creating another database on top of it to have Payment Channels and it can be extended to a generalized State Channel.

Having read this nice blog post today, I went ahead and did a really quick and dirty prototype here. The idea is that the Channel is like a database, such as KeyValue is, and internally the ChannelIndex processes and verifies the operations in the channel (open/create, update/send, close/settle). This is still highly experimental, but I think this could be a cool primitive to have in OrbitDB.

If anyone wants to continue this, feel free to run with. I'd be happy to brainstorm more and help!