12

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
    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 Feb 9 '18 at 14:06
12

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.

  • Are they generated local to each copy of Mist, or would the same contract always have the same icon? – jjms Mar 7 '16 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). – Péter Szilágyi Mar 8 '16 at 8:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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