mirror of
https://github.com/fluencelabs/trust-graph
synced 2024-12-03 14:50:20 +00:00
175e51d5db
* Update aqua * Update aqua-lib * Update admin aqua * Remove aqua dep * Update example aqua * Fix package.json * Update admin/package.json Co-authored-by: Aleksey Proshutinskiy <justprosh@users.noreply.github.com> * Update aqua/package.json Co-authored-by: Aleksey Proshutinskiy <justprosh@users.noreply.github.com> * Update example/package.json Co-authored-by: Aleksey Proshutinskiy <justprosh@users.noreply.github.com> * Setup fluence in CI --------- Co-authored-by: Aleksey Proshutinskiy <justprosh@users.noreply.github.com> |
||
---|---|---|
.. | ||
aqua | ||
index.ts | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
How to generate export certificates
- Go to
local-network
if you want to use local node- Run
docker compose up -d
to start Fluence node - Go back to
../admin
- Run
- Put
root_secret_key.ed25519
andissuer_secret_key.ed25519
to folder - Run
npm i
- Run
npm run start {env}
where{env}
should betestnet
/krasnodar
/stage
orlocal
root_secret_key.ed25519
and issuer_secret_key.ed25519
are secret and owned by Fluence Labs team. Root key is for
all Fluence Labs relations. Trust from issuer key to any peer id means that this peer is official Fluence Labs peer.
isFluencePeer method from trust-graph-api.aqua module checks these relations. You can build your own
structure of peers similarly.
example_secret_key.ed25519
publicly available and used for test purposes.