2

This question already has an answer here:

Given an address, how do you generate its identicon using javascript?

marked as duplicate by niksmac, Péter Szilágyi, Waqar Lim Mar 29 '16 at 14:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.