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

invalid litecoin address #11

@sukeerthimogallapalli

Description

@sukeerthimogallapalli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions