Added pump

This commit is contained in:
2026-08-05 07:41:51 +02:00
parent c265524669
commit 329da69b99
3 changed files with 473 additions and 26 deletions
+17
View File
@@ -0,0 +1,17 @@
use crate::executor::Executor;
pub const PROGRAM_ID: &str = "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P";
pub struct PumpFun {
pub private_key: String,
}
impl Executor for PumpFun {
async fn buy(&self, token: solana_sdk::pubkey::Pubkey, amount: f64) -> anyhow::Result<()> {
Ok(())
}
async fn sell(&self, token: solana_sdk::pubkey::Pubkey, amount: f64) -> anyhow::Result<()> {
Ok(())
}
}