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)
39 lines
896 B
C++
39 lines
896 B
C++
// DragonX Wallet - ImGui Edition
|
|
// Copyright 2024-2026 The Hush Developers
|
|
// Released under the GPLv3
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace dragonx {
|
|
namespace data {
|
|
|
|
/**
|
|
* @brief A single trading pair on an exchange (e.g. DRGX/BTC)
|
|
*/
|
|
struct ExchangePair {
|
|
std::string base; ///< e.g. "DRGX"
|
|
std::string quote; ///< e.g. "BTC"
|
|
std::string displayName; ///< e.g. "DRGX/BTC"
|
|
std::string tradeUrl; ///< Link to the exchange pair page
|
|
};
|
|
|
|
/**
|
|
* @brief Metadata for a supported exchange
|
|
*/
|
|
struct ExchangeInfo {
|
|
std::string name; ///< e.g. "TradeOgre"
|
|
std::string baseUrl; ///< e.g. "https://tradeogre.com"
|
|
std::vector<ExchangePair> pairs;
|
|
};
|
|
|
|
/**
|
|
* @brief Returns the static registry of supported exchanges + pairs
|
|
*/
|
|
const std::vector<ExchangeInfo>& getExchangeRegistry();
|
|
|
|
} // namespace data
|
|
} // namespace dragonx
|