@ground-x/embedded-wallet-rn-sdk
v1.0.3
Published
React Native SDK for the Klip Embedded Wallet
Downloads
7
Readme
Embedded Wallet React Native SDK
The Embedded Wallet RN(React Native) SDK, developed by GroundX, is a software development kit for integrating wallet functionalities into mobile applications.
Installation
Using npm:
npm install @ground-x/embedded-wallet-rn-sdk
Using yarn:
yarn add @ground-x/embedded-wallet-rn-sdk
Basic Usage
- Import the SDK
import { KlipProvider } from '@ground-x/embedded-wallet-rn-sdk'
- Initialize the SDK
<KlipProvider params={{ appKey: 'testAppKey', region: 'global', environment: 'prod' }}>
<Children />
...
</KlipProvider>
- Use the necessary SDK functions
import { useKlip } from '@ground-x/embedded-wallet-rn-sdk'
...
const { klip } = useKlip()
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 RN SDK is licensed under the MIT License.