Device & Accrouts Info
Last updated
mDcentmanager.setDeviceLavel("newLabel");List<Account> accountList = mDcentmanager.getAccountInfo() String labelOfAccount = "bitcoin_1" ; // account label
String balanceOfAccount = "0 BTC" ; // balance of account. This string will be displayed on device.
String keyPath = "m/44'/0'/0'/0/0/"; // key path of the account
/*
Bitcoin account will be created.
if bitcoin account is already created, the bitcoin account label and balance will be just modified.
*/
SyncAccount syncAccount = new SyncAccount(CoinType.BITCOIN.getCoinGroup(),
CoinType.BITCOIN.name(),
labelOfAccount,
balanceOfAccount,
keyPath);
mDcentmanager.syncAccount(syncAccount);