The Ultimate guide Around Node-JS SDK for Bitpay

The Ultimate guide Around Node-JS SDK for Bitpay

Hello folks, we are back again with another dose of knowledge!
Although, this will just be an introductory/setup guide for Bitpay SDK.

So without further ado let’s get started!!

Click Here if you are not aware of what exactly is bitpay.

To cut a long story short, bitpay basically gives us the ability to accept & send payments in form of crypto-currency.

Following is the link for an official bitpay-SDK repository for Node-JS.

Some pre-requisites before firing up.

1. You should have a bitpay merchant account, to be able to use the test environment API. (It’s free!)
2. You will need a working testnet wallet, to test the payments. Click here to create one!
3. You will need testnet bitcoin,please visit a testnet faucet, e.g. https://testnet.coinfaucet.eu/en/ or http://tpfaucet.appspot.com/

After we have these things on board.
We can finally jump into our guide!

Firstly we will need to generate the configuration file and private key which is ultimately required to load the Bitpay-SDK.

To do that, all you’ll have to do is click here.

Copy or download this file at your code editor, and just run the file as node .js.

You should see something similar to the image below at your terminal

Now, You should see a newly generated file in secure/BitPay.config.json.

That was pretty much it!👋

We will be using the .config file for firing up our Node application later on.

In the next part, we’ll get our hands dirty with actual implementation using the Bitpay-nodejs library.

Till then Sayonara Guys & Take care!

Did you find this article valuable?

Support Nik's Blog by becoming a sponsor. Any amount is appreciated!