async () => {
const ledgerRaw = await (await fetch(
`https://raw.githubusercontent.com/sourcecred/cred/gh-pages/data/ledger.json`
)).text();
const credGrainViewRaw = await (await fetch(
`https://raw.githubusercontent.com/sourcecred/cred/gh-pages/output/credGrainView.json`
)).text();
const credGraphRaw = await (await fetch(
`https://raw.githubusercontent.com/sourcecred/cred/gh-pages/output/credGraph.json`
)).text();
const parsedLedger = sc.ledger.ledger.Ledger.parse(ledgerRaw);
const parseCredGrainView = sc.core.CredGrainView.fromJSON(
JSON.parse(credGrainViewRaw)
);
const parsedCredGraph = sc.core.credGraph.CredGraph.fromJSON(
JSON.parse(credGraphRaw)
);
}