Skip to content

iov-one/certificate-parser

Repository files navigation

@iov/certificate-parser npm version

Allows to easily parse and use certificates supported by Starname blockchain.

Installation

yarn add @iov/certificate-parser

Usage

import { CertificateParser } from "certificate-parser";

// this throws on invalid certificate
const parsedCertificate = new CertificateParser("stringifiedJSONCertificate");
parsedCertificate.getStarnameInfo();

// Output
{
    starname: "*starname",
    address: "staraddress..."
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published