15

In mist, all accounts have a colourful pixelated "profile picture" used to identify them. For instance, in this screenshot from the Mist releases page, the Dogecoin Bounty DAO is given a purple profile pic. How are these generated?

enter image description here

1
  • 1
    Using github.com/ethereum/blockies But with the same hash of a mist wallet but it generates a different identicon, is there anything to be added to the hash or blockies options for them to be the same?
    – 0Ds0
    Commented Feb 9, 2018 at 14:06

1 Answer 1

14

They use a customized version of the blockies library, namely this one: https://github.com/alexvandesande/blockies.

Our port has a few graphical fixes as well as a significant fix to avoid duplicate icons in the original version caused by a bad random number generator. The upstream author doesn't want to accept the good PR since it breaks existing icons for existing users, so for the foreseeable future, we'll use a fork and not the upstream lib.

3
  • Are they generated local to each copy of Mist, or would the same contract always have the same icon?
    – Josh Stark
    Commented Mar 7, 2016 at 18:54
  • They are generated based on the address of an account/contract. It will look the same on all machines (as long as they use the same library/algorithm to generate it). Commented Mar 8, 2016 at 8:57
  • 1
    What does metamask use? Commented May 28, 2019 at 5:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.