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
Please add support for P2SH and bech32 address types for Litecoin. I wish I had the knowledge to do so. Maybe you can use this.
P2SH:
val key = ECKey.fromPrivate(BigInteger("12"))
val redeemScript: Script = ScriptBuilder.createP2WPKHOutputScript(key)
val script = ScriptBuilder.createP2SHOutputScript(redeemScript)
val scriptHash = ScriptPattern.extractHashFromP2SH(script)
LegacyAddress.fromScriptHash(params, scriptHash).toString()
Please add support for P2SH and bech32 address types for Litecoin. I wish I had the knowledge to do so. Maybe you can use this.
P2SH:
bech32:
SegwitAddress.fromKey(params, key).toString()
All address types:
The text was updated successfully, but these errors were encountered: