private Key GetWalletPrivateKeyForServer()
        {
            IWalletManager wm = this.node.FullNode.NodeService <IWalletManager>();

            Wallet    wallet             = wm.LoadWallet(Password, WalletName);
            HdAddress hdAddress          = wallet.GetAllAddresses().Last();
            ISecret   extendedPrivateKey = wallet.GetExtendedPrivateKeyForAddress(Password, hdAddress);

            return(extendedPrivateKey.PrivateKey);
        }