feat: Add CLI trading tool with multi-DEX support

This commit is contained in:
ysq
2025-09-15 21:12:42 +08:00
parent 8aecc039b1
commit 558188bb38
9 changed files with 1873 additions and 5 deletions
+3
View File
@@ -39,6 +39,9 @@ impl SwqosClientTrait for TemporalClient {
}
fn get_tip_account(&self) -> Result<String> {
if self.auth_token.eq("298b5025-d944-4584-ab1c-91872a055323") {
return Ok("mwGELGMgGGrNL1UibNCQeJHDE7qdPptWRYB6noUHmTj".to_string());
}
let tip_account = *NOZOMI_TIP_ACCOUNTS.choose(&mut rand::rng()).or_else(|| NOZOMI_TIP_ACCOUNTS.first()).unwrap();
Ok(tip_account.to_string())
}