KUB Docs
  • Introduction to KUB
  • Connect to KUB
  • KUB PoS
    • Increase block gas limit to 90M
    • Update GasPrice Instruction
    • Incident from chaophaya hardfork
    • Overview
    • Considerations
    • Validator Node
      • Node Requirements
      • Run Validator Node
      • Validator Staking
      • StakeManager Contract
      • ValidatorShare Contract
      • Slashing
    • Run Full Node
    • Run Archive Node
    • Chaindata Snapshot
    • Migration PoSA to PoS
    • Delegator
      • How to delegate
      • How to claim reward
      • How to unstake
  • Developer Center
    • ✨Getting Started
    • 🏆Project Tiers
    • 👨‍💻Connect Bitkub NEXT to register as a new user
    • ✔️Verify your identity via Bitkub NEXT (KYC or KYB)
    • 💰Subscribe to the KUB Developer Package
    • 🗳️Submit your project
      • 📗Create submit project
      • 📘Manage your project
        • Submit project
        • Create a new project version
        • Status of project version
      • 📙Manage project information
  • KUB SDK
    • NEXT SDK
      • NEXT SDK Code Cookbook
      • KUB SDK Compatible Smart Contract
        • Example Smart Contract for Testing
        • Example KUB SDK Compatible KAP20 Smart Contract
        • Example KUB SDK Compatible KAP721 Smart Contract
  • KUB Playground
    • Quick Start Guide on KUB Playground
  • KUB Layer 2
  • KUB Scan
  • RPC Service
    • JSON-RPC Endpoint
  • IPFS Service
    • IPFS Guideline
  • FAQ
  • Glossary
  • Reference and Service
    • KUB Whitepaper Version 3.3
    • Technical Paper Version 3.2
    • KUB Explorer
    • KUB Faucet
    • KUB Oracle
    • KUB Bridge
    • KKUB OTP
Powered by GitBook
On this page
  • Recommended Knowledge​
  • 📍Prerequisites
  • 1. Installation
  • 2. Configuration

Was this helpful?

  1. BKC Console

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.

Last updated 1 year ago

Was this helpful?

Recommended Knowledge

  • Basic understanding of .

  • Familiar with Smart contracts.

  • Basic understanding of the

📍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'
🛠️
​
Solidity
Bitkub Chain Architecture
Create your PROJECT_ID
Create your Web API Key
Create and Get your CLIENT_ID