feat: migrate CLOB client to V2-only trading

This commit is contained in:
floor-licker
2026-04-24 12:48:30 -03:00
parent 0ad1915d2a
commit e78ae17286
24 changed files with 1281 additions and 463 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
};
// Create client with API credentials only (no private key needed for custodial trading)
let mut client = ClobClient::new("https://clob.polymarket.com");
let mut client = ClobClient::new("https://clob-v2.polymarket.com");
client.set_api_creds(api_creds);
println!("✅ Client configured for custodial API trading");