Urgent.News

What's breaking now, across thousands of outlets.

Tech

50,000 property tests passed while my app crowned an impostor

You hear "buy PEPE", type PEPE into your wallet, and get fourteen tokens with the same name and the same frog. Which one do you buy? I built a tool to answer that. You type a ticker, and it asks Nansen 's API for every token with that name across chains. Then it checks who actually holds and trades each one: labelled Smart Money, whales, top-PnL wallets, exchange flow, tagged top holders. Exactly…

The developer created an application that analyzes cryptocurrency tokens based on their names and labels them as real or impostor. The tool queries the Nansen API for all tokens with a specific name across different chains, then evaluates factors such as exchange flow, holder information, and age to determine legitimacy. The application passed 50,000 generated test cases, but the tester discovered an issue while researching why PEPEGA, a token with no labeled wallets, no meaningful exchange flow, and relatively few tagged holders, was crowned a legitimate token.

To address the issue, the developer added a rule to the crown function in the verdict module, which prevents the card from being green and IMPOSTOR simultaneously. The updated code ensures that a card cannot be both crowned and flagged as an impostor at the same time.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I made a small website to check Codex reset

Hi, I made this small website because I often go X to check if Codex reset. But I found many posts use the word “reset”, and maybe they talk about different thing. Sometimes it is personal reset time.

What React Flow Doesn't Do For You: Building a Diagram Editor With Domain Rules

I built a diagram editor for genograms. If you have not run into the term: a genogram is a diagram of a family that records more than descent.

  • React Flow provides canvas, node/edge data model, but lacks domain-specific rules for genograms
  • Custom node components with SVG graphics required for specialized shapes representing individuals
  • Custom edge components and edge types needed for accurate family relationship rendering in genograms

More from Friday 25 September →