blockchainiz2
v2.3.4
Published
A node library to interact more easily with the Blockchainiz API
Maintainers
Readme
Description
Blockchainiz is a platform to access the blockchain. It is dedicated to banks and insurance companies. This package is a node library to interact more easily with the Blockchainiz API.
Installation
Simply use NPM with the following command:
npm install blockchainiz2 --saveThis will download the package and add an entry in your project's package.json file.
Setup
In your project's source code, you need to start by importing the blockchainiz package and specify the options you want to use:
const blockchainiz = require('blockchainiz2')({
publicKey: 'your public key',
privateKey: 'your private key',
url: 'https://url-of-blockchainiz-api',
});There are 3 options that you can set. You NEED to specify them in order for the package to work:
Option | Type | Description ------ | ---- | ----------- publicKey | string | Your Blockchainiz public key privateKey | string | Your Blockchainiz private key url | string | Blockchainiz API url
Availables environnements
environnement | url | type Blockchain ------------- | --- | ---------------- DEVELOPPEMENT | https://dev.api.blockchainiz.io | TestNet RECETTE | https://recette.api.blockchainiz.io | TestNet PRE-PRODUCTION | https://preprod.api.blockchainiz.io & https://cc.preprod.api.blockchainiz.io | TestNet PRODUCTION | https://api.blockchainiz.io & https://cc.api.blockchainiz.io | MainNet
