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

Google Pixel 11 Pro Fold Review: A Tensor-y Experience

The Google Pixel 11 Pro Fold launched as the search giant’s fourth book-style foldable, and is the second of its kind to land on our shores. Like the other models in this year’s crop of Pixel phones, this one doesn’t introduce any drastic changes, focusing more on iterative upgrades.

FG targets $1.2bn private funding for fibre project

The Federal Government is seeking $1.2bn in private capital for its 90,000km nationwide fibre network project, with physical deployment set for October. Read More: https://punchng.com/fg-targets-1-2bn-private-funding-for-fibre-project/

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. It uses standardized shapes for people and a set of line conventions for relationships, including emotional ones like closeness, distance, and conflict.

  • 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 →