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
Parameter | Type | Description |
---|---|---|
Content-Type | String | Must be application/json |
Authorization | String | Bearer token for API authentication |
wallet_name | String | Name of the wallet to be created |
Response Codes
Code | Message |
---|---|
200: OK | Successfully 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
Feedback sent
We appreciate your effort and will try to fix the article