multichain-secure-wallet
v0.1.1
Published
Zero-dependency multi-chain wallet generator (BIP-39/32/44) for Node 18+
Readme
multichain-secure-wallet
A zero-dependency TypeScript library that generates multi-chain wallets using BIP-39 / BIP-32 / BIP-44 standards.
Works in Node.js ≥18, supports both TypeScript and JavaScript projects.
Developed by Onur Nizam.
✨ Features
- 🔑 Mnemonic generation (BIP-39, 12–24 words, English wordlist included)
- 🔒 Seed derivation with PBKDF2-HMAC-SHA512
- 🌐 BIP-32 / BIP-44 derivation
- 🪙 Multi-chain support:
- Bitcoin (BTC)
- Ethereum (ETH)
- Litecoin (LTC)
- Dogecoin (DOGE)
- Binance Smart Chain (BSC)
- Polygon (MATIC)
- 📦 Works in both TypeScript and JavaScript
- 🚫 Zero runtime dependencies
📦 Installation
npm install multichain-secure-wallet
🚀 Usage
JavaScript
const { generateWallet } = require('multichain-secure-wallet');
(async () => {
const eth = await generateWallet({ language: 'english', blockchain: 'eth', strength: 128 });
console.log(eth.address, eth.mnemonic, eth.privateKeyHex);
})();
TypeScript
import { generateWallet } from 'multichain-secure-wallet';
(async () => {
const btc = await generateWallet({ language: 'english', blockchain: 'btc' });
console.log(btc.address, btc.mnemonic, btc.privateKeyHex);
})();
Example Output
{
"mnemonic": "abandon ability able about above absent absorb abstract absurd abuse access accident",
"seedHex": "5eb00bbddcf069084889a8ab9155568165f5c453ccb85e70811aaed6f6da5fc1",
"path": "m/44'/60'/0'/0/0",
"coinType": 60,
"privateKeyHex": "4c0883a69102937d6231471b5dbb6204fe512961708279cd27a3c6f6c7e0d85d",
"publicKeyHex": "04a34f3c...f23bc7",
"address": "0x1234abcd5678ef9012345678abcdef9012345678"
}🧩 Roadmap
Done - BTC / ETH / LTC / DOGE / BSC / MATIC support
Coming soon - Bech32 (SegWit, Taproot)
Coming soon - Cosmos (ATOM), XRP, Tezos (XTZ)
Coming soon - Solana (SOL), Polkadot (DOT), Cardano (ADA)
🛡️ Security
Uses Node.js crypto module only (CSPRNG, HMAC, PBKDF2)
No telemetry, no logs, no external dependencies.
Always keep your mnemonic and private keys secure.
