Create Wallet

Created by Admin KL, Modified on Fri, 16 Feb at 10:04 PM by Admin KL

Create Wallet Using Kakr Omni Layer Services

Developers can utilize the Kakr LiaaS blockchain service to implement a complete Litecoin wallet system via our API or JavaScript SDK, without the need to navigate through unique API specifications.

Kakr Omni Layer Services API Specification

To create a wallet through our API, send a POST request to the following endpoint:


Create Wallet API Endpoint

A POST request to create a wallet on the Litecoin Blockchain using the Kakr Omni Layer Services.

API Endpoint

/api/Wallet/Litecoin/create-wallet

Request Parameters

ParameterTypeDescription
Content-TypeStringMust be application/json
AuthorizationStringBearer token for API authentication
wallet_nameStringName of the wallet to be created

Response Codes

CodeMessage
200: OKSuccessfully Wallet Created

JavaScript SDK Implementation

For SDK implementation, use the npm package to achieve the same functionality as with the API endpoint. The choice between API and SDK depends on your project requirements and preferences.

/** 
 * 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);

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);

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article