For builders

Names for your app

Show people's names instead of 0x7f3a…91bc. Every player who claimed a profile on Elysium Ecosystem has a name, often a picture, and a rank. One free file gives you all of them, by wallet, updated every minute.

Live example

Loading…

How to use it

  1. Read elysiumeco.xyz/names/names.json. It's a plain file, open to every site, and kept close to your visitors by Cloudflare.
  2. Look a wallet up in players, in lowercase.
  3. Show what you like: the name, the picture, the rank and its crest. Each one is optional.
// once, then every minute or so
const names = (await (await fetch('https://elysiumeco.xyz/names/names.json')).json()).players;

// anywhere you show a wallet
const p = names[address.toLowerCase()];
if (p) {
  // p.name, p.avatar (or null), p.rank + p.division, p.emblem (an image), p.profile (their page)
}

Good to know