Go to file
2021-11-24 18:35:38 +03:00
.circleci Fix CI recipes (#27) 2021-11-12 17:00:37 +03:00
.github Fix CI recipes (#27) 2021-11-12 17:00:37 +03:00
admin Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
aqua Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
builtin-package Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
example Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
keypair Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
local-network Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
service Remove mutex from TG instance (#31) 2021-11-24 18:35:38 +03:00
src Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
.gitignore Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
Cargo.lock Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
Cargo.toml Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
README.md Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00
rust-toolchain.toml Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03: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.)

service is a package that provides marine API and could be compiled to a Wasm file. It is uses SQLite as storage.

example is a js script that shows how to issue, sign trusts/revokes, get certificates