To run the SDK you need Node.js version 16 and higher. While you may find a way to run it directly in a browser, we don't actively support or provide troubleshooting assistance with this scenario. We recommend setting up your own Node.js backend. Exposing your API keys in a frontend application is almost always a bad idea. Using the SDK is pretty straight-forward as you can see from the following examples. For more examples take a look in blockfrost-js-examples repository. Blockfrost Node.js SDK throws 2 types of errors, BlockfrostServerError and BlockfrostClientError. Each of these errors is extended from the built-in Error class, allowing you to properly catch it and handle it in your code.
Features
- Blockfrost SDK exports several utility functions to improve developer experience
- Blockfrost.io SDK for JavaScript for Node.js
- To use this SDK, you first need to log in to blockfrost.io
- To run the SDK you need Node.js version 16 and higher
- The SDK is hosted on npmjs.com, so you can directly import it using your favorite package manager
- For a list of all SDK methods check out our wiki
Categories
File SharingLicense
Apache License V2.0Follow blockfrost-js
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of blockfrost-js!