jared1106 Posted on Aug 13, 2023 • Edited on Nov 19, 2023 How to generates Tron private key and address offline #tron #donetcore NuGet Import dependency libraries PM> Install-Package Tron.Wallet Enter fullscreen mode Exit fullscreen mode Generate private key and addresse randomly using Tron.Wallet; namespace ConsoleApp1 { internal class Program { static async Task Main(string[] args) { var tronECKey = TronECKey.GenerateKey(TronNetwork.MainNet); var privateKey = tronECKey.GetPrivateKey(); //Private key var address = tronECKey.GetPublicAddress(); //Address Console.WriteLine($"{privateKey}\t{address}"); Console.Readkey(); } } } Enter fullscreen mode Exit fullscreen mode Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)