|
@@ -43,16 +43,16 @@ export abstract class BaseClient {
|
|
|
const rpc = rpcUrl[Math.floor(Math.random() * rpcUrl.length)]
|
|
|
this.rpcUrlUsing = rpc
|
|
|
const pass = `test1234_session-${generateRandomString(8)}_lifetime-20m`
|
|
|
- const proxyAgent = useProxy
|
|
|
- ? new HttpsProxyAgent(`http://tuxla:${pass}@geo.iproyal.com:12321`)
|
|
|
- : undefined
|
|
|
+ // const proxyAgent = useProxy
|
|
|
+ // ? new HttpsProxyAgent(`http://tuxla:${pass}@geo.iproyal.com:12321`)
|
|
|
+ // : undefined
|
|
|
const username = `u3e4c2852572e05c5-zone-custom-session-${generateRandomString(
|
|
|
9,
|
|
|
)}-sessTime-20`
|
|
|
const password = 'u3e4c2852572e05c5'
|
|
|
- // const proxyAgent = new HttpsProxyAgent(
|
|
|
- // `http://${username}:${password}@43.152.113.55:2334`,
|
|
|
- // )
|
|
|
+ const proxyAgent = new HttpsProxyAgent(
|
|
|
+ `http://${username}:${password}@43.152.113.55:2334`,
|
|
|
+ )
|
|
|
|
|
|
const requester = new APIRequester(rpc, {
|
|
|
httpsAgent: proxyAgent,
|