have `Account` and `CollectionAccount` storage to get a list of the NFTs and Collections by an owner.
Similary topallet-uniques's Account and ClassAccount storage. RMRK pallets should have Account and CollectionAccount storage to be able to query NFTs and Collections by account on the front end
https://github.com/paritytech/substrate/blob/9bf7aaa2f5411db7f6efd5aa00360d04f09d1b53/frame/uniques/src/lib.rs#L169-L178
https://github.com/paritytech/substrate/pull/9940
Originally posted by @h4x3rotab in https://github.com/rmrk-team/rmrk-substrate/issues/108#issuecomment-1088644030
This seems really hard, since it requires recursion I assume, unless there's a tricky way to figure this out... Consider ALICE has a Grandfather NFT with 10,000 grandchildren, sends to BOB. How do we maintain this storage in an efficient manner?