Repository navigation
Wallet Management
This guide covers all wallet-related features in PoCX Wallet.
PoCX Wallet supports multiple wallets with automatic persistence. Wallets use BIP84 derivation paths for native SegWit addresses.
| Term | Description |
|---|---|
| Mnemonic | 12-word seed phrase that generates all keys |
| Passphrase | Optional extra word for additional security |
| HD Wallet | Hierarchical Deterministic - one seed generates unlimited addresses |
| BIP84 | Derivation path standard for native SegWit (P2WPKH) |
[Wallet] Wallet Management
├── Manage
│ ├── Create
│ │ ├── Random Address # Generate new wallet
│ │ └── Vanity Address # Generate with pattern
│ ├── Import
│ │ ├── To Node # Import existing wallet to Bitcoin node
│ │ └── From Mnemonic # Restore from seed phrase
│ └── Remove # Delete a wallet
├── Select # Switch active wallet
├── Info # Balance, addresses, blockchain info
├── Transaction # Send funds, PSBT operations
└── Settings # Auto-save, startup wallet, auto-import
Creates a new wallet with a randomly generated 12-word mnemonic.
- Navigate to
[Wallet] → Manage → Create → Random Address - Enter an optional passphrase (or leave empty)
- View your wallet details:
- Mnemonic phrase (12 words)
-
Mainnet address (
pocx1q...) -
Testnet address (
tpocx1q...) - WIF private keys (mainnet and testnet)
- Descriptors (for node import)
- Save wallet when prompted
- Enter a unique wallet name
▲ CRITICAL: Write down your mnemonic phrase and store it securely! This is the only way to recover your funds if you lose access to the wallet.
Generate a wallet with a custom pattern in the address.
- Navigate to
[Wallet] → Manage → Create → Vanity Address - Enter your desired pattern (e.g.,
pocxfor an address containing "pocx") - Choose mainnet or testnet
- Enter an optional passphrase
- Wait while the generator searches (shows attempt count)
- Save when found
Valid Characters: qpzry9x8gf2tvdw0s3jn54khce6mua7l
⚡ Tip: Shorter patterns are found faster. A 3-character pattern typically takes seconds, while 5+ characters can take hours.
Restore a wallet from an existing seed phrase.
- Navigate to
[Wallet] → Manage → Import → From Mnemonic - Enter your 12-word (or 24-word) mnemonic phrase
- Enter the passphrase if you used one originally
- View the restored wallet details
- Save and name the wallet
Import an existing wallet to the Bitcoin-PoCX node for balance checking and transactions.
- Navigate to
[Wallet] → Manage → Import → To Node - Select the wallet to import
- If the node isn't running, you'll be asked to start it
- The wallet creates a descriptor wallet on the node
- Your descriptor is imported automatically
Switch between multiple wallets:
- Navigate to
[Wallet] → Select - View all wallets with addresses
- Active wallet marked with green dot
● - Select a wallet to make it active
Query information about your active wallet via the Bitcoin node.
| Command | Description |
|---|---|
| Check Balance | Get wallet balance from node |
| Show Addresses | List all addresses with received amounts |
| List Unspent | Show unspent transaction outputs (UTXOs) |
| Get Wallet Info | Detailed wallet statistics |
| Get Blockchain Info | Current blockchain sync status |
| Transaction History | Last 10 transactions |
Note: These commands require the Bitcoin node to be running and the wallet imported.
Send funds and manage transactions via the node.
- Navigate to
[Wallet] → Transaction → Send Funds - Enter destination address
- Enter amount in BTC
- Confirm execution on node
- Transaction is broadcast
Create a Partially Signed Bitcoin Transaction for offline signing.
- Navigate to
[Wallet] → Transaction → Create PSBT - Enter destination address
- Enter amount
- PSBT is created and displayed
Sign a raw transaction with your wallet keys.
Send a signed transaction to the network.
View the details of a PSBT string.
Configure wallet behavior:
| Setting | Description | Default |
|---|---|---|
| Auto-Save Wallets | Automatically save new wallets | Off |
| Startup Wallet | Wallet to load on startup | None |
| Auto-Import to Node | Automatically import new wallets to node | Off |
Access via [Wallet] → Settings
- Navigate to
[Wallet] → Manage → Remove - Select wallet to remove
- Confirm deletion
- Optionally unload from Bitcoin node
▲ Warning: Ensure you have the mnemonic backed up before removing a wallet!
PoCX Wallet uses BIP84 derivation:
m/84'/coin'/account'/chain/index
| Component | Value |
|---|---|
| Purpose |
84' (BIP84 - native SegWit) |
| Coin Type |
0' (mainnet) or 1' (testnet) |
| Account |
0' (default) |
| Chain |
0 (external) or 1 (change) |
| Index |
0 (first address) |
Full mainnet path: m/84'/0'/0'/0/0
Full testnet path: m/84'/1'/0'/0/0
- Derive private key from mnemonic + derivation path
- Calculate public key (compressed, 33 bytes)
- Hash160:
RIPEMD160(SHA256(pubkey))→ 20 bytes - Encode as Bech32 with
pocxprefix and witness version 0
Wallets are imported to the node using descriptors:
wpkh(KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73sVHnoWn)#descriptor_checksum
Wallets are stored in wallet.json:
{
"version": "1.0",
"active_wallet": "main",
"wallets": [
{
"name": "main",
"mnemonic": "word1 word2 ... word12",
"passphrase": "",
"mainnet_address": "pocx1q...",
"testnet_address": "tpocx1q...",
"created": "2024-01-15T12:00:00Z",
"pattern": null
}
],
"settings": {
"default_wallet_path": "./wallet.json",
"auto_save": false,
"startup_wallet": null,
"auto_import_to_node": false
}
}▲ Security: This file contains your mnemonic phrases. Protect it accordingly!
PoCX Wallet is experimental software. Use at your own risk.
📖 Documentation • 🐛 Report Issue • 💻 Source Code