trust-graph/example
2022-02-04 18:45:37 +03:00
..
aqua High-level Aqua API (#35) 2022-02-04 18:45:37 +03:00
index.ts High-level Aqua API (#35) 2022-02-04 18:45:37 +03:00
package-lock.json High-level Aqua API (#35) 2022-02-04 18:45:37 +03:00
package.json High-level Aqua API (#35) 2022-02-04 18:45:37 +03:00
README.md High-level Aqua API (#35) 2022-02-04 18:45:37 +03:00
tsconfig.json Trust Graph: implement WASM built-in (#18) 2021-11-12 16:19:16 +03:00

Description

This example shows how to use Trust Graph to label peers. There are some trusted_computation which can only be executed on labeled peer. The label is determined by the presence of certificate from %init_peer_id to this peer.

Run example locally

  1. Go to local-network
  2. Run docker compose up -d to start Fluence node
  3. Go back to ../example
  4. Run npm i
  5. Run npm run start