Skip to content
/ hydria Public

a simple encrypted distributed state container

Notifications You must be signed in to change notification settings

IGI-111/hydria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hydria

Hydria is a simple encrypted distributed container to share confidential data among trusted peers without a central point.

Usage

Listen to state updates:

const secretKey = 'top-secret-key';

new Hydria(secretKey).await(hydria => {
    hydria.listen(state => {
        console.log(state);
    });
});

Publish state updates:

const secretKey = 'top-secret-key';

new Hydria(secretKey).await(hydria => {
    const state = { someObject: "with values" };
    hydria.send(state);
});

About

a simple encrypted distributed state container

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages