mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-26 16:35:18 -04:00
support getXmrSeed()
This commit is contained in:
parent
0e30603d15
commit
f4120b869d
4 changed files with 33 additions and 0 deletions
|
@ -268,6 +268,10 @@ public class CoreApi {
|
|||
public BalancesInfo getBalances(String currencyCode) {
|
||||
return walletsService.getBalances(currencyCode);
|
||||
}
|
||||
|
||||
public String getXmrSeed() {
|
||||
return walletsService.getXmrSeed();
|
||||
}
|
||||
|
||||
public String getNewDepositAddress() {
|
||||
return walletsService.getNewDepositAddress();
|
||||
|
|
|
@ -160,6 +160,10 @@ class CoreWalletsService {
|
|||
return new BalancesInfo(getBtcBalances(), getXmrBalances());
|
||||
}
|
||||
}
|
||||
|
||||
String getXmrSeed() {
|
||||
return xmrWalletService.getWallet().getMnemonic();
|
||||
}
|
||||
|
||||
String getNewDepositAddress() {
|
||||
accountService.checkAccountOpen();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue