twins

module
v0.0.0-...-47fbb7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2025 License: BSD-3-Clause

README

TWINS

This repository contains the Aries agents for a Biobank and a Researcher.

Building

Please build the cmd/biobank and cmd/researcher packages to create executables for running the biobank and researcher agents.

Usage

The researcher and biobank CLIs support two commands:

  1. wallet - to manage the wallet and import keys from an existing indy wallet
  2. agent - to start the agent

Examples:

To import the key for did FUp9R3oNxdWAMgB81A22ft into the researcher's datastore:

./researcher wallet --path ~/.indy_wallet/researcher/peerstore import --source-config ~/.indy_client/wallet/checkpoint_gamma/checkpoint_gamma.json --type indy --did FUp9R3oNxdWAMgB81A22ft

To import a key for did YKhCeTM8YsR8iQX16BaKdp into the biobank's datastore

./biobank wallet --path ~/.indy_wallet/biobank/peerstore import --source-config ~/.indy_client/wallet/checkpoint_gamma/checkpoint_gamma.json --type indy --did YKhCeTM8YsR8iQX16BaKdp

To start the researcher's agent:

./researcher agent --path /home/dedis/.indy_wallet/researcher/peerstore  --vdri-endpoint 'http://localhost:4001' --did did:sov:FUp9R3oNxdWAMgB81A22ft --bcId '9832e2e66e1441b0f0da5011d50882cc49783b64af5371c6ac60b938f8a4e60c' --roster /home/dedis/twins/roster.toml start

To start the biobank's agent:

./biobank agent --path /home/dedis/.indy_wallet/biobank/peerstore --vdri-endpoint \'http://localhost:4001\' --did did:sov:YKhCeTM8YsR8iQX16BaKdp start

The above commands assume that indy-vdr is running on localhost:4001.

To see integrations with systemd user services please refer to this repository

Dependencies

Directories

Path Synopsis
cmd
biobank command
researcher command
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL