@passly/passly-sdk
v0.1.10
Published
Official SDK for Passly identity protocol - social identity verification for Web3
Maintainers
Readme
Passly SDK
Official JavaScript SDK for the Passly identity protocol - a social identity layer that helps verify user identities and works as an anti-sybil tool.
Installation
npm install @passly/passly-sdkQuick Start
import PasslySDK from '@passly/passly-sdk';
// Initialize the SDK
const passly = new PasslySDK();
// Connect to the contract
await passly.connect();
// Check if a user has a passport
const hasPassport = await passly.hasPassport('0x1234...');
// Get complete passport data
const passport = await passly.getPassport('0x1234...');
console.log(passport);Core Features
- ✅ Identity Verification: Check if users have verified social accounts
- ✅ Anti-Sybil Protection: Verify unique identity across platforms
- ✅ Multiple Platforms: Twitter, Discord, GitHub, support
- ✅ Verification Strength: Calculate identity confidence scores
- ✅ Account Age: Track how long identities have been verified
