Here is Dev Victor, Ethereum smart contract researcher and enthusiast. I got a lot of requests from fans for me to discover honey pot tokens, which are tokens that are cannot be sold after being purchased. So today, let me introduce you some useful tips on How to Create Your Own Honeypot Token. Are you ready?
[Only for research and testing, don’t try to scam using this method]
Part 1: Use REMIX and Metamask to create token
1. Install the Metamask wallet https://metamask.io/ in your computer and create account/ wallet.
2. Browse Remix IDE http://remix.ethereum.org/ You need to use Remix IDE to deploy smart contract.
3. Click Create New File.
4. Name you file as you like, remember to add .sol at the back. EXAMPLE here, DevToken.sol
5. Copy and paste the code from the links/ bottom of this post into the space. *Do not attempt to change any code or else it won't work*
Copy Honeypot Code Now: HONEYPOT CODE
*Code at the bottom of the post.*
6. Click the icon on the left as shown below,
Select the compiler as below, 0.8.19….
Then click compile.
7. After compile. Click on the icon as shown below, and select Metamask on the Environment section (cuz we r using metamask wallet)
8. Connect metamask to REMIX IDE. Click your metamask pluggin.
Click "Connect"
9. On Contract section, select DevToken (not Ownable, not SafeMath) as contract
10.Next, click the little triangle as below to open token setting (Finally….)
11.To setting your token
Name: (Your token Name)
Symbol: (Give it a symbol)
Decimal: (18 is RECOMMENDED)
Total Supply: (Set your total token supply, Remember if your decimal is 18, and you want 100 total supply, then type in 100000000000000000000, cuz 100 + 18*0)
Add eighteen “0” after the quantity you want (if u set 18 as decimal). For example, if you want to issue 100 tokens, the correct input should be 1000000000000000000
After you done, click transact.
12. Click on confirm on the transaction on your metamask Pop-up. If nothing happen there, you need to connect metamask wallet to REMIX IDE.
13. If everything go smoothly, your token is on its way. Back to metamask, go to Activity, click on the Contract deployment
Click view on block explorer
Copy the contract address by clicking the [copy] icon button on the right.
14. Go back to metamask, click import token.
Select Custom token, and paste the contract address, and wait for your token to show up, then click add custom token
You can create tokens in ETH mainnet, Binance Smart Chain and any other chains using the same method.
🎉🎉🎉Congratulation! You successfully created your own token and they are in your wallet!
Dev, can we start to list our token?
Butttttt, we are not done yet…One more important step still require to finish...
Which is: Verify Contract
Part 2: Verify Your Contract
Hey Dev, why we need to verify contract? Why don’t we just list our token directly into any DEX (Decentralized exchange)?
Well, the reason to verify contract is to increase the popularity of the token, investors might shy away from token that is unverified and end up to not purchasing any tokens.
Let’s start to verify token now!
1. Back to metamask, go to Activity, click on the Contract deployment.
2.Click view on block explorer
Click on the blue contract address
3. On this page, Click Contract
Click Verify and Publish
4. Next, we select the setting as below:
Compiler Type: Single File
Compiler version: 0.8.19
License Type: No license
Then click Continue
5.Then, go back to our source code, copy and paste it into the space
Finish the bot test and and publish it
6. You should see the success message as shown below, if not, something is wrong, you need to recheck all the steps if u fail to get this message.
Congratulation! Your contract is now verified and we can move to the next step:
Decentralized Exchange (DEX) Listing.
Part 3: DEX Token Listing
Listing your token on DEXs such as Uniswap, Sushiswap, Pancakeswap is not really listing your tokens for nothing, but you need to provide liquidity such as eth, bnb to your tokens, it is called Adding liquidity.
Basically, listing your token = adding liquidity.
Read more on adding liquidity here: https://docs.uniswap.org/contracts/v2/guides/smart-contract-integration/providing-liquidity
1.If u r using Ethereum mainnet, you need some Ethereum, ETH
If u r using Binance smart chain, you need some Binance coin, BNB
Other chains use other native tokens…..
If you are using Pancakeswap on Binance Smart Chain, you can read this guide on how to add liquidity in Pancakeswap.
*How to Add Liquidity in Pancakeswap: http://tokensourcecode.top/tips/how-to-add-remove-liquidity-in-pancakeswap-binance-smart-chain
2.Select your DEXs, let me give you a list:
If u use Ethereum mainnet, use Uniswap, link: https://app.uniswap.org/#/swap
If u use BSC, use Pancakeswap, link: https://pancakeswap.finance/
3.In here, we use Uniswap as example.
Go to Uniswap website: https://app.uniswap.org/#/swap
Click Pool
Click More, then click V2 Liquidity
Click Create a pair
Click select a token.
4.Copy and paste contract address into the space, wait for your token to show up
Click on your token.
Click (I understand)
5. Select your eth input and token input. For example, if u wanna to list 100 of your token with 2 eth, then your initial token price will be 0.02 eth per your token. After it, click Approve.
6. Click Supply and confirm the transaction, your token will be listed on Uniswap.
Congratulation, your tokens are now listed in Uniswap. You can begin your token project and campaign, find more investors to invest in your token.
Ofcuz, since this is a honeypot token, the token cannot be sold. In other words, up only.
Only the owner of the tokens, which is the contract creator, which is you, can sell the tokens. Other ppl cannot sell this token after purchasing.
When ppl try to sell this token, they will get this red signal and cannot sell tokens anyway.This sign will not be surprising if you are a microcap crypto degen trader at its finest, which mean tokens cannot be sold by buyers.
*Remember, this post is for testing and educational purpose only, do not try this at home!*
So Dev, I understand only owner can sell those tokens, what if I want to withdraw my eth and tokens back? What to do?
Oh, it is pretty simple, let’s go to step 7: remove liquidity
7. If you want to get the eth back, click the liquid pool, you will see the pair you created, and then click remove
If u want to withdraw it all, Select max, click approve, click remove, you get your token back.
If you are using Pancakeswap on Binance Smart Chain, you can read this guide on how to remove liquidity in Pancakeswap.
*How to Remove Liquidity in Pancakeswap:
http://tokensourcecode.top/tips/how-to-add-remove-liquidity-in-pancakeswap-binance-smart-chain
That is all from in my opinion. Ofcuz, this is not the end, there are many ways and techniques you can do with this token in order to maximize the effect.
We will discuss more about token tips and techniques in our next post.
Good luck with your tokens!
Copy Honeypot Code Now: http://tokensourcecode.top/codes/honeypot_code_1
Learn How to Attract People to Buy Your Tokens: http://tokensourcecode.top/tips/little-techniques-on-marketing-your-tokens
Learn How Much Liquidity You Should Add & What To Do: http://tokensourcecode.top/tips/little-techniques-on-marketing-your-tokens
Any queries?
Contact me on Telegram: https://t.me/VictorPinard
My website: http://tokensourcecode.top