Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
coinbase-exchange-api-sdk
Advanced tools
Readme
Since Coinbase doesn't have an official SDK for Node.js, we created one.
It simplifies the use of the Coinbase Exchange API (Pro), defining the interface of all available attributes for HTTP body objects, query parameters, URLs, and (the most important part) authentication.
It exposes all this in a simple way, abstracting all the manual work of interacting with the Coinbase Exchange API.
Use it like:
const cb = new CoinbaseExchangeApi({
key: "",
secret: "",
passphrase: "",
environment: "",
});
The environment defaults to "dev". When it's using "dev", it refers to the Sandbox environment. Set it to "prod" to use the production API.
After this, you can use all the endpoints and methods of the API reference.
For example, looking at the documentation, you have chosen to use the "Get Conversion fee Rates" of the "Conversions" endpoint/method.
So, using this package, you can use it this way:
cb.conversions.getConversionFeeRates();
It's entirely based on the documentation, so every section and every section's methods are used exactly in the same way here, but using the camel-case convention.
Also, the lint of the code will always show you what data needs to be passed (IDs, body, or query params), also providing the interfaces for that (so you will always know which data is required and what are all the available options).
This work was done by @TaylorHo, and it's in constant improvement.
If you have encountered some error or something that doesn't feel right, open an issue or, even better, a PR solving the issue.
You can give thanks to our work here on Github Sponsors.
Thanks for using this package <3!
FAQs
Coinbase Exchange API abstraction in NodeJS
The npm package coinbase-exchange-api-sdk receives a total of 0 weekly downloads. As such, coinbase-exchange-api-sdk popularity was classified as not popular.
We found that coinbase-exchange-api-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.