decentralize
v1.0.2
Published
Connect decentralized technology stacks together
Downloads
4
Readme
Decentralize (WIP)
Connect decentralized technology stacks together
Decentralize aims to provide a simple API for rapid development of adapters that can integrate disparate p2p stacks with each other. Most decentralization stacks have things in common. They all emit and listen for events. Many announce a 'topic' or some kind of swarm identifier. Some have end-to-end security built in, some don't.
Decentralize accepts a custom initialization function and corresponding desired methods object for each stack. Then, it lets developers map the APIs together and does the work to relay data between stacks automatically.
Usage
npm i decentralize