mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
CW-532-DFX-buy-provider (#1209)
* dfx buy provider ui * fix signing flow * fixed provider determination based on wallet type and app settings * update localization files * minor fix * Fix BTC, LTC und BCH signMessages * Add signMessage to monero * open dfx in webview * Update dfx_buy_provider.dart * Revert merge conflict * Update bitcoin_flutter ref --------- Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
This commit is contained in:
parent
d370c754c5
commit
2138c35e38
50 changed files with 456 additions and 109 deletions
|
@ -926,6 +926,8 @@ extern "C"
|
|||
return m_wallet->trustedDaemon();
|
||||
}
|
||||
|
||||
// Coin Control //
|
||||
|
||||
CoinsInfoRow* coin(int index)
|
||||
{
|
||||
if (index >= 0 && index < m_coins_info.size()) {
|
||||
|
@ -1020,6 +1022,13 @@ extern "C"
|
|||
m_coins->thaw(index);
|
||||
}
|
||||
|
||||
// Sign Messages //
|
||||
|
||||
char *sign_message(char *message, char *address = "")
|
||||
{
|
||||
return strdup(get_current_wallet()->signMessage(std::string(message), std::string(address)).c_str());
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue