Open rowgraus opened 2 years ago
for motivation, see https://github.com/Agoric/agoric-sdk/issues/4819#issuecomment-1098418900
The vBank has a list of pet names, and that is how they will get into the user's wallet for MN-1. (vBank should publish via subscription).
Problem to be solved
Currently the only way a user can get an object is through their wallet ("pet names") and the wallet does support naming hubs ("edge names").
Given an object, we need to know the name for it in this user's wallet. E.g. "RUN issuer" and "BLD Issuer"
Design
The lookup strategy is going to be look at my local pet names and if it's not there look at the naming hub. There is a graph of naming hubs, where the root is your local pet names. The resolution of any name is a path through the graph so it's an array where the first element is your local pet namer.
Has to be more constrained than an arbitrary graph.
Open questions: