Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Ledger Read Support #476

Closed
esune opened this issue Feb 17, 2023 · 5 comments
Closed

Multi-Ledger Read Support #476

esune opened this issue Feb 17, 2023 · 5 comments
Assignees

Comments

@esune
Copy link
Member

esune commented Feb 17, 2023

As a tenant in Traction, I want to be able to at least have read access to multiple ledgers.
A "main" ledger should be marked for write operations - this would match the ledger to which the endorser is conencted to.

As a Tenant Holder, I want to receive credentials issued from both Sovrin and CANdy, so I can participate in multiple ledgers

As a Tenant Verifier, I want to perform a cryptographic check (and check revocation) on the results of a presentation request that contains a content for schemas on both Sovrin and CANdy, so I can verify it is correct

NOTE: As a Tenant Issuer, I want to issue a credentials on only ONE ledger

@esune
Copy link
Member Author

esune commented Mar 3, 2023

@usingtechnology here's an example of how to implement multi-ledger support in ACA-Py:

  • ledgers.yaml defines all the ledgers that the agent has access to. It is mounted to the agent's filesystem (volume in Docker, configmap in OpenShift).
  • The ACAPY_GENESIS_TRANSACTIONS_LIST environment variable is used to set the path to the ledgers.yaml file: this replaces the ACAPY_GENESIS_URL environment variable. Example here.

You will notice that one ledger is set to be the writeable one: I think this will have to match the ledger that the endorser service used by the tenants is set to write on.

@usingtechnology
Copy link
Collaborator

thanks @esune that should get me started. much appreciated.

@usingtechnology
Copy link
Collaborator

Added issue 2168 and issue 2167. do not multiledger support until resolved.

@shaangill025
Copy link
Contributor

Might be linked to openwallet-foundation/acapy#2002

@shaangill025
Copy link
Contributor

Duplicated, issue# 572 already created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants