@@ -160,7 +160,7 @@ use polymarket_client_sdk_v2::clob::{Client, Config};
160160async fn main() -> anyhow::Result<()> {
161161 let private_key = std::env::var(PRIVATE_KEY_VAR).expect("Need a private key");
162162 let signer = LocalSigner::from_str(&private_key)?.with_chain_id(Some(POLYGON));
163- let client = Client::new("https://clob-v2 .polymarket.com", Config::default())?
163+ let client = Client::new("https://clob.polymarket.com", Config::default())?
164164 .authentication_builder(&signer)
165165 .authenticate()
166166 .await?;
@@ -179,7 +179,7 @@ async fn main() -> anyhow::Result<()> {
179179For proxy/Safe wallets, the funder address is ** automatically derived** using CREATE2 from your signer's EOA address:
180180
181181``` rust,ignore
182- let client = Client::new("https://clob-v2 .polymarket.com", Config::default())?
182+ let client = Client::new("https://clob.polymarket.com", Config::default())?
183183 .authentication_builder(&signer)
184184 .signature_type(SignatureType::GnosisSafe) // Funder auto-derived via CREATE2
185185 .authenticate()
@@ -192,7 +192,7 @@ shown on polymarket.com when you log in with a browser wallet.
192192If you need to override the derived address (e.g., for advanced use cases), you can explicitly provide it:
193193
194194``` rust,ignore
195- let client = Client::new("https://clob-v2 .polymarket.com", Config::default())?
195+ let client = Client::new("https://clob.polymarket.com", Config::default())?
196196 .authentication_builder(&signer)
197197 .funder(address!("<your-polymarket-wallet-address>"))
198198 .signature_type(SignatureType::GnosisSafe)
@@ -231,7 +231,7 @@ See [`SignatureType`](src/clob/types/mod.rs) for more information.
231231For deposit wallets, pass the deployed deposit wallet as the funder and use ` SignatureType::Poly1271 ` :
232232
233233``` rust,ignore
234- let client = Client::new("https://clob-v2 .polymarket.com", Config::default())?
234+ let client = Client::new("https://clob.polymarket.com", Config::default())?
235235 .authentication_builder(&signer)
236236 .funder(deposit_wallet)
237237 .signature_type(SignatureType::Poly1271)
@@ -255,7 +255,7 @@ use polymarket_client_sdk_v2::types::Decimal;
255255async fn main() -> anyhow::Result<()> {
256256 let private_key = std::env::var(PRIVATE_KEY_VAR).expect("Need a private key");
257257 let signer = LocalSigner::from_str(&private_key)?.with_chain_id(Some(POLYGON));
258- let client = Client::new("https://clob-v2 .polymarket.com", Config::default())?
258+ let client = Client::new("https://clob.polymarket.com", Config::default())?
259259 .authentication_builder(&signer)
260260 .authenticate()
261261 .await?;
@@ -293,7 +293,7 @@ use rust_decimal_macros::dec;
293293async fn main() -> anyhow::Result<()> {
294294 let private_key = std::env::var(PRIVATE_KEY_VAR).expect("Need a private key");
295295 let signer = LocalSigner::from_str(&private_key)?.with_chain_id(Some(POLYGON));
296- let client = Client::new("https://clob-v2 .polymarket.com", Config::default())?
296+ let client = Client::new("https://clob.polymarket.com", Config::default())?
297297 .authentication_builder(&signer)
298298 .authenticate()
299299 .await?;
@@ -322,7 +322,7 @@ the protocol by pointing the client at the corresponding host:
322322
323323| Protocol | Host | Collateral | EIP-712 domain version |
324324| ----------| -----------------------------------| --------------| ------------------------|
325- | V2 | ` https://clob-v2 .polymarket.com ` | pUSD | ` "2" ` |
325+ | V2 | ` https://clob.polymarket.com ` | pUSD | ` "2" ` |
326326| V1 | ` https://clob.polymarket.com ` | USDC.e | ` "1" ` |
327327
328328V2 orders add ` timestamp ` , ` metadata ` , and ` builder ` fields. V1 orders use ` taker ` , ` nonce ` ,
@@ -390,7 +390,7 @@ async fn main() -> anyhow::Result<()> {
390390 let signer = LocalSigner::from_str(&private_key)?.with_chain_id(Some(POLYGON));
391391
392392 let config = Config::builder().builder_code(builder_code).build();
393- let client = Client::new("https://clob-v2 .polymarket.com", config)?
393+ let client = Client::new("https://clob.polymarket.com", config)?
394394 .authentication_builder(&signer)
395395 .authenticate()
396396 .await?;
0 commit comments