trust-graph/README.md

14 lines
893 B
Markdown
Raw Normal View History

2021-03-11 11:38:56 +00:00
### Trust Graph
The network-wide peer relationship layer is used to manage connectivity and permissions. Peers keep the distributed graph of relationships, basically a Web of Trust. That graph is used is used to prioritize connections from known peers and avoid Sybil attacks. Also, TrustGraph may be used at the application level in various ways such as prioritization of service execution on authorized peers or a tighter connection of a single companys peers.
### Project structure
`/.` is the main project with all trust graph logic and in-memory storage as a default
`keypair` directory is an abstracted cryptographical layer (key pairs, public keys, signatures, etc.)
2021-03-11 11:38:56 +00:00
`service` is a package that provides `marine` API and could be compiled to a Wasm file. It is uses `SQLite` as storage.
2021-03-11 11:38:56 +00:00
`example` is a `js` script that shows how to issue, sign trusts/revokes, get certificates