public BitcoinExtPubKey Derive(KeyPath keyPath) { if (keyPath == null) { throw new ArgumentNullException(nameof(keyPath)); } return(new BitcoinExtPubKey(ExtPubKey.Derive(keyPath), Network)); }
public ExtPubKey Derive(KeyPath derivation) { ExtPubKey result = this; foreach (var index in derivation.Indexes) { result = result.Derive(index); } return(result); }
public BitcoinExtPubKey Derive(uint index) { return(ExtPubKey.Derive(index).GetWif(Network)); }