Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

QBit Wallet

License: MIT Chrome Web Store Coin Type

QBit Wallet is a secure, lightweight, and non-custodial browser extension wallet designed for the QuantaBit Network (QBit Chain). It empowers users to manage accounts, securely store keys, send and receive QBT tokens, and interact with decentralized applications built on QuantaBit.


🌟 Key Features

  • 100% Non-Custodial: Your keys, your crypto. Seed phrases and private keys never leave your device.
  • SLIP-0044 / BIP-0044 Compliant: Standardized key derivation path for QuantaBit Network (m/44'/766'/account'/0').
  • Ed25519 Cryptography: High-performance, quantum-ready Ed25519 elliptic curve signature algorithms.
  • Bank-Grade Local Encryption: Private credentials are encrypted in local storage using the native Web Crypto API (PBKDF2 + AES-GCM-256).
  • Zero Telemetry: No tracking, no analytical scripts, no remote key transmission, and no data harvesting.
  • Auto-Lock Security: Automatically locks the wallet after 15 minutes of inactivity to safeguard against physical snooping.
  • Multi-Network Ready: Supports seamless switching between QBit Mainnet, QBit Testnet, and QBit Devnet.

📐 Key Derivation & SLIP-0044 Specification

QBit Wallet strictly adheres to industry standards for hierarchical deterministic (HD) wallets (BIP-0039, BIP-0044, and SLIP-0010):

Parameter Value Description
Coin Type 766 Registered SLIP-0044 Coin Type for QuantaBit (QBT)
Derivation Path m/44'/766'/account'/0' Standard BIP-44 account derivation path
Default Primary Path m/44'/766'/0'/0' Default primary account key derivation path
Signature Scheme Ed25519 Ed25519 digital signature algorithm
Address Encoding Base58 32-byte Ed25519 public key in Base58 format
Native Token QBT 9 decimals (1 QBT = 1,000,000,000 lamports)

📦 Project Structure

.
├── manifest.json       # Chrome Extension Manifest V3 configuration
├── popup.html          # Clean & responsive wallet popup UI
├── popup.js            # UI interactions, state management, and wallet presentation
├── background.js       # Background Service Worker: Key derivation, signing & RPC communication
├── config.js           # Network endpoints, Genesis hashes, Coin Type 766 & Constants
├── solanaWeb3.js       # Pre-bundled runtime for RPC & transaction serialization
├── lib_bundled.js      # Bundled cryptographic utilities (bip39, noble-ed25519, tweetnacl)
├── wordlist.js         # BIP-39 English mnemonic dictionary
├── wordlist.txt        # Plaintext wordlist for verification
├── package.json        # Project metadata and build scripts
├── icons/              # Extension icons (16x16, 32x32, 48x48, 128x128)
└── tests/              # Verification & crypto test suites

🚀 Quick Start (Development & Local Build)

Prerequisites

  • Node.js (version 18.0 or later)
  • Google Chrome, Chromium, Brave, or any Chromium-based browser supporting Manifest V3.

1. Clone & Install Dependencies

git clone https://github.com/QBitOpen/QBit-Wallet.git
cd QBit-Wallet
npm install

2. Build Cryptographic Dependencies (Optional)

The cryptographic packages are already bundled for immediate execution (lib_bundled.js). To re-bundle dependencies from scratch:

npm run build

3. Run Tests

Verify Ed25519 signature generation and RPC communication:

npm test

4. Load into Chrome

  1. Open your browser and navigate to chrome://extensions/.
  2. Enable Developer mode in the upper right corner.
  3. Click Load unpacked in the top left corner.
  4. Select the QBit-Wallet directory.
  5. The QBit Wallet icon will appear in your browser toolbar!

🌐 Official Resources


🔒 Security & Bug Reports

If you discover any security issues, please do not file a public issue. Contact the QuantaBit Core Team directly at security@qbitchain.io or open a private vulnerability report on GitHub.


📄 License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages