Search in sources :

Example 1 with MessageNewAddressRequest

use of run.wallet.iota.api.requests.MessageNewAddressRequest in project run-wallet-android by runplay.

the class AppService method generateMessageNewAddress.

public static void generateMessageNewAddress(Context context) {
    if (Validator.isValidCaller() && MsgStore.getSeed() != null) {
        TaskManager rt = new TaskManager(SERVICE);
        MessageNewAddressRequest gtr = new MessageNewAddressRequest(MsgStore.getSeed());
        runTask(rt, gtr);
    }
}
Also used : TaskManager(run.wallet.iota.api.TaskManager) MessageNewAddressRequest(run.wallet.iota.api.requests.MessageNewAddressRequest)

Aggregations

TaskManager (run.wallet.iota.api.TaskManager)1 MessageNewAddressRequest (run.wallet.iota.api.requests.MessageNewAddressRequest)1