static void Main(string[] args) { var iconService = new IconSignService(); var keyPair = iconService.GenerateKeyPair(); Console.WriteLine($"PrivateKey: {keyPair.PrivateKey}"); Console.WriteLine($"Address(PublicAddress): {keyPair.Address}"); Console.ReadLine(); }
public void GenerateKeyPairTest() { IconSignService service = new IconSignService(); var keyPair = service.GenerateKeyPair(); Assert.NotNull(keyPair); Assert.NotNull(keyPair.PrivateKey); Assert.NotNull(keyPair.Address); }