KrypCore Web3 User Manual
  • Welcome to KrypCore Web3
  • Introduction
    • Overview of the Platform
    • Product Architecture
    • Supported Networks & Platforms
  • Getting started
    • User Registration and Login
    • The First Steps - Navigating the Dashboard
  • User Management
    • User Subscription Plans
    • User Account Management
  • Product
    • Infrastructure
      • Blockchain Endpoints
        • Adding network to Metamask
      • Storage Endpoints
      • DID Service Endpoints
    • DApp Studio
    • Core Web3 Services
      • DID Studio
      • Storage Studio
      • Wallet Studio
    • Enablers
      • Smart Contract Studio
      • NFT Studio
      • FT Studio
    • Add on Services
      • Gasless Transactions
      • Managed Gas Service
      • Data Lake
  • SDK Integration
  • API Credits Recharge
  • Support
  • Troubleshooting
  • Glossary
Powered by GitBook
On this page
  • Step 1: Create a Dapp using Dapp Studio
  • Step 2: Set Up the SDK in your Application
  • Step 3: Use the SDK in your Application
  • Example Code
  • Authenticating with Platform Gateway
  • SDK Usage & Examples

SDK Integration

PreviousData LakeNextAPI Credits Recharge

Last updated 1 year ago

To begin using the KrypCore Web3 SDK, follow the steps below:

Step 1: Create a Dapp using Dapp Studio

  1. Access the KrypCore Web3 platform and navigate to the Dapp Studio section.

  2. and configure it according to your requirements.

  3. Once your Dapp is configured, click on the Export Config button. A JSON file gets downloaded. This file contains the necessary configuration settings for your Dapp.

Step 2: Set Up the SDK in your Application

  1. Install the KrypCore Web3 SDK package using your preferred package manager

  2. Import the SDK into your application

  3. Specify the path to the downloaded config file

  4. Initialize the SDK with the config file

Step 3: Use the SDK in your Application

Now that the SDK is set up, you can start using its functionalities to interact with the blockchain and build decentralized features in your application.

Example Code

// Import the KrypCore Web3 SDK
const krypcore_web3_sdk = require("krypcore-web3-sdk")

// Specify the path to the config file
const configFilePath = '../../config.json'

// Initialize the SDK with the config file
const Web3Engine = new krypcore_web3_sdk.Web3Engine(configFilePath)

Authenticating with Platform Gateway

Description

SDK Usage & Examples

Description

Create a new Dapp project
Export Config