Ejemplo n.º 1
0
		public PrivateKeyDetails(ECKey key, string label = null) {
			PrivateKey = key;
			Label = label;
		}
Ejemplo n.º 2
0
		public async Task ImportKeyAsync(ECKey key, string label, bool isPublic = true) {
			await ImportKeyAsync(new PrivateKeyDetails(key, label), isPublic);
		}
 public void Insert(int i, ECKey key)
 {
     Insert(i, new PrivateKeyDetails(key));
 }
Ejemplo n.º 4
0
		public async Task<PrivateKeyDetails> GenerateAddressAsync(string label = null, bool isPublic = true) {
			var key = new ECKey();
			var details = new PrivateKeyDetails(key, label);
			await ImportKeyAsync(details);
			return details;
		}
 public void Add(ECKey key, string label = null)
 {
     Add(new PrivateKeyDetails(key, label));
 }