What is Match Your Buy?
Match Your Buy is an innovative trading mechanism built on the Solana blockchain that automatically matches trader buys with developer buys. Every time a trader purchases tokens, the system triggers an automatic developer buy using 1% of the fees collected, creating aligned incentives between traders and developers.
Core Concept
When you buy tokens, we buy tokens. When traders succeed, developers succeed. This creates a sustainable ecosystem where everyone's interests are perfectly aligned.
Technical Implementation
WebSocket Subscription Example
Monitor real-time trades on specific tokens:
const ws = new WebSocket('wss://pumpportal.fun/api/data');
ws.on('open', function open() {
// Subscribe to token trades
const payload = {
method: "subscribeTokenTrade",
keys: ["TOKEN_CONTRACT_ADDRESS"]
};
ws.send(JSON.stringify(payload));
});
ws.on('message', function message(data) {
const trade = JSON.parse(data);
// Trigger matching developer buy
executeDeveloperBuy(trade);
});
Executing Developer Buy
Automatically execute a matching buy using collected fees:
async function executeDeveloperBuy(traderBuy) {
const feeAmount = traderBuy.amount * 0.01; // 1% of fees
const response = await fetch('https://pumpportal.fun/api/trade-local', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
publicKey: DEVELOPER_WALLET,
action: "buy",
mint: traderBuy.tokenAddress,
denominatedInSol: "true",
amount: feeAmount,
slippage: 1,
priorityFee: 0.00001,
pool: "pump"
})
});
return await response.json();
}
Frequently Asked Questions
How quickly are developer buys executed?
Developer buys are executed within the same block or immediately following the trader's transaction, typically within 400-500ms.
Can I verify the developer buys?
Yes! All transactions are on-chain and can be verified using Solana explorers. Developer wallet addresses are publicly disclosed.
What happens if the bonding curve completes?
Once a token graduates from the bonding curve to Raydium, the matching mechanism transitions to the Raydium pool automatically.
Are there any minimum buy amounts?
The minimum buy amount is determined by the Pump.fun platform, typically around 0.001 SOL to cover transaction fees.