private (byte[] PublicKey, byte[] PrivateKey) GetKeyPairBytes(int index) { var privateKey = DerivePathByIndex(index); var publicKey = Bip32.GetPublicKey(privateKey, false); return(publicKey, privateKey); }
private byte[] TestGetPublicKey(byte[] privateKey) { BIP32 bip32 = new BIP32(); var publicKey = bip32.GetPublicKey(privateKey); return(publicKey); }