Allows to easily parse and use certificates supported by Starname blockchain.
yarn add @iov/certificate-parser
import { CertificateParser } from "certificate-parser";
// this throws on invalid certificate
const parsedCertificate = new CertificateParser("stringifiedJSONCertificate");
parsedCertificate.getStarnameInfo();
// Output
{
starname: "*starname",
address: "staraddress..."
}