mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-15 18:08:05 +00:00
add log
This commit is contained in:
@@ -131,6 +131,10 @@ pub fn buy(
|
||||
args: Buy,
|
||||
) -> Instruction {
|
||||
let bonding_curve: Pubkey = PumpFun::get_bonding_curve_pda(mint).unwrap();
|
||||
|
||||
println!("user_ata: {:?}", get_associated_token_address(&payer.pubkey(), mint));
|
||||
println!("bonding_curve_ata: {:?}", get_associated_token_address(&bonding_curve, mint));
|
||||
|
||||
Instruction::new_with_bytes(
|
||||
constants::accounts::PUMPFUN,
|
||||
&args.data(),
|
||||
|
||||
Reference in New Issue
Block a user