Exemple #1
0
        public void EncodePrivateWifTest(string privateKey, string expected)
        {
            var bk = Hex.HexToBytes(privateKey);
            var pk = Base58.EncodeSig(bk);

            Console.WriteLine(pk);
            Assert.IsTrue(pk.Equals(expected));
        }