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

Project Samples

Project Activity

See All Activity >

Categories

File Sharing

License

Apache License V2.0

Follow blockfrost-js

blockfrost-js Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of blockfrost-js!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript File Sharing Software

Registered

2023-07-13