Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support US #652

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

support US #652

wants to merge 1 commit into from

Conversation

eddieran
Copy link

support binance.us

@xyq-c-cpp
Copy link
Collaborator

I don't think this modification is necessary to support it. Just set the value of BaseAPIMainURL or BaseWsMainURL before creating the client. Except in the options module where the associated values are not publicly available, if options support is also required, the associated values can be modified to be publicly visible. @eddieran

@eddieran
Copy link
Author

eddieran commented Jan 3, 2025

I modified it this way with reference to the current support for testnet's domain.

// UseTestnet switch all the API endpoints from production to the testnet
var UseTestnet = false

@xyq-c-cpp
Copy link
Collaborator

@eddieran Take a look at those comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants