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

Added WhiteBitNonceProvider #2

Merged
merged 3 commits into from
Mar 3, 2025

Conversation

nils2525
Copy link
Contributor

@nils2525 nils2525 commented Mar 3, 2025

Implemented a nonce provider that ensures that each nonce is only used once. This will fix double spending nonces when nonceWindow is used. I tried to implement this provider as you did in your other libs.

Official Documentation -> "About Nonce Values" (https://docs.whitebit.com/private/http-auth/)
-> "Each nonce must be unique to prevent double processing"

@JKorf
Copy link
Owner

JKorf commented Mar 3, 2025

Hi, looks good. Could you fix the build error in the test project?

@nils2525
Copy link
Contributor Author

nils2525 commented Mar 3, 2025

Hi, looks good. Could you fix the build error in the test project?

Done. And also fixed the namespace

@JKorf JKorf merged commit bf914cf into JKorf:main Mar 3, 2025
1 check failed
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