Pump.fun Token
Introduction
Pump.fun is a decentralized platform for launching and trading tokens on the Solana blockchain. With SolanaPortal, users can create and deploy tokens directly on Pump.fun using two methods:
Single Buy Token Creation: The creator mints a new token and immediately purchases an initial amount to activate and list it.
Bundle Buy Token Creation: Purchase the token simultaneously using Jito bundle transactions, ensuring a fair and efficient launch either through single or mulitple wallets.
A single failed transaction in a Jito bundle swap
will cause the entire bundle to fail. Ensure all parameters and wallets are correctly configured to avoid issues.
Both methods are built on SolanaPortalβs robust API endpoints, ensuring reliability and speed regardless of blockchain congestion.
Metadata Parameters for IPFS Upload
Before creating a token, metadata must be uploaded to IPFS of Pump.fun given below.
The following parameters are required to store token details.
Parameter
Type
Required
Description
image
Image
β
The token image file to be uploaded.
name
String
β
The name of the token.
symbol
String
β
The ticker symbol of the token.
description
String
β
A brief description of the token.
twitter
String
β
URL to the project's Twitter/X profile.
telegram
String
β
URL to the project's Telegram channel.
website
String
β
URL to the project's official website.
showName
Boolean
β
Whether the token name should be displayed on Pump.fun.
Metadata Explanations
Each parameter in the Standard Token Creation API plays a vital role in defining how your token functions on the Solana blockchain. Below is a detailed breakdown of all required parameters, along with practical examples and best practices.
1. image
The image file representing the token.
Example:
Ensure the image is in a supported format (PNG, JPG, etc.).
2. name
The name of the token in metadata.
Example:
3. symbol
The symbol or ticker of the token.
Example:
β οΈ Max length: 10 characters.
4. description
A brief description of the token.
Example:
This will be visible on Pump.fun.
5. twitter
The Twitter/X profile link of the project.
Example:
6. telegram
The Telegram community link.
Example:
7. website
The official website of the project.
Example:
8. showName
Defines whether the token name should be displayed on Pump.fun.
Supported values:
true
β Display token namefalse
β Hide token name
Example:
Example Metadata Upload Request
API Endpoint - Pump.fun Token Creation
For both single buy and bundle buy token creation.
Core Parameters for Pump.fun Token Creation
Parameter
Type
Required
Description
wallet_address
String
β
The public key of the wallet creating the token.
name
String
β
The token's name retrieved from metadata IPFS.
symbol
String
β
The token symbol retrieved from metadata IPFS.
metadataUri
String
β
IPFS metadata URL containing the token details.
amount
Float
β
The SOL amount for the first buy transaction.
slippage
Integer
β
Maximum slippage tolerance.
tip
Float
β
Priority fee for faster transaction processing.
type
String
β
Transaction type (jito
).
Parameter Explanations
1. wallet_address
The public address of the wallet initiating the transaction, required for signing and executing the swap. It can also be derived from the private key as explained in the implementation.
Example:
2. name
The name of the token to be created. Retrieved from the IPFS Metadata.
Example:
3. symbol
The symbol or ticker for the token. Retrieved from the IPFS Metadata.
4. metadataUri
The IPFS metadata URI containing the token details. Retrieved from the IPFS Metadata.
Supported values:
raydium
,jupiter
,pumpfun
,moonshot
.
Example:
5. amount
The quantity of tokens involved in the trade.
For
buy
: The value should be specified in SOL (e.g.,0.01
) since you're purchasing tokens using SOL.For
sell
: The value should be the number of tokens you want to sell (e.g.,1550
or5090.25
).
Example:
Ensure you have enough tokens in your wallet to avoid insufficient balance errors.
6. slippage
The maximum price variation you are willing to tolerate during the swap, expressed as a percentage.
Example:
Higher slippage tolerances prevent failed transactions in volatile markets
7. tip
A priority fee to ensure faster processing of your transaction, especially during network congestion.
Example:
8. type
Specifies the transaction type.
Supported values:
jito
(default),bloxroute
.
Example:
Single Buy Token Creation
Single Buy Token Creation is the process of deploying a token on Pump.fun while executing the first mandatory purchase. This ensures the token is activated and listed immediately.
Example Parameters for Single Buy Token Creation
Bundle Buy Token Creation
Bundle Buy Token Creation allows multiple wallets to execute the first buy transaction together using Jito bundle swaps. This method ensures fair launches by preventing a single user from gaining an advantage.
β Each buy amount must be different, as Jito does not allow identical transactions in a bundle.
Example Parameters for Bundle Buy Token Creation
Important Notes
Metadata parameters (
name
,symbol
,metadataUri
) should be retrieved from IPFS during token creation.In Bundle Buy transactions, all transactions in the bundle must succeed, or the entire bundle fails.
Ensure that different buy amounts are set for each wallet in the bundle.
If metadata is missing, the token creation will fail.
Next Steps
To learn how to implement pump.fun token creation programmatically, visit the language-specific guides:
Last updated