Skip to content

Bcode SDK

BcodeSDK is the easiest way to interact with Bcode API service.

Let's get started!

Bcode service has said before is build on top of Polygon blockchain so we have support MUMBAI network, for development and testing, and MAINNET network, for production environemnt.

One important concept to understand is that Bcode service works with PTK Token a ERC20 token used as coin to execute transaction. This token can be obtain by a call with SDK for development environment, differently in production mode you have to contact our commercial section to sign a subscription that suits your need.

Installation

From npm:

npm install --save @bcode-tech/bcode-sdk

or

yarn add @bcode-tech/bcode-sdk

Initialization

For the correct initialization refer to v0.1 or v1 documentations