@kriptonio/sdk
v0.4.3
Published
Kriptonio JS SDK
Downloads
19
Readme
Kriptonio SDK
Javascript SDK for interacting with the Kriptonio Platform.
Supports browser, server and react-native.
Installation
npm install @kriptonio/sdk
Usage
import { ChainId, KriptonioSdk } from '@kriptonio/sdk';
const sdk = new KriptonioSdk({
accessToken: 'your-access-token',
});
const wallet = await sdk.wallet.generate({
chainId: ChainId.BaseSepolia,
type: 'kernel',
});
const hash = await wallet.sendTransaction({
to: wallet.address,
value: 0n,
});
Docs
API Reference
https://github.com/kriptonio/sdk/tree/main/packages/sdk/docs