Closed sisyphusSmiling closed 1 year ago
Haha, I had a similar thought before, but after submitting a PR for linked-accounts, I realized that the project is still under active development and there could be many changes happening. So I decided to wait until it goes live on the mainnet before adding support. Is the project stable now?
The new repo location is onflow/hybrid-custody (thanks for reminding me I should add a disclaimer in the linked-accounts README!) and is still undergoing changes before another testnet deployment - ETA by EOW next week at the latest. That said, the interface for discovering child and owned account addresses is stable
Great! Will start this after submitting the Hackathon project!
@sisyphusSmiling Please take a look at https://flowview.app and give me some feedback
Description
Add an account view component that lists an address's child and owned account addresses. May also resolve the
MetadataViews.Display
included in either/bothOwnedAccount.display
or/andChildAccount.display
as defined in theHybridCustody
contract.Reference
Below are some queries that might help resolve the child account addresses and app-defined
Display
views.Note that
ChildAccount.display
is settable by the parent whileOwnedAccount.display
is settable by the owner of the child account, at least in the current construction. Being able to see child & owned account addresses would be helpful enough on its own and avoid any thrash created by changes made to metadata access patterns while finalizing.get_owned_addresses.cdc
is in PR atm, but pretty similar to retrieving child addresses.