Exemplo n.º 1
0
        public Address CreateAddress()
        {
            var json = JObject.Parse(addressManager.CreateKeypairs());

            var address    = json["result"][0]["address"].ToString();
            var privateKey = json["result"][0]["privkey"].ToString();

            addressManager.ImportAddress(address);
            //addressManager.ImportPrivateKey(privateKey);

            return(new Address {
                addr = address, privateKey = privateKey
            });
        }