Coder Social home page Coder Social logo

wbnns / meng Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 80 KB

Analyzes the security and potential risks of Ethereum tokens using the GoPlus Token Security API and Rug Pull Detection API

License: MIT License

Python 100.00%
due-diligence ethereum goplus risk security token analysis base cryptocurrency evm

meng's Introduction

Meng

Alt

Overview

Meng is a Python application that analyzes the security and potential risks of Ethereum tokens using the GoPlus Token Security API and Rug Pull Detection API. It generates a detailed report in Markdown format and stores the analysis data in an SQLite database. The results should not be considered financial/investment advice and are for informational purposes only. Users should perform their own due diligence and DYOR.

Features

  • Retrieves token security and rug pull risk data from the GoPlus API
  • Generates a comprehensive Markdown report with the analysis results
  • Saves the report to a file named after the token symbol and current date
  • Stores the JSON data returned by each API, along with the contract address and the current date, in an SQLite database

Prerequisites

  • Python 3.x
  • goplus library

Installation

  1. Clone the repository: git clone https://github.com/your-username/meng.git

  2. Install the required dependencies: pip install goplus

Usage

  1. Run the script: python main.py

  2. Enter the token contract address when prompted.

  3. The script will analyze the token and generate a report. The report will be displayed in the console and saved as a Markdown file in the reports folder with the filename format <token_symbol>_<current_date>.md.

  4. The JSON data returned by each API, along with the contract address and the current date, will be stored in an SQLite database named token_data.db.

Report Format

The generated report includes the following sections:

  • Token Analysis Report
  • Date
  • Report date
  • Token Security Analysis
  • Raw JSON data from the token security API
  • Token Security Analysis Breakdown
  • Open Source
  • Proxy Contract
  • Mint Function
  • Owner Address
  • Can Take Back Ownership
  • Owner Can Change Balance
  • Hidden Owner
  • Selfdestruct
  • External Call
  • In DEX
  • Buy Tax
  • Sell Tax
  • Can't Buy
  • Can't Sell All
  • Slippage Modifiable
  • Honeypot
  • Transfer Pausable
  • Blacklist
  • Whitelist
  • Anti Whale
  • Anti Whale Modifiable
  • Trading Cooldown
  • Personal Slippage Modifiable
  • Token Name
  • Token Symbol
  • Holder Count
  • Total Supply
  • Creator Address
  • Creator Balance
  • Creator Percent
  • LP Holder Count
  • LP Total Supply
  • Is True Token
  • Is Airdrop Scam
  • Is In Trust List
  • Other Potential Risks
  • Note
  • Fake Token
  • Rug Pull Security Analysis
  • Raw JSON data from the rug pull security API
  • Rug Pull Security Analysis Breakdown
  • Owner Name
  • Owner Address
  • Owner Type
  • Privilege Withdraw
  • Cannot Withdraw
  • Contract Verified
  • Blacklist Function
  • Contract Name
  • Self-Destruct
  • Potential Approval Abuse
  • Proxy Contract

Database Schema

The SQLite database token_data.db contains a table named token_data with the following schema:

  • id (INTEGER): Primary key
  • contract_address (TEXT): The token contract address
  • token_security_data (TEXT): The JSON data returned by the token security API
  • rug_pull_data (TEXT): The JSON data returned by the rug pull security API
  • date (TEXT): The date when the analysis was performed

License

This project is licensed under the MIT License.

meng's People

Contributors

wbnns avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.