feat: add seed optimization and mint ATA creation control
- Add open_seed_optimize parameter for transaction CU optimization using createAccountWithSeed - Add create_mint_ata parameter to control automatic mint token account creation - Update all examples to include new create_mint_ata parameter (set to true) - Enhance documentation with detailed explanations of seed optimization features - Add warnings about compatibility requirements when using seed optimization - Support conditional mint ATA creation across all trading protocols (PumpFun, PumpSwap, Bonk, Raydium) BREAKING CHANGE: All buy functions now require create_mint_ata parameter
This commit is contained in:
@@ -37,6 +37,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
true, // ❗️❗️❗️❗️ open seed optimize
|
||||
)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user