This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://germany.solana.dex.blxrbdn.com | |
pub fn get_random_tipping_address_bloxRoute() -> Result<Pubkey> { | |
let addresses = [ | |
"HWEoBxYs7ssKuudEjzjmpfJVX7Dvi7wescFsVx2L5yoY", | |
"95cfoy472fcQHaw4tPGBTKpn6ZQnfEPfBgDQx6gcRmRg", | |
"3UQUKjhMKaY2S6bjcQD6yHB7utcZt5bfarRCmctpRtUd", | |
"FogxVNs6Mm2w9rnGL1vkARSwJxvLE8mujTv3LK8RnUhF", | |
]; | |
let mut rng = rand::thread_rng(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const NOZOMI_TIP_ACCOUNTS: &[Pubkey] = &[ | |
pubkey!("TEMPaMeCRFAS9EKF53Jd6KpHxgL47uWLcpFArU1Fanq"), | |
pubkey!("noz3jAjPiHuBPqiSPkkugaJDkJscPuRhYnSpbi8UvC4"), | |
pubkey!("noz3str9KXfpKknefHji8L1mPgimezaiUyCHYMDv1GE"), | |
pubkey!("noz6uoYCDijhu1V7cutCpwxNiSovEwLdRHPwmgCGDNo"), | |
pubkey!("noz9EPNcT7WH6Sou3sr3GGjHQYVkN3DNirpbvDkv9YJ"), | |
pubkey!("nozc5yT15LazbLTFVZzoNZCwjh3yUtW86LoUyqsBu4L"), | |
pubkey!("nozFrhfnNGoyqwVuwPAW4aaGqempx4PU6g6D9CJMv7Z"), | |
pubkey!("nozievPk7HyK1Rqy1MPJwVQ7qQg2QoJGyP71oeDwbsu"), | |
pubkey!("noznbgwYnBLDHu8wcQVCEw6kDrXkPdKkydGJGNXGvL7"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load_pubkeys "5WGYajM1xtLy3QrLHGSX4YPwsso3jrjEsbU1VivUErzk" | |
MarketStateV | |
Executor Relevant Info: ExecutorRelevantInfo { executor_sol_public_key: "8n9pegv8M4ozZFJyEp7pvxXfRSiXXLMjYoxo6U4p1wS1", executor_coin_public_key: "36kVXfhYXv1mv5RF7uaDj9vsSnk7spdt3DNqK7bMrGAv", executor_base_public_key: "F7CnaACQ7pAdBNYibKVasEeYMB7KjfYyQ7DvfppUG3zf" } | |
Pair: CexPair { symbol: "MYROUSDT", base: "USDT", quote: "MYRO" } | |
Relevant Pool Info: RaydiumPoolDetails { pool_id: "5WGYajM1xtLy3QrLHGSX4YPwsso3jrjEsbU1VivUErzk", mint_coin: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", bybit_amount_mint: "HhJpBhRRn4g56VsyLuT8DL5Bv31HkXqsrahTTUCZeZg4", bybit_other_mint: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", bybit_amount_symbol: "MYRO", bybit_pair: "MYROUSDT", mint_pc: "HhJpBhRRn4g56VsyLuT8DL5Bv31HkXqsrahTTUCZeZg4", pool_coin: "BUvMbqP311JDU4ZGnf1rSZJLjutTU9VpNLEos393TYyW", pool_pc: "AMtPGYQS873njs35mD9MAAMKoospEuzNHPy7LQuuKo4A", coin_decimals: 6, pc_decimals: 9, pool_fees: 0.0025, amm_keys: AmmKeys { amm_pool: 5WGYajM1xtLy3QrLH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@sniper:~/pumpfun-sniper-rust/logs/attempts# cat AjByuUdZ1EDR8V7t3T7RFdnhhPpkCcwqa8ok9LN4pump-2024-12-28.log | |
[2024-12-28 19:59:45.358] [INFO] | |
=== New Pump Token Created === | |
Slot: 310413668 | |
Transaction: 3RmuTz3CVqTaXY31ybHKWADtBiDHPogoJ91iMZ6dq9wo7g5siRbArouJux22fpyR1WGisaTskVPfDXm2pJ3EBgYh | |
Symbol: JACK | |
Mint: AjByuUdZ1EDR8V7t3T7RFdnhhPpkCcwqa8ok9LN4pump | |
Creator: HKo6GHk8YV9HZMfurrRs3NFY8NwETMmYAFzm1xfRX6dn | |
Creator Buy Amount: 606478260 | |
Price: 0.000000150 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tradingEnabledCollections = await AllCollections.findAll({ | |
where: { | |
symbol: 'vtopian', | |
}, | |
}) | |
for (const collection of tradingEnabledCollections) { | |
try { | |
const collectionSymbol = collection.symbol | |
if (collectionSymbol === undefined) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let successCount = 0 | |
let errorCount = 0 | |
const tradingEnabledCollections = await AllCollections.findAll({ | |
where: { | |
isTradingEnabled: true, | |
}, | |
}) | |
for (const collection of tradingEnabledCollections) { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const formattedTraitInfo: Array<{ traitType: string, traitValues: string[] }> = []; | |
// Assuming meAttributeData is the data output from ME API | |
meAttributeData?.results.availableAttributes.forEach(availableAttribute => { | |
const { trait_type: traitType, value } = availableAttribute.attribute; | |
const existingTrait = formattedTraitInfo.find(item => item.traitType === traitType); | |
if (existingTrait) { | |
existingTrait.traitValues.push(value); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export async function getPriorityFeeEstimateForIxs( | |
ixs: TransactionInstruction[], | |
priorityLevel: PriorityConfigLevel = PriorityConfigLevel.NORMAL, | |
): Promise<number | null> { | |
try { | |
const heliusPriorityLevel: string = (() => { | |
switch (priorityLevel) { | |
case PriorityConfigLevel.NORMAL: | |
return 'Medium' | |
case PriorityConfigLevel.HIGH: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use reqwest::Client; | |
use serde_json::json; | |
use solana_client::{ | |
client_error::{ClientError, ClientErrorKind, Result as ClientResult}, | |
nonblocking::rpc_client::RpcClient, | |
rpc_config::RpcSimulateTransactionConfig, | |
}; | |
use solana_program::instruction::Instruction; | |
use solana_sdk::{ | |
commitment_config::CommitmentConfig, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export async function newTxWithComputeAndPriorityFees( | |
ixs: TransactionInstruction[], | |
userWallet: string, | |
lookupTables?: AddressLookupTableAccount[], | |
): Promise<Transaction> { | |
const ixsWithComputeAndPriorityFees = await prependComputeAndPriorityFees( | |
ixs, | |
userWallet, | |
lookupTables, | |
) |
NewerOlder