This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Description
1.i tried to generate random using litecore but it is generating invalid address and naot able to transfer litecoins
This is my code
var litecore = require('litecore-lib');
var explorers = require('litecore-explorers');
var insight = new explorers.Insight('testnet');
// var SenderPrivateKey = new litecore.PrivateKey('testnet');//"f5f6285f379080249da16eacf8dac4dd432f5c367bbe9476ccbb8526380ad1e5"
// var SenderAddress = privateKey.toAddress();//"mr1QRgBAshnYqLj1kk9TcnFumNo1ceApy6
mr1QRgBAshnYqLj1kk9TcnFumNo1ceApy6
and also tried to generate p2sh address but getting error invalid litecoin address