This protocol presents replication materials for the article "Inequality as information: Wealth homophily facilitates the evolution of cooperation" (Scientific Reports, SREP-18-17837-T, 10.1038/s41598-018-30052-1, http://www.nature.com/articles/s41598-018-30052-1). The replication materials consist of computer code to replicate both the simulations and statistical analyses reported in the article, as well as data produced by the simulations reported in the article.