Create Wallet

You can use the API endpoint implementation or the JavaScript SDK

Kakr Omni Layer Services API Spec Compatibility

The Kakr LiaaS blockchain service is a standardized specification for developers building on top of Kakr LiaaS that allows an application to perform an entire Litecoin wallet system's actions without needing to learn that pinning service's unique API postman.

Create Wallet

POST /api/Wallet/createwallet

A post request to create a wallet on the Litecoin Blockchain

Headers

NameTypeDescription

Content-Type

String

application/json

Authorization*

Bearer <your api key>

Attach you API key here

Usev2*

string

Value should be true or yes

Request Body

NameTypeDescription

wallet_name*

String

type the name of the wallet you want to create

Kakr LiaaS users looking to utilize the Litecoin Blockchain Services API can do so from our dedicated API endpoint base URL:

https://kakromnilayer.io

Javascript SDK Implementation

You can use the npm package with full type-safety, this approaches provide the same level of end functionality with the API endpoint, so which one you choose will be based on your preference and what works best for your project.

Install Liaas-lib
/** 
 * npm install @liaas-lib
 **/
 
const LiaaS = require("liaas-lib");

const liaasSdk = new LiaaS();
//Create a wallet on the Litecoin blockchain
//pass your API key and wallet name to be created
const response = await liaasSdk.createWallet(apiAccessKey, walletName);

Once you've included the script or package, you're ready to initialize the Web SDK and start integrating with our suite of Litecoin blockchain solutions.

Create wallet

//Create a wallet on the Litecoin blockchain
//pass your API key and wallet name to be created
const response = await liaasSdk.createWallet(apiAccessKey, walletName);

Last updated