SaFreeBot is a Telegram bot designed to enhance the security analysis of ERC20 tokens by inspecting various functions, identifying potential vulnerabilities, and detecting honeypot tokens. This project is implemented in Golang, JavaScript, and Solidity to provide a comprehensive set of tools for evaluating the security of ERC20 tokens.
SaFreeBot analyzes the functions of an ERC20 token to determine which functions the deployer can call to initiate a token transfer lock. By identifying these functions, users can gain insights into the potential risks associated with a token.
SaFreeBot tests ERC20 tokens to check for honeypot characteristics. It helps users assess whether a token exhibits behavior indicative of a honeypot, providing an additional layer of security analysis.
The bot monitors the activities of an ERC20 token for a specified duration (2 minutes by default). During this period, SaFreeBot observes token transfers and other relevant activities, generating reports to update users on the token's behavior.
SaFreeBot is equipped with the capability to extract embedded Telegram addresses within the ERC20 token. This feature can be useful for identifying communication channels associated with the token.
To use SaFreeBot, follow these steps:
- Clone the repository:
git clone https://github.com/Thankgod20/SaFreeBot.git
-
Install dependencies:
- Golang: Follow the official Golang installation guide.
- Node.js: Install Node.js and npm from https://nodejs.org/.
-
Set up the environment:
# Go to the project directory cd SaFreeBot # Install Golang dependencies go mod download # Install Node.js dependencies npm install
-
Configure the bot:
-
Set up a Telegram bot on BotFather and obtain the token.
-
In the Main.go FIle input your telegram bot token:
tgbotapi.NewBotAPI(<your-telegram-bot-token>)
-
-
Run the bot:
go run main.go
- Start a conversation with SaFreeBot on Telegram.
- Use the available commands to analyze ERC20 tokens, detect honeypots, monitor activities, and extract Telegram addresses.
Contributions are welcome! Feel free to open issues, submit pull requests, or suggest improvements.
This project is licensed under the MIT License - see the LICENSE file for details.
Note: SaFreeBot is a tool designed for security analysis and informational purposes. It is not intended for malicious use. Users should use this tool responsibly and adhere to ethical guidelines when evaluating ERC20 tokens.