Complete guide to create Regular Token Contract (Same as DOGE, PEPE and others)

One of the simplest and most effective smart contracts.

Solidity. Compiler Version: 0.8.0.

Smart contract is suitable for such blockchains as Ethereum, BSC (BNB), Arbitrum.
And also for other EVM protocols.

sell tax contract, honeypot token

Written by Robert T. Brannen (Programmer, Crypto Enthusiast)

01 Setting Up And Deploying a Contract Code

Your wallet is now connected to REMIX IDO. You can connect several wallets.
Installing REMIX IDE & MetaMask.
— Install the MetaMask Wallet on your computer. Сreate your own wallet / account.
— Open REMIX IDE in your browser. This application does not require registration.
— Connect MetaMask & Remix in a few steps:
1. Go to Remix IDE
2. Click to MetaMask Icon in your browser extensions / plugins.
3. Click the "Not connected" button and connect it.
— Back to Remix and create new file (in the File Explorer section)
— Name the new file as you wish. Don't forget to insert .sol after the name.
Example: TokenName.sol
Now you have the space to edit and write code. It's on the right.
— Copy and paste the code into the space.
CAUTION: Do not attempt to change any code or else it won't work
— When you have inserted this contract into REMIX IDE, find these lines in the smart contract code.

Preparation and Compilation of a Smart Contract

— Customize the name and symbol of your token.
First word - full name of your coin.
Write the token name inside quotes "XXXXX"
Example: "Dogecoin"

Second word - short name of your token (symbol).
Write the token symbol inside quotes "XXXXX"
Example: "DOGE"

"Dogecoin", "DOGE"

Total Supply: We will do the setting of the Total Supply of your token afterward.
IN THIS CASE COMPILER VERSION - 0.8.0
— Click "Compile"
If the compilation was successful, a green check mark will appear next to the compiler icon. ✅
At this point, you have successfully compiled your smart contract.
— Go to Solidity Compiler
— Select the compiler version that matches your smart contract
— Go to "Deploy & Run Transactions"
— In the "Environment" parameter, select MetaMask, since we are using the MetaMask wallet.
— Make sure that in the "Account" line it is your account that you linked to Remix in the first stages.
— In the "Contract" line, select TokenName

Deploying a smart contract.

Do not change other settings!
— On the same page, we will finish Token Customization (Total Supply)
In the activity history of your wallet, you can find the smart contract deployment transaction. The transaction hash will contain all the data: smart contract address, how much was paid for gas fee, time, etc.
— Go to MetaMask
— Click on "Activity"
— Сlick on the Contract deployment (transaction)
— Click view on Block Explorer
We remind you that you need to hold a certain number of tokens of the network in which you are deploying the contract in order to pay for gas fees.
In the blockchain Ethereum, the native token is Ethereum.
In Binance Smart Chain, the native token is BNB.
And so on.
— Click on "confirm" on the transaction on your MetaMask extensions / plugin.
If nothing happen there, you need to connect MetaMask wallet to REMIX IDE.
Now you have sent a transaction to deploy your smart contract!
When it is completed, your Token Contract will appear on the blockchain.
Gas fees may vary, depending on the strength of the blockchain network in which you are deploying the contract.
Now your tokens are in the wallet from which you deployed the contract.
— Choose total supply
TotalSupply - total number of tokens that will be in circulation.
If your decimals are 18 (recommended), then after you have chosen your total supply number you should write 18 more zeros at the end.
Example:
You total number of tokens is 1000000.
1000000 + 18 zeros = 1000000000000000000000000.
So you must write in the totalSupply column - 1000000000000000000000000.
Click "Deploy"

02 Verify Your Contract

03 Add Liquidity / DEX Listing

We advise you to add more liquidity, as this will generate more interest among investors.

Now you have deployed your smart contract and added liquidity to it so people can buy and sell your token.
At this point the honeypot function is disabled.

04 Enable Trading

Now you need to enable the trading of your token, in order for users to start buying your tokens.

CAUTION: IF YOU DON’T ENABLE TRADING OF YOUR TOKEN, NOBODY CAN BUY OR SELL YOUR TOKENS AFTER YOU ADD LIQUIDITY, SO MAKE SURE YOU FOLLOW THOSE STEPS BELOW CAREFULLY
— Go to MetaMask Wallet
— Go to "Activity"
— Click on "Add Liquidity" transaction
— Click "View on block explorer"
— Click on your LP Tokens (as showed in picture below, just the blue text in the red bracket)
— Copy your LP Tokens Address
— Go back to REMIX IDE
— Go to Deploy & Run Transactions
— Go to Deployed Contracts (Scroll down)
— Click the small triangle arrow of the "setRule" button
— Write & Fill in the information into the spaces:
limited: false
uniswapV2Pair: *Paste the address of the LP token into the space*
maxHoldingAmount: 0
minHoldingAmount: 0
— Click "transact" and confirm the transaction
Congratulation! You are now Enable Trading for your tokens successfully.
This material is for testing and study purposes only, do not use it for bad purposes.

Written by Robert T. Brannen (Programmer, Crypto Enthusiast)