🛠️Get Start using Bitkub Chain SDK

This provides step-by-step instruction and essential prerequisites to seamlessly integrate the SDK into your DApp. Begin your journey into blockchain innovation with the Bitkub Chain today.

📍Prerequisites

  • Node.js version 16

  • React.js or Next.js

1. Installation

yarn add @bitkub-blockchain/sdk-client-js

2. Configuration

Create an ENV file with the following fields. (Click ⚙️to see how to get these values)

Nextjs .env

NEXT_PUBLIC_BITKUB_NEXT_PROJECT_ID='your_project_id'
NEXT_PUBLIC_BITKUB_NEXT_WEB_API_KEY='your_api_key'
NEXT_PUBLIC_BITKUB_NEXT_CLIENT_ID='your_client_id'

React (CRA) .env

REACT_APP_BITKUB_NEXT_PROJECT_ID='your_project_id'
REACT_APP_BITKUB_NEXT_WEB_API_KEY='your_api_key'
REACT_APP_BITKUB_NEXT_CLIENT_ID='your_client_id'

Last updated