
Security News
/Research
Compromised Injective SDK npm Package Exfiltrates Wallet Keys and Mnemonics
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.
@kasplex/kiwi-web
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 the version of Node.js while it is 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 Rpc.setInstance(Wasm.NetworkType.Mainnet).connect(); // connect kaspa node for fetch information from the node if needed
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)
send $KAS:
import { Kaspa } from "@kasplex/kiwi";
const resp = await Kaspa.transferKas(privateKey, toAddress, 130000000n, 10000n)
KRC20:
import { Kaspa, Enum, Utils, KRC20 } from "@kasplex/kiwi";
const krc20data = Utils.createKrc20Data({
p: "krc-20",
op: Enum.OP.Mint,
tick: 'TCKFE',
})
let txid = await KRC20.mint(_privateKey, krc20data, 100000n)
console.log("Mint txid", txid)
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-web receives a total of 31 weekly downloads. As such, @kasplex/kiwi-web popularity was classified as not popular.
We found that @kasplex/kiwi-web 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.

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

Security News
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.