trustgraph / trustgraph-holochain

Apache License 2.0
24 stars 3 forks source link

TrustGraph Rollup #25

Open harlantwood opened 2 years ago

harlantwood commented 2 years ago

Background Context

A TrustGraph is

A TrustGraph:

Rollups

Code Sketch

// within new hc_zome_trust_graph:

pub fn create_rollup_atoms()

eg : given my TAs:

me -[holochain, 0.99]-> zippy
me -[holochain, 0.80]-> robert
me -[holochain, 0.99]-> HIA
me -[engineering, 0.88]-> Telos

zippy -[holochain, 0.99]-> HIA
robert -[holochain, -0.99]-> HIA

robert -[engineering, 0.99]-> Ethereum

then rollup atoms will be:
me -[rollup, holochain, 0.98]-> HIA                  // actual value is TBD
me -[rollup, engineering, 0.99]-> Ethereum     // actual value is TBD
me -[rollup, engineering, 0.88]-> Telos            // actual value is TBD

possibly with addl metadata in the `extra` containing the source TAs (zippy & robert)