---
eip: 7673
label: ERC-7673
title: Distinguishable base256emoji Addresses
status: Review
type: Standards Track
category: ERC
created: 2024-04-01
official: https://eips.ethereum.org/EIPS/eip-7673
source: https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7673.md
canonical: https://eips.huatuo.xyz/eip-7673/
lang: en
tldr: Proposes that wallets display and accept addresses as 20 emoji (one per byte) instead of 40 hex characters, making look-alike address spoofing much harder.
tags: [addresses, ux, wallets, security, encoding]
---

# ERC-7673: Distinguishable base256emoji Addresses

> Depict Account Addresses As A String of Emoji

**TL;DR:** Proposes that wallets display and accept addresses as 20 emoji (one per byte) instead of 40 hex characters, making look-alike address spoofing much harder.

## What problem does it solve?

An Ethereum address is 40 hex characters. People rarely compare all of them; they glance at the first and last few. Attackers exploit this by mining addresses that match a victim's usual counterparty at the start and end, then spamming fake [ERC-20](/eip-20/) `Transfer` events so the look-alike shows up in the victim's history. The victim copies the wrong address and sends funds to the attacker.

[ERC-55](/eip-55/) checksums catch typos, but they do not shorten the string or make two similar addresses look different at a glance. ERC-7673 proposes a display format where every character carries a full byte and the symbols are visually distinct.

## How it works

The proposal reuses **base256emoji**, an encoding already accepted in the multibase registry. It maps each byte value 0–255 to one emoji (🚀 = 0, 🪐 = 1, ☄ = 2 … 🥂 = 255). A 20-byte address therefore becomes exactly 20 emoji.

User interfaces following the standard:

- **shall** show account addresses as base256emoji instead of hex;
- **shall** accept base256emoji strings wherever a user types or pastes an address;
- **should** recognise any run of exactly 20 consecutive valid base256emoji as an address.

The encoding is a straight byte-to-symbol lookup, so it converts losslessly to and from hex. It is meant only for addresses, not for transaction hashes or calldata, so that addresses stand out from other data on screen.

Example from the spec's test cases:

| base256emoji | Hex (ERC-55) |
| --- | --- |
| 🥴😆😰✌🤟🔥📣🎵🌖🌏😡🎶💙🐸🍒🌔😱🤘🍀➡ | `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2` |

## Sample code

Encoding and decoding in TypeScript. `TABLE` must be the full 256-entry list from the spec, in byte order (only the first entries are shown here):

```ts
// Full table: copy all 256 entries from the ERC-7673 spec, index = byte value.
const TABLE: string[] = ["🚀", "🪐", "☄", "🛰", "🌌", "🌑", "🌒", "🌓" /* … up to index 255: "🥂" */];
const REVERSE = new Map(TABLE.map((e, i) => [e, i]));

export function toEmoji(address: string): string {
  if (!/^0x[0-9a-fA-F]{40}$/.test(address)) throw new Error("bad address");
  let out = "";
  for (let i = 2; i < 42; i += 2) out += TABLE[parseInt(address.slice(i, i + 2), 16)];
  return out;
}

export function fromEmoji(emoji: string): string {
  const symbols = Array.from(emoji); // split by code point, not UTF-16 unit
  if (symbols.length !== 20) throw new Error("need exactly 20 emoji");
  return "0x" + symbols.map((s) => {
    const b = REVERSE.get(s);
    if (b === undefined) throw new Error(`not base256emoji: ${s}`);
    return b.toString(16).padStart(2, "0");
  }).join("");
}
```

Decoding returns lowercase hex; run it through `getAddress()` from ethers if you need the ERC-55 checksummed form.

## Things to know

- Status is **Review**: it is not final, and mainstream wallets display hex addresses today.
- Every table entry is a single Unicode code point (no skin-tone or variation-selector sequences), which is why splitting by code point works. Inputs that include a variation selector (U+FE0F) would need it stripped first.
- The spec argues that halving the length and using distinct symbols "squares" the work needed to mine a convincing look-alike. That is the authors' security claim; it still depends on users actually reading the emoji.
- Rendering varies by platform and font, so some emoji may look similar or render as boxes on older systems.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-7673
