explaingit

selimekim94/solana-honeypot-checker

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

Python scripts that simulate buying and selling a Solana token to detect honeypot scams before risking real money.

Mindmap

mindmap
  root((honeypot checker))
    What it does
      Simulates buy and sell
      Checks holder concentration
      Flags scam patterns
    Tech stack
      Python
      Solana
      Jupiter API
      Surfpool
    Use cases
      Pre-buy token screening
      Holder risk analysis
      Local sell simulation
    Audience
      Crypto developers
      Token researchers
    Setup
      Configure env file
      Add Helius API key
      Optional Surfpool node

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Check whether a Solana token can be sold after buying it, to detect honeypot scams.

USE CASE 2

Analyze a token's top holders and simulate capped sells to spot risky concentration or fee traps.

USE CASE 3

Inspect a token's mint and freeze authority and liquidity pool routing before investing.

USE CASE 4

Run risk-free sell simulations locally using Surfpool instead of real mainnet trades.

What is it built with?

PythonSolanaJupiter APIHeliusSurfpool

How does it compare?

selimekim94/solana-honeypot-checker0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs a Helius API key and, for holder simulations, a locally running Surfpool test node.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

This project is a set of Python scripts for checking whether a token on the Solana blockchain is a honeypot, meaning a token designed so people can buy it but cannot sell it back, or can only sell it at a heavy loss. It is aimed at people looking into a specific Solana token before buying it, to see if it behaves fairly on a buy and sell round trip. There are two main scripts. The first simulates buying and then selling a token using real mainnet data and the Jupiter exchange, checking things like mint and freeze permissions, how the trade routes through liquidity pools, who holds the token, and what tax or loss shows up on the buy and sell. The second script looks at the token's top holders and, if the user sets up a local test network called Surfpool, simulates smaller capped sells from each of those holders to see whether they are able to sell at all, which can reveal red flags without risking real money. To use it, someone would clone the repository, set up a Python virtual environment, install the listed dependencies, and copy an example configuration file to fill in their own API keys, particularly from Helius, a Solana data provider, and optionally Jupiter. Running the honeypot script does not require Surfpool, but the holder analysis script benefits from it for local, risk-free sell simulations. The README documents which error codes and results tend to mean a real problem versus a false alarm, and it explicitly warns not to commit the configuration file since it can hold a wallet's private key, and to rotate any API keys that end up exposed in logs. The project is released under the MIT license, which allows free use, modification, and redistribution as long as the copyright notice is kept.

Copy-paste prompts

Prompt 1
Help me set up the .env file for solana_honeypot.py with my Helius API key.
Prompt 2
Explain what the buy tax and sell tax numbers from solana_honeypot.py actually mean.
Prompt 3
Walk me through installing and running Surfpool so I can use solana-holders-analysis.py.
Prompt 4
What does an InvalidTimestamp or PDA fee error from the holder simulation actually indicate?
Prompt 5
Help me interpret whether a large top holder percentage in this tool's output is a red flag.

Frequently asked questions

What is solana-honeypot-checker?

Python scripts that simulate buying and selling a Solana token to detect honeypot scams before risking real money.

What language is solana-honeypot-checker written in?

Mainly Python. The stack also includes Python, Solana, Jupiter API.

What license does solana-honeypot-checker use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is solana-honeypot-checker to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is solana-honeypot-checker for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.