Skip to content

Getting Started

Installation

If using npm, you must first install the popcode-1155-sdk using the following command:

bash
npm install popcode-1155-sdk

Recommended version: v20.11.0

Import

Once installed, you can import the SDK into your project as follows:

To import everything:

typescript
import * as sdk from "popcode-1155-sdk";

To import specific classes/methods:

typescript
import { Popcode, SkcCms, Skucode } from "popcode-1155-sdk";

Terminologies

KMS (Key Management Service)

A service for managing cryptographic keys and providing secure access to them. It’s used for signing and managing keys in your SDK.


ABI (Application Binary Interface)

A specification for interfacing with smart contracts. It defines how data structures and functions are encoded and decoded, allowing interaction with smart contracts on the blockchain.


Salt

A random value used to add an additional layer of security, mainly used to enhance encryption processes.


Vault

A secure storage solution for sensitive data, such as private keys or secrets. It ensures the safe management and retrieval of cryptographic assets.


Transaction Receipt

A record of a transaction’s execution, including logs and status information, which can be used for verifying and decoding transaction results.


Log Decoding

The process of interpreting and translating blockchain logs into human-readable or usable formats, often used for understanding events and transactions.