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:

 final NetworkParameters params = TestNet3Params.get();
 ECKey ecKey = new ECKey();
 String privateKey = ecKey.getPrivateKeyAsWiF(params);
 String address = 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to