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

refactor requests to use a modern node requests library instead of node-fetch #104

Open
rafaelcr opened this issue Nov 6, 2023 · 0 comments

Comments

@rafaelcr
Copy link

rafaelcr commented Nov 6, 2023

There are newer request libraries such as undici that are much more easy to work with when it comes to JSON parsing, request/response schema validation, status code and headers handling, etc.

The registrar should be updated to use one of these librares so it can abstract away this logic when calling the Stacks API. Another option is to use the Stacks Blockchain API client to issue these calls.

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

No branches or pull requests

1 participant