示例#1
0
    /// <summary>
    /// Sends a message to the UserWalletManager to create a wallet with the InputField text as the mnemonic phrase.
    /// </summary>
    public override void LoadWallet()
    {
        checkingWallet = true;

        if (CheckCreatedMnemonic())
        {
            OnWalletLoading?.Invoke();
            userWalletManager.CreateWallet();
        }
        else
        {
            checkingWallet = false;
        }
    }
 /// <summary>
 /// Starts to load the wallet.
 /// </summary>
 public override void LoadWallet()
 {
     OnWalletLoading?.Invoke();
     userWalletManager.CreateWallet();
 }