
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
@kasplex/kiwi
Advanced tools
A powered solution for effortless Kaspa wallet integration, delivering secure and streamlined blockchain operations.
**Kasplex Wallet SDK - Kasplex in Wallet Integration (Kiwi) is a powerful and easy-to-use SDK designed to simplify the management of Kaspa wallet assets. It provides seamless integration with Kaspa nodes, KRC20 tokens, and essential wallet functionalities, enabling developers to build robust Kaspa-based applications effortlessly..
Node.js Version Requirement: This SDK requires Node.js version 20.13.1 or higher. You can check your Node.js version by running:
To integrate Kasplex Wallet SDK - Kiwi into your project, follow these steps:
Install the SDK:
npm install @kasplex/kiwi
Set up networkType and init rpc client for use:
import { Kiwi, Rpc, Wasm } from "@kasplex/kiwi";
await Kiwi.setNetwork(Wasm.NetworkType.Mainnet) // NetworkType.Testnet for test net
await Rpc.setInstance(Wasm.NetworkType.Mainnet).connect();
Generate a new wallet:
import { Mnemonic, Wallet } from "@kasplex/kiwi";
const mnemonic = Mnemonic.random(12);
console.log("Generated Mnemonic:", mnemonic);
let wallet = Wallet.fromMnemonic(mnemonic)
Connect to the Kaspa network:
import { Kaspa } from "@kasplex/kiwi";
const resp = await Kaspa.transferKas(privateKey, toAddress, 130000000n, 10000n)
For more detailed usage examples, check out our Examples Directory .
We welcome contributions from the community! Feel free to submit issues, feature requests, or pull requests to improve the Kasplex Wallet SDK - Kiwi.
This project is licensed under the MIT License.
🚀 Start building with Kasplex Wallet SDK - Kiwi today and unlock the full potential of the Kaspa ecosystem!
FAQs
A powered solution for effortless Kaspa wallet integration, delivering secure and streamlined blockchain operations.
The npm package @kasplex/kiwi receives a total of 15 weekly downloads. As such, @kasplex/kiwi popularity was classified as not popular.
We found that @kasplex/kiwi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.