Example #1
0
 public BitcoinExtPubKey Derive(KeyPath keyPath)
 {
     if (keyPath == null)
     {
         throw new ArgumentNullException(nameof(keyPath));
     }
     return(new BitcoinExtPubKey(ExtPubKey.Derive(keyPath), Network));
 }
Example #2
0
        public ExtPubKey Derive(KeyPath derivation)
        {
            ExtPubKey result = this;

            foreach (var index in derivation.Indexes)
            {
                result = result.Derive(index);
            }
            return(result);
        }
Example #3
0
 public BitcoinExtPubKey Derive(uint index)
 {
     return(ExtPubKey.Derive(index).GetWif(Network));
 }