You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Schnorrkel.KeyPair was created by mistake using java. The similar code is as follows. Finally, the address is generated, but in the end I lost my key. Is there any way to help retrieve it?
#52
String prvKey = "*****";
ECKey ecKey = ECKey.fromPrivate( Hex.decodeHex(prvKey) );
Schnorrkel.KeyPair rootKey = new Schnorrkel.KeyPair( Hex.decodeHex( ecKey.getPublicKeyAsHex().substring(2 )), ecKey.getPrivKeyBytes() );
Address address = new Address(SS58Type.Network.LIVE, rootKey.getPublicKey())
Where ECKey comes from bitcoinj's lib
The text was updated successfully, but these errors were encountered: