Full-node GUI wallet for DragonX cryptocurrency. Built with Dear ImGui, SDL3, and OpenGL3/DX11. Features: - Send/receive shielded and transparent transactions - Autoshield with merged transaction display - Built-in CPU mining (xmrig) - Peer management and network monitoring - Wallet encryption with PIN lock - QR code generation for receive addresses - Transaction history with pagination - Console for direct RPC commands - Cross-platform (Linux, Windows)
37 lines
669 B
C++
37 lines
669 B
C++
// DragonX Wallet - ImGui Edition
|
|
// Copyright 2024-2026 The Hush Developers
|
|
// Released under the GPLv3
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace dragonx {
|
|
|
|
class App;
|
|
|
|
namespace ui {
|
|
|
|
/**
|
|
* @brief Dialog for importing private keys
|
|
*
|
|
* Supports importing:
|
|
* - Z-address private keys (z_importkey)
|
|
* - T-address private keys (importprivkey)
|
|
* - Batch import (multiple keys, one per line)
|
|
*/
|
|
class ImportKeyDialog {
|
|
public:
|
|
// Show the dialog
|
|
static void show();
|
|
|
|
// Render the dialog (call each frame)
|
|
static void render(App* app);
|
|
|
|
// Check if dialog is open
|
|
static bool isOpen();
|
|
};
|
|
|
|
} // namespace ui
|
|
} // namespace dragonx
|