public CryptoKeyPair GenerateKeyPairFromSeed()
        {
            var hdGenerator = new DigibyteHDGenerator(_network, "Thai");
            var newkeyPair  = hdGenerator.KeyPair(0);

            newkeyPair.Seed = hdGenerator.Mnemonic.ToString();
            return(newkeyPair);
        }
 public CryptoKeyPair GenerateKeyPairFromSeed(string seed)
 {
     try
     {
         var hdGenerator = new DigibyteHDGenerator(_network, "Thai", seed);
         var newkeyPair  = hdGenerator.KeyPair(0);
         newkeyPair.Seed = hdGenerator.Mnemonic.ToString();
         return(newkeyPair);
     }
     catch (System.Exception)
     {
         return(null);
     }
 }