Bitcoinj only supports Bitcoin.
On 02/27/2018 08:26 AM, Ajit Soman wrote: > Is it possible to create litecoin address and address using the same > code (with some modification) that is used to generate bitcoin address > and private key: > > | > finalNetworkParametersparams=TestNet3Params.get(); > ECKeyecKey =newECKey(); > StringprivateKey =ecKey.getPrivateKeyAsWiF(params); > Stringaddress =ecKey.toAddress(params).toString(); > System.out.println(privateKey+"---"+address); > | > > -- > You received this message because you are subscribed to the Google > Groups "bitcoinj" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
