Skip to content

Humanship/sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Humanship ID SDK

A lightweight embeddable JavaScript widget that initiates a Proof of Personhood / Age Verification flow using the Humanship platform.

Installation

npm install @humanship-id/sdk

Usage

import { ProofRequest } from "@humanship-id/sdk";

ProofRequest.create({
  proofConfig: { //Type of request to generate
    type: "proof_of_person",
    payload: {},
  },
  clientId: "aAbBcCdDeEfFgGhHiIjJkKlLmNoO", //request at Humanship
  callbackUrl: "https://domain.com/your/callback/url", //register at Humanship
  width: "250px", //optional
  height: "250px", //optional
  color: "#FFFFFF", //optional
  background: "#000000" //optinoal
});

GUI Wizard

sdk

API Key

Humanship is on closed beta for builders, reach out on @humanship_id to enable an API Key for you.

About

Humanship ID's browser SDK for requesting proof requests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published