@ground-x/embedded-wallet-web-sdk
v1.0.3
Published
Web SDK for the Klip Embedded Wallet
Downloads
6
Readme
Embedded Wallet Web SDK
The Embedded Wallet Web SDK, developed by GroundX, is a software development kit for integrating wallet functionalities into web applications.
Installation
Using npm:
npm install @ground-x/embedded-wallet-web-sdk
Using yarn:
yarn add @ground-x/embedded-wallet-web-sdk
Basic Usage
- Import the SDK
import { Klip } from '@ground-x/embedded-wallet-web-sdk'
- Initialize the SDK
const klip = new Klip({
appKey: 'testAppKey',
region: 'global',
environment: 'prod',
})
- Use the necessary SDK functions
try {
const loginResult = await klip.auth.login() // try to login
const walletAddress = loginResult.walletAddress // get the user's address
} catch (e) {
// Handle error
}
Support
If you encounter any issues or require assistance, please send email ( For Korean users / For Global users )
License
The Embedded Wallet Web SDK is licensed under the MIT License.