npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

certified-sdk

v1.1.0

Published

This React SDK aims to help React developers create certificate template, generate new certificates and make attestations with convenience.

Downloads

194

Readme

Certified-SDK

This React SDK aims to help React developers create certificate template, generate new certificates and make attestations with convenience.

To install the SDK, you may use either of the following commands:

  • npm install certified-sdk
  • yarn add certified-sdk

Please note that the stable version is v1.0.10, which is also the latest version.

Usage: import {   Certificate, createAttestation, createSignatureAttestation } from "certified-sdk";

The SDK offers the following usage instructions: - Certificate is the component for the certificate. - createAttestation is the function of creating the certificate with a PDF base URL. Call createAttestation when you want to create the certification and let the user sign it. The result would be as follows:

  {     "attestationId": "SPA_ttdldP4FDceNUqIeo_t_s",     "pdf": "https://sdk.thecertified.xyz/coa/SPA_ttdldP4FDceNUqIeo_t_s/" # You must add the edition number to this URL.   }

   URLs to view the attestation are as follows:    - SignScan: https://scan.sign.global/attestation/{attestationId} (view: https://scan.sign.global/attestation/SPA_ttdldP4FDceNUqIeo_t_s)    - PDF: https://sdk.thecertified.xyz/coa/{attestationId}/{edition} (view) (view: https://sdk.thecertified.xyz/coa/SPA_ttdldP4FDceNUqIeo_t_s/1)

- createSignatureAttestation is the function of proving the user's signature, returning a URL to put in "urls" in createAttestation params.

Please refer to the example code available at https://github.com/BuidlerHouse/certified-sdk-example/blob/main/src/components/CertificateForm.js. You need the user to sign the typed data while calling createSignatureAttestation or createAttestation

Both createAttestation and createSignatureAttestation use primaryWallet from dynamic context and will be updated later to support other wallet selectors.

We currently support the following domains for CORS: localhost:3000 and localhost:3001. Kindly inform us if you need to use other domains or local testing domains.