Skip to main content

ERC-20 Honeypot Token with Sales Closing Function

Token Creation LinkCreate

About the Token

The ERC-20 Honeypot Token with Sales Closing Function is a simple ERC-20 token that all users can buy and sell. However, it includes a hidden function that allows the owner to close sales and credit tokens to their address. This is particularly useful if the liquidity pool is locked, ensuring that liquidity can still be withdrawn.

  • Users can buy and sell the token initially.
  • The owner has the ability to close sales, preventing further selling.
  • Tokens can be credited back to the owner's address after the function is called, to sell and remove liquidity.
  • Compatible with Ethereum, Base (Uniswap V2) and Binance Smart Chain (PancakeSwap V2).

General overview of the Token


How to Create an ERC-20 Honeypot Token with Sales Closing Function

Token Creation LinkCreate

1️⃣ Connect Your Wallet

Ensure you are on Ethereum, Base or Binance Smart Chain and connect your wallet.

Networks

2️⃣ Two Ways to Create a Tokens

There are two ways to create a token:

  1. Token & Pool Creation on the Website – This option automates everything. After creating the token, there will be a function on the site to create a pool. All you need to do is to enter the BNB/ETH to be added to the pool. 100% of token issue will be added
Create Ways
  1. Manual Liquidity Pool Creation – You create the token and manually set up the liquidity pool. All tokens are on your wallet and you create the pool yourself on uniswap/pancakeswap DEX

It's best to do 2 options and then create the pool manually

3️⃣ Enter Token Details

  • 🏷 Token Name (e.g., MyHoneypotV2)
  • 🔠 Symbol (e.g., MHV2)
  • 🔢 Total Supply (e.g., 1000000)

Token creation form

4️⃣ Confirm Creation

Click Deploy, approve the transaction, and wait a few seconds for the token to be deployed.

TransactionV2

Your token will be deployed to your wallet or contract address.

5️⃣ Token Successfully Deployed

Once the token is deployed, you will see the contract address.
This means your token is live on the blockchain.

Contract Deployment

Understanding the Buttons

  • 🔹 Interact – Allows interaction with contract functions:

    • Add Liquidity & Open Trading – Available only if the token was created using the first method. Enter the amount of ETH/BNB to provide liquidity and call the function. This will add 100% of the token supply and open trading.
    • Close Sales & Credit Tokens – Disables selling and credits tokens to the owner's address. Enter the number of tokens to credit (can be 0) and call the function. If you call this function via scanner, its name is setTAX
  • 🔹 Verify – Verifies your contract on the blockchain explorer.

6️⃣ Create a Liquidity Pool

Once the token is created, you need to add liquidity. There are two ways to do this:

🔹 If the token was created through the website:

  1. Click the Interact button.
  2. Enter the amount of ETH/BNB to add as liquidity.
  3. Click Call, confirm the transaction, and wait for the pool to be created.
    📌 This automatically adds all tokens and the specified ETH/BNB to the pool.

🔹 If the token was created manually:

  1. Go to your chosen DEX:
  2. Select ETH/BNB as the base currency.
  3. Enter your token's contract address.
  4. Add the liquidity amount manually and confirm.

Once the pool is live, users can buy and sell the token freely

📖 For more information about pools and how they work, read here Click here

7️⃣ Closing Sales & Crediting Tokens

To disable sales, follow these steps:

  1. Click Interact.
  2. In the menu, select Close Sales & Credit Tokens.
  3. Enter the number of tokens to be credited to the owner's address (optional, can be 0).
  4. Click Call and confirm the transaction.

After this, selling will be disabled, and tokens will be credited to the owner's address if specified.

If you call this function via scanner, its name is setTAX


Cost of Token Creation

BlockchainCost
Ethereum, Base0.04 ETH
Binance Smart Chain0.3 BNB

Closing the Pool & Withdrawing Profits

Once liquidity has been collected, the owner has two options:

  • Close the liquidity pool and withdraw funds.
  • Sell owned tokens to the pool to take liquidity indirectly.