Example #1
0
        public static void Main(string[] args)
        {
            Console.Title = "[TronSociety] - Converse Server";

            try
            {
                var encryptedPrivateKey = File.ReadAllText("propertyAddress");
                if (encryptedPrivateKey != "")
                {
                    Console.Write("Enter the Property-Address Password: "******"Please configure a Property-Address!");
                }
            }
            catch (Exception e)
            {
                Utils.ConsoleHelper.Error("Could not setup the Property-Address.");
                Utils.ConsoleHelper.Info("Make sure to create a 'propertyAddress' file with an AES-Encrypted private key.");
                Console.WriteLine(e.Message);
                Console.WriteLine(e.StackTrace);
            }

            Console.WriteLine("Press enter to exit...");
            Console.ReadLine();
        }