SPL Token Code v4.2
by MHDscripts
Getting Started
Thank you for purchasing this solution.
If you need help, feel free to contact us via
our helpdesk.
Introduction
The SPL Token Code is considered as your ready-made solidity code to launch your own cryptocurrency in less than a minute. It comes with full features to easily control your cryptocurrency such as: Transferable, Tradeable, Not a Honeypot, Anti-Whale, Liquidity Fee percentage, marketing fee percentage, buy fee percentage, sell fee percentage, minimum amount to transfer the marketing fees collected, verified contract, modifiable percentages, whitelisted, no external calls, compatible with all the Solana blockchain wallets (Web Wallets, Hardware Wallets, Desktop wallets, Mobile Wallets, Swaps, Exchanges, ..)
Your SPL Solana Token gets Free Listing on DEX Exchange: RaydiumSwap (RaydiumSwap offers Free Listing for all the SPL Tokens), Free Listing on the DEX Exchange: DexTools (DexTools offers Free Listing for all the SPL Tokens), and many more. You can also list your SPL Token on any Cryptocurrency Swaps that supports SPL Tokens as well as on any Cryptocurrency Exchange CEX or DEX.
Free and Normal Listing
Your SPL Solana Token comes with a variety of big benefits for easier usages. Thanks to the Solana Blockchain that allows your token to get:
a) Free Listing on Explorers
- SolScan
- SolanaExplorer
- SolanaFM
- OKLink
- SolanaBeach
- TokenView
- Blockchair
- BlockWorks
- Unmarchal
- SolanaCompass
- RayCast
- HelloMoon
- Bitquery
- and many more
b) Free Listing on Solana Wallets
- Phantom Wallet
- TrustWallet
- OKX
- TokenPocket
- Solflare
- BackPack
- Ultimate
- Infinity Wallet
- Trustee Wallet
- XDEFI Wallet
- Exodus
- Solareum Wallet
- Atomic Wallet
- and many more
c) Free Listing on DEX Swaps Exchanges
- RaydiumSwap
- DexTools
- DexLab
- Jupiter Swap
- Atlas Dex Swap
- Coin98 Swap
- SwapUZ
- Uprotocols
- SimpleSwap
- Orca Swap
- Mango Swap
- DeltaFi Trade
- Any SPL Swap
- and many more
d) Normal/Paid Listing on Exchanges
- CoinBase
- Binance
- Bittrex
- Kraken
- OKX
- ByBit
- Bithumb
- KuCoin
- BitStamp
- Mercatox
- LaToken
- BTCalpha
- eToro
- and many more
Security
The Privacy and Security of your SPL Solana TokenThe SPL tokens are an essential component of the Solana Blockchain ecosystem, the SPLs, or Solana Program Library tokens, offer tremendous advantages for building and using applications on the Solana blockchain. However, one crucial aspect deserves careful consideration: privacy and security. Let's dive into the nuances of this topic.
Unlike some blockchains focused on complete anonymity, Solana prioritizes confidentiality for SPL tokens. This means transaction amounts and sender/receiver addresses can be hidden, but not erased. While your identity remains somewhat linked to your transactions, the specifics are obscured.
Solana recently introduced Confidential Transfers, a feature utilizing Zero-Knowledge Proofs (ZKPs) to encrypt token balances and transaction amounts. This significantly enhances privacy by only revealing what's necessary for validation, keeping your financial details hidden from casual observers.
The public nature of blockchains is inherent, offering transparency and trust. However, this can also raise privacy concerns. Finding the right balance is key. SPLs with features like Confidential Transfers help achieve this equilibrium, allowing for secure and private transactions while maintaining essential levels of auditability and accountability.
The SPL Tokens are secured by cryptography and managed through digital wallets. Therefore, the security of a SPL token is only as good as the security of the wallet it is stored in. The SPL Solana Wallets are generally secure, but users should take precautions to protect their private keys. Using a hardware wallet and avoiding sharing private keys are some ways to enhance the security of SPL wallets.
Big thanks to the Solana Blockchain that enables the SPL Tokens Transactions to get automatically stored on the immutable Solana blockchain, making them highly secure and resistant to hacking, fraud, and other nefarious activities as well as enhanced security and reliability
Requirements
What is needed to launch your own SPL Solana Token:- Token Name: (example: Solana)
- Token Symbol: (example: SOL)
- Token Decimals: (example: 8)
- Token Supply "quantity": (example: 1 Billion Token)
- Your Solana Wallet Address: (example: _)
"To receive your tokens and ownership" - Auto-Liquidity Fee: (example: 1%)
- Marketing-Fee: (example: 0.5%)
- Your Solana Marketing Address: (example: _)
"To receive your marketing-fees on it" - Token Buy-Fee: (example: 0.5%)
- Token Sell-Fee: (example: 0.5%)
- Auto-Burn percentage: (example: 0.5%)
"A percentage out of each transaction or swap to be burned"
Toke Code
Your Token Code FilesAfter purchasing, you will be able to download the zip file that contains your Token Code.
Extract the zip file using free winrar or any zip extractor
Open the folder "Token Code" to find your file "TokenCode.txt"
You can place your token details (Toke Name, Symbol, Decimals, Supply, Percentages) inside the .txt file, or we can do it for you.
You can use a text editor or NotePad++ to replace the following:
- Replace All for: Your_Token_Name with your Token Name
- Replace All for: Your_Token_Symbol with your Token Symbol
- Replace All for: 1572318421 with your Token Quantity ( example 1 Billion is 1000000000 )
- Replace All for: Your_Marketing_Wallet with your Solana Marketing Wallet Address ( example T_____ )
- Line567: Set your "Buy Marketing-Fee" ( uint256 _buyMarketingFee = )
- Line568: Set your "Buy Liquidity-Fee" ( uint256 _buyLiquidityFee = )
- Line570: Set your "Sell Marketing-Fee" ( uint256 _sellMarketingFee = )
- Line571: Set your "Sell Liquidity-Fee" ( uint256 _sellLiquidityFee = )
Deploy and Launch Your Token
You can follow these steps to Deploy and Launch Your Token:
The Solana token program is written in Rust programming language and basic knowledge of the language is recommended.
We are going to create our token using the spl command-line interface.
1. Installing the Solana and SPL CLI (command line interface).
- We need to install the Solana CLI. Doing so is quite simple.
However, the command differs, and you might also need to add some environmental variables depending on which operating system you are utilizing.
These are the commands for installing the Solana CLI:
Windows Operating System:curl https://release.solana.com/v1.9.5/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs
MacOS & Linux:sh -c "$(curl -sSfL https://release.solana.com/v1.9.5/install)"
- With the Solana CLI at hand, the next part of this initial step is to also install the SPL CLI.
To install the CLI, you can utilize the following input:cargo install spl-token-cli
2. Create a Solana Wallet inside the CLI
- Creating a Solana Wallet is done through the following command
solana-keygen new --no-outfile
- Now that you have a Solana Wallet!
You can make sure that everything is working by checking the SOL balance of your wallet:solana balance
- Insert the command below, to see the connected cluster
solana config get
- If you would like to make a free test first on the testnet, you can use the command below to connect to the testnet.
solana config set --url https://api.devnet.solana.com
solana airdrop 1
3. Generate your SPL Token
- As we have both the Solana and SPL CLI, this process becomes relatively accessible, and we can easily create your SPL token with the Token Code you got
The first thing we need to do is create the token itself with the following input:spl-token create-token
Always refer to spl-token --help for further actions on your token.
- We can then utilize the token ID to check the balance of your token
spl-token supply token-identifier
- Note: before creating the quantity (minting the supply), we need to create an account for the program.
The reason for manually adding this is that programs on the Solana blockchain do not generally have any storage by default.
As such, we need to add the account ourselves:spl-token create-account token-identifier
- With an account created for our token, we can simply mint a specified amount of tokens through this command:
spl-token mint token-identifier token-amount
You can then make sure that everything worked as intended by checking the balance with the identical command we used previously.
4. Last Step: Add your Tokens to your Wallet
- Check the balance of your wallet by inserting the following command:
spl-token accounts
You can see a result very near to the below
This is a list of all the tokens in your wallet, and the ones that you created during this tutorial should show up here.
- To transfer your Tokens to your regular wallet, we will be using a Phantom wallet.
However, if you are using any other Solana Wallet, the process is the same.
- You can get the receiving solana wallet address by copying it from the top of your Phantom wallet interface.
- To make the transfer, we need the Token ID, the specific amount you’d like to transfer, and the receiving solana wallet address.
Insert the command below to make the transferspl-token transfer token-identifier token-amount wallet-address --fund-recipient
- When you check your Phantom wallet, you’ll notice that your token has no name or symbol or icon.
To add this, you need to use the Metaplex Metadata Fungible Token Standard
With JavaScript, you can use the @metaplex-foundation/js and @metaplex-foundation/mpl-token-metadata libraries to create a metadata account associated with your token.
import { DataV2, createCreateMetadataAccountV2Instruction } from '@metaplex-foundation/mpl-token-metadata';
import { findMetadataPda } from '@metaplex-foundation/js';
const metadataPDA = await findMetadataPda(mintKeypair.publicKey); // This is derived from the mint account's public key
const tokenMetadata = {
name: "Test Token",
symbol: "TEST",
uri: https://token-creator-lac.vercel.app/token_metadata.json,
sellerFeeBasisPoints: 0,
creators: null,
collection: null,
uses: null
} as DataV2;
const createNewTokenTransaction = new Transaction().add(
createCreateMetadataAccountV2Instruction({
metadata: metadataPDA,
mint: mintPublicKey,
mintAuthority: userPublicKey,
payer: userPublicKey,
updateAuthority: userPublicKey,
},
{ createMetadataAccountArgsV2:
{
data: tokenMetadata,
isMutable: true
}
}
)
await sendTransaction(createNewTokenTransaction, connection);
The above sets the metadata to use:
The name "Test Token", symbol "TEST", and the logo to the image field in the json from uri.
Congratulations! Your Token is Fully Launched
If you are not familiar with the process, we can do it for you
Free Bonuses
- Free Guidance
- Free Support for 1 Year
- Free Consultation and Training Sessions
- Free Blockchain Education "eBooks"
- Free follow-ups till you successfully launch your business in the way you want and after launching for 1 year for Free