@spruceid/sprucekit
v0.1.0
Published
An identity solution that enables SSI to JS/TS apps.
Downloads
1
Keywords
Readme
SpruceKit Client SDK
Quick Start
You can add SpruceKit to your app using your favorite package manager.
yarn add @spruceid/sprucekit
# or
npm install @spruceid/sprucekit
# or
pnpm add @spruceid/sprucekit
and then you can use it in your app.
import { SpruceKit } from "@spruceid/sprucekit";
const buttonHandler = async () => {
const sk = new SpruceKit();
const session = await sk.signIn();
const address = sk.address();
};
Documentation
For full documentation, see the SpruceKit Docs