liaas-js
v2.0.4
Published
official NPM package for LiaaS
Downloads
306
Maintainers
Readme
LiaaS Nodejs library (liaas-js)
Welcome to the LiaaS Nodejs library! This TypeScript/JavaScript library is designed to simplify Litecoin blockchain application development. Whether you're building a wallet manager, NFT marketplace, or tokenization platform, this library provides the tools you need to interact with the Litecoin blockchain efficiently.
Use cases for this library include:
a few potential use cases for liaas-js Litecoin blockchain development library:
NFT Marketplace: Create a marketplace for buying, selling, and trading NFTs on the Litecoin blockchain. liaas-js can facilitate the creation, management, and transfer of NFTs within the marketplace.
Tokenization Platform: Build a platform for creating and managing custom tokens on the Litecoin blockchain. Users can tokenize assets such as real estate, stocks, or digital collectibles.
Wallet Management: Develop a wallet application that allows users to manage their Litecoin and token holdings. liaas-js can provide functionalities for checking balances, viewing transaction history, and transferring funds securely.
Supply Chain Tracking: Implement a solution for tracking the provenance and authenticity of goods using the Litecoin blockchain. Each step in the supply chain can be recorded as a transaction on the blockchain.
Decentralized Applications (DApps): Enable the development of DApps on the Litecoin blockchain, ranging from simple games to complex financial applications. this library can provide the necessary tools for interacting with smart contracts and managing user assets.
Cross-Border Payments: Facilitate cross-border transactions using Litecoin and custom tokens. liaas-js can help streamline the payment process, reducing fees and transaction times compared to traditional methods.
Table of content
1. Features
- Blockchain Monitoring: Easily track activities on any Litecoin blockchain address.
- NFT Management: Manage and mint NFTs on the Litecoin blockchain.
- Custom Token Creation: Create custom tokens, such as USDT, on the Litecoin blockchain.
- Wallet Balances and Transactions: Query wallet balances and transaction history with ease.
- Carry out LTC transactions including transfer of tokens and NFTs, all on the Litecoin blockchain.
2. Installation
Via npm (nodejs)
liaas-js
is available via npm
. You can install using npm
# with npm
$ npm i liaas-js
3. usage
/**
* npm install @liaas-js
**/
const LiaaS = require("liaas-js");
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(nodeUrl_or_apiAccessKey, walletName);
To get your API key for basic usage use: basic plan.
For enterprie usage, get your url here: enterprise plan.
For more detailed usage instructions and API documentation, please refer to our full API documentation.
4. Parameters
| Parameter | Description |
|-----------|-------------|
| nodeUrl_or_apiAccessKey
| API access key (from pteri.org) or your organization node url gotten from our azure enterprise plan |
| walletName
| The name you want to call your wallet. |
5. License
MIT
6. Feedback and Contribution
Please open a thread for feedback, question. Feel free to create PR for contribution.
--