🔐 ZK Wallet System

Isolated Zero-Knowledge Wallet for Base44 Integration

🆕 Create New Wallet

Generate a new ZK wallet with a secure seed phrase

📥 Import Wallet

Restore your wallet using an existing seed phrase

💰 Check Balance

View the balance of any Kaspa address

✅ Your ZK Wallet

Wallet Address
-

📊 Transaction History

🔌 ZK Wallet API Endpoints

These endpoints are completely isolated from the main wallet system. All ZK wallet endpoints use the /zk/ prefix for complete separation.

For Base44 Integration:

  • Create Wallet:
    POST /zk/wallet/create
    Body: { "wordCount": 24 }
    Returns: mnemonic, address, wordCount
  • Import Wallet:
    POST /zk/wallet/import
    Body: { "mnemonic": "your seed phrase here" }
    Returns: address, wordCount (no mnemonic returned)
  • Check Balance:
    POST /zk/wallet/balance
    Body: { "address": "kaspa:..." }
    Returns: balance (sompi, kas, usd), utxoCount
  • Get UTXO History:
    POST /zk/wallet/utxo-history
    Body: { "address": "kaspa:...", "limit": 50 }
    Returns: balance, history, transactions

Standard Wallet Endpoints (Current System):

  • POST /wallet/create - Standard wallet creation
  • POST /wallet/restore - Standard wallet import
  • POST /api/utxo-history - Standard UTXO history
  • GET /balance/:address - Standard balance check
Note: The ZK wallet system is completely isolated. Base44 can use either the ZK endpoints (/zk/) or standard endpoints without any conflicts.