Dashboard automatic conversion Principal -> AccountId

Hey @Dylan, I have a super small feature request that would save a lot of people a lot of time.

By using the dashboard more and more I realized that I spend a lot of time converting principal to account-id because the search doesn’t support principal. Would it be possible to automatically convert a principal to an account-id when searching?

1 Like

Hi @0rions, thanks for the suggestion. As part of the upcoming ICP Dashboard redesign, we plan to better support linking principals to the objects they’re associated with (e.g., accounts, neurons, canisters).

Your suggestion is an interesting one, since it would allow the ICP Dashboard to discover the ICP default account address (i.e., subaccount 0) of the associated principal (if not already known). That is, since it’s not possible to convert an ICP account address into a principal, the dashboard may not know what principal is associated with an account address, but if the user searches on that principal, the dashboard can convert that principal to the ICP default account address and check if such an account exists.

Dear @0rions - you can use nftGeek (https://nftgeek.app) - it automatically displays all “holder” assets including ICP by principal/accountIdentifier.
Thanks to @GeekFactory :+1:

I know that a bigger ICP dashboard redesign is coming. I suggested this because it’s at most a few lines of code and it improves greatly UX. Currently when you search for a principal on the dashboard there’s no behavior, I just think it would be better to convert it to the default account address and display that instead of nothing.

Leo, can I ask more about your use case? You mentioned that this feature would save many people a lot of time, but I wouldn’t think that most ICP holders would need to look up the default ICP subaccount of a principal. Many ICP holders likely don’t even know what a principal is, and if they do, they probably don’t know the principal(s) associated with their ICP account(s). However, you’re clearly a holder for whom this would be a valuable feature. If you could shed more light on the types of users who might use this feature, it would help us set the priority.

For example I have to check the ICRC-tokens of a given principal, I want to also want to check its ICP balance. Now, I need to convert the principal which is annoying. Where as if I could just paste a principal and see the associated account-id, it would be great.

1 Like