$XRAY

See through the contract before you ape

A free scanner in this page: paste a token's Solidity source and it highlights the code patterns behind most meme-coin rugs, line by line.

Status: Tool live in this page / Token: launch on Robinhood Chain

CA

The problem

Nobody reads 800 lines

Buyers on new chains ape in without opening the contract.

The trap is written in plain sight

Hidden mint, blacklist, adjustable tax, pause, proxy upgrades and max-wallet traps are visible in verified source.

Explorers show code, not meaning

You get the source, not a plain-English list of what the owner can do to you.

Contract X-ray

0 characters - 0 lines

Paste a contract or load a sample, then press Scan.

How it works

  1. 1

    Input

    You paste Solidity source (from the verified Code tab on robinhoodchain.blockscout.com).

  2. 2

    Clean

    Comments and string contents are blanked character by character, line breaks kept, so words in comments cannot trigger a flag and line numbers stay exact.

  3. 3

    Match

    19 rules (regular expressions plus brace-depth tracking of function bodies) look for owner mint, blacklists, adjustable or high tax, pause, trading switches, max wallet limits, proxies, selfdestruct, fake renounce, allowance bypass, hidden admins, tx.origin and more.

  4. 4

    Score

    One finding per rule; label from HIGH x3 + MEDIUM: 0 = "Few red flags found", 1-5 = "Some red flags", 6+ = "Many red flags".

  5. 5

    Output

    Findings with line numbers, the matched line, why it matters and what to verify; click to jump; export a text report. Everything runs in your browser; nothing is uploaded.

Limits - read this

  • It reads source text, not bytecode - if a contract is unverified or the source does not match what is deployed, it cannot help.
  • It cannot see deployed state: whether ownership is actually renounced, whether LP is actually locked or burned, who holds the supply - check those on robinhoodchain.blockscout.com.
  • Heuristics give false positives (legit projects use Ownable and Pausable) and false negatives (renamed functions, obfuscation, logic in other contracts or imported files it cannot see).
  • "Few red flags found" never means harmless.
  • This is not an audit and not financial advice.

Status board - as of Oct 2026

ItemStatusNotes
Solidity source scanner, 19 rulesLIVEworks on this page now
Comment and string stripping with exact line numbersLIVEworks on this page now
Click-to-line viewer + text report exportLIVEworks on this page now
Paste-an-address auto-fetch of verified source from BlockscoutBUILDINGnot on this page yet; paste source manually
Bytecode / function-selector scan for unverified contractsPLANNEDnot started
Browser extensionPLANNEDnot started
$XRAY token on Robinhood ChainPLANNEDCA will be posted on X and on this page
"Guaranteed rug detection"NOT PLANNEDno tool can promise that
Token-gated premium tierNOT PLANNEDthe scanner stays free
CEX listing promisesNOT PLANNEDwe do not promise listings
Staking APYNOT PLANNEDno yield, no rewards

Proof of work

function stripCommentsAndStrings(src) {
  var out = new Array(src.length);
  var i = 0, n = src.length, state = 0; // 0 code, 1 line comment, 2 block comment, 3 "str", 4 'str'
  while (i < n) {
    var c = src[i], d = i + 1 < n ? src[i + 1] : "";
    if (state === 0) {
      if (c === "/" && d === "/") { out[i] = " "; out[i + 1] = " "; i += 2; state = 1; continue; }
      if (c === "/" && d === "*") { out[i] = " "; out[i + 1] = " "; i += 2; state = 2; continue; }
      if (c === '"') { out[i] = c; state = 3; i++; continue; }
      if (c === "'") { out[i] = c; state = 4; i++; continue; }
      out[i] = c; i++; continue;
    }
    if (c === "\n") { out[i] = "\n"; if (state === 1) state = 0; i++; continue; }
    if (state === 1) { out[i] = " "; i++; continue; }
    if (state === 2) {
      if (c === "*" && d === "/") { out[i] = " "; out[i + 1] = " "; i += 2; state = 0; continue; }
      out[i] = " "; i++; continue;
    }
    // inside a string (state 3 or 4)
    if (c === "\\" && i + 1 < n) { out[i] = " "; out[i + 1] = d === "\n" ? "\n" : " "; i += 2; continue; }
    if ((state === 3 && c === '"') || (state === 4 && c === "'")) { out[i] = c; state = 0; i++; continue; }
    out[i] = " "; i++;
  }
  return out.join("");
}

Excerpt of the live engine running this page (stripCommentsAndStrings in xray-engine.js).

Changelog

  • v0.1 (Oct 2026) - first 8 rules over raw text with line numbers.
  • v0.2 (Oct 2026) - comment and string stripping that keeps line numbers; brace-depth tracking of function bodies; fake-renounce, allowance-bypass, hidden-admin and fee-cap rules; 19 rules.
  • v0.3 (Oct 2026) - click-to-line viewer, gutter markers, text report export and download, 500,000-character cap, three sample contracts.

View source: this page is the app - the scanner is plain JavaScript in xray-engine.js, shipped with this page.

Source (repo link coming)

What $XRAY is (and is not)

$XRAY doesn't unlock anything. The scanner is free for everyone and does not require the token. Holding $XRAY is a vote that tokens should be read before they're bought. It is a community meme and a signal of support, with no promised utility and no expectation of return.

Verify on-chain before buying

Token not launched yet — terms below are the launch configuration.

Total supply

1,000,000,000 $XRAY

Tax

3% buy / 3% sell

Liquidity

lock or burn

Ownership

renounced

When it launches, scan our own verified source with the tool above.

CA

How to Buy

  1. STEP 1

    Get a wallet

    Install a wallet, then add Robinhood Chain (chain ID 4663).

  2. STEP 2

    Bridge ETH

    Bridge ETH to Robinhood Chain for gas and buying via the Arbitrum bridge or a partner route. Robinhood Chain is an Ethereum Layer 2 built on Arbitrum; mainnet went live July 1, 2026; gas is paid in ETH.

  3. STEP 3

    Open Uniswap

    Open app.uniswap.org/swap, choose Robinhood Chain, paste the CA.

    CA
  4. STEP 4

    Swap ETH for $XRAY

    Check the address matches before you confirm.

What this is not

Is "Few red flags found" a green light?

No. It only means the patterns we look for were not found in the text you pasted. Read the limits.

Is this an audit?

No. It is a heuristic text scanner, for education.

Do I need $XRAY to use it?

No. It is free, no wallet, no sign-in.

Does it upload my paste?

No. It runs entirely in your browser; there are no network calls.

Can it check a contract by address?

Not yet; that is BUILDING. Copy the verified source from Blockscout for now.

Will $XRAY go up?

We make no price promises. It is a meme coin with no intrinsic value.