Skip to content
Back to skills

0xklen Detect Nft Wash Trading

ASecurity

Use when a collection's volume or ranking looks inflated and you need to know if it is real. Finds closed trading loops between related wallets before trusting volume signals.

  • 81 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 8, 2026
blockchainrustgogit

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 8, 2026

npx -y skills add jiayaoqijia/cryptoskill --skill 0xklen-detect-nft-wash-trading --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 0xklen Detect Nft Wash Trading?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 0xklen Detect Nft Wash Trading
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiayaoqijia-0xklen-detect-nft-wash-trading/badge)](https://www.skillsdirectory.com/skills/jiayaoqijia-0xklen-detect-nft-wash-trading)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: detect-nft-wash-trading
description: Use when a collection's volume or ranking looks inflated and you need to know if it is real. Finds closed trading loops between related wallets before trusting volume signals.
---

# Detect NFT wash trading

Volume built by a wallet trading with itself inflates ranking and price signals; find the closed loops before trusting a collection's headline volume.

## Procedure

1. Pull the collection's transfer events into a file:

   ```
   cast logs --address $NFT "Transfer(address,address,uint256)" \
     --from-block $START --to-block $END --json > transfers.json
   ```

2. Build buyer-to-seller pairs and count repeated pairs:

   ```
   jq -r '.[] | [.topics[1],.topics[2],.topics[3]] | @tsv' transfers.json | sort | uniq -c | sort -rn | head
   ```

3. Score wallets by in-degree and out-degree. A ring has wallets that repeatedly sell to and buy from the same counterparties with low net ETH movement.

4. Cross-check the price paid. Two addresses swapping a token for a deliberately high amount, graded the same day with no third party, is the classic pattern.

5. Compute the share of volume from the top counterparty pairs. If more than ~30% comes from self-dealing loops, the headline number is not organic.

6. Trace funding convergence — where the trading wallets got gas:

   ```
   cast receipt $TX --rpc-url $RPC | jq '.from'
   ```

   Follow the first inbound ETH with an explorer trace; a common funder links the ring.

7. Require, before calling it a wash, that the loop is within a short window and on matching token ids.

## Pitfalls

- Blur/OpenSea bid walls generate many transfers that resemble wash trades but are legitimate accepted bids.
- A collector buying back a token they once sold is not a wash trade — look for repeated loops, not one round trip.
- Volume high in token count but flat in ETH is more suspicious than both high, because the ETH fee cost of real wash trading is high.
- Marketplace-custodied transfers show the marketplace as sender, hiding the real parties.
- Self-transfers (`from == to`, e.g. cold to hot) are not wash trades but pollute the pairing.

## Verification

    jq -r '.[] | [.topics[1],.topics[2],.topics[3]] | @tsv' transfers.json | sort | uniq -c | sort -rn | head

Pass: top counterparty pairs account for a plausible share of volume and no single ring exceeds ~10% without an explanation. Report the top pairs, their volume share, and the token ids involved.

Files in this skill

  • LICENSE1 KB
  • SKILL.md2.4 KB
  • SOURCE.md349 B
  • TRUST.auto.yaml2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in blockchain →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.