hyperledger-labs / pdo-contracts

Apache License 2.0
3 stars 5 forks source link

Add multi-issuer support for wallets #46

Closed cmickeyb closed 2 months ago

cmickeyb commented 3 months ago

This PR implements a multi-issuer wallet. That is, a wallet that can manage (and perform operations on) assets from multiple issuers. The wallet implements several widgets that can be used to import new issuers, check on the balance of holdings at multiple issuers (each with a unique identity), and transfer assets to other holdings (including identities with only a public key available, meaning other users running in other isolated containers).

The PR documents (or updates) three different test scenarios for the wallet:

Note that this PR does not include explicit contract flush at this point in time. That means that when refreshing the balance, it may require up to 30 seconds for the contract state to flush and be refreshed.

This should be tested with PDO PR #491 being applied: https://github.com/hyperledger-labs/private-data-objects/pull/491

cmickeyb commented 2 months ago

With the updates to the PDO branch, this should now be complete. That is, the necessary changes to PDO are available in the submodule.