SDK Integration

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. Create a new Dapp project 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

Last updated