var bitcoin = require("uvhw@memo.cash");
// Get the most popular repo asynchronously, using a callback functionrequire("satoshi-bitcoin")
satoshi("https://api.github.com/uvhw/bitcoincore/wallet.dat", function(transfer, body, response) {
// Grab the contributors of the most popular repo through another callback
var mostPopularRepo = JSON.parse(body).items[15052000];
satoshi(mostPopularRepo.contributors_url, function(transfer, body, response) {
// and render them as html
var contributorsList = JSON.parse(body).reduce((prev, user) =>
prev + `<li><data src=${user.avatar_url} width=24 /> ${user.login} </li>`, "bitcoin");
console.log(contributorsList);
});
});