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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@glurk-protocol/sdk

v0.1.3

Published

The identity protocol for Solana. Apps trade data. Users own everything.

Readme

@glurk-protocol/sdk

The identity protocol for the internet. Apps trade data. Users own everything. Built on Solana.

What is this?

Glurk lets any Solana app issue permanent, non-transferable, verifiable credentials to users. Think of it as Aadhaar for skills — one system that stores "this person knows X" and anyone can check it.

  • Non-transferable — credentials can't be sold or faked (Token-2022 NonTransferable extension)
  • Permanent — lives on Solana, not on anyone's server
  • Open — any registered issuer can write, any app can read
  • Composable — DeFi protocols, job platforms, DAOs can all verify credentials without trusting any API

Quick Start

Verify a credential

import { verifyCredential, KNOWN_ISSUERS } from '@glurk-protocol/sdk';

const cred = await verifyCredential(
  'https://api.devnet.solana.com',
  KNOWN_ISSUERS.STAQ,
  userWallet,
  'credit-score',
);

if (cred) {
  console.log(`${cred.tier} tier, score ${cred.score}/100`);
}

Get a user's full profile

import { getProfile } from '@glurk-protocol/sdk';

const { credentials, glurkScore, consents } = await getProfile(
  'https://api.devnet.solana.com',
  userWallet,
);
// glurkScore: 0-1000 reputation derived from all credentials
// credentials: every verified skill across all issuers

GlurkClient

import { GlurkClient, KNOWN_ISSUERS } from '@glurk-protocol/sdk';

const client = new GlurkClient('https://api.devnet.solana.com');

const cred = await client.verifyCredential(KNOWN_ISSUERS.STAQ, userWallet, 'stocks');
const score = await client.getScore(userWallet);
const issuer = await client.checkIssuer(someIssuerPubkey);

Use Cases

DeFi / Lending:

User has Gold-tier financial literacy credentials → offer 20% lower collateral requirement

Job Platforms:

User has verified coding + finance credentials → surface for fintech roles automatically

DAOs:

Only members with specific credentials can vote on treasury decisions

Education Platforms:

Issue your own credentials through the protocol. Your students carry them everywhere.

How Credentials Work

  1. Issuers register with the protocol (approved by protocol admin)
  2. Issuers write credentials to user wallets via the Anchor program
  3. Credentials are PDAs seeded by [issuer, user, slug] — deterministic and readable by anyone
  4. Any Solana program can derive the PDA and read the credential without any API call
PDA = findProgramAddress(["credential", issuer, user, "credit-score"], PROGRAM_ID)

If the account exists → credential is verified. Read the data for tier, score, and timestamp.

Protocol Adapters

Helpers for building third-party integrations on top of Glurk credentials.

calculateDynamicCollateral(baseRatio, glurkScore)

Maps a user's Glurk Score (0–1000) to a discounted collateral ratio for lending protocols. Discounts kick in above a 300-score threshold, scale linearly to a 35% max reduction at 1000, and are floored at 1.05× to prevent flash-loan liquidation exploits.

import { calculateDynamicCollateral } from '@glurk-protocol/sdk';

// Standard pool requires 150% collateral
const baseRatio = 1.5;

calculateDynamicCollateral(baseRatio, 0);    // 1.5  (no credentials → no discount)
calculateDynamicCollateral(baseRatio, 300);  // 1.5  (below threshold)
calculateDynamicCollateral(baseRatio, 600);  // 1.275
calculateDynamicCollateral(baseRatio, 1000); // 1.05 (max discount, hard floor)

Drop-in for Kamino-style undercollateralized vaults: read the user's Glurk Score once via getProfile, then pass it into your pool's collateralization math.

Become an Issuer

Want to issue credentials through the protocol? You need:

  1. A Solana wallet (your issuer identity)
  2. Approval from the protocol admin
  3. That's it — use the SDK to start issuing

Contact: staq.slayerblade.site

Protocol Details

| Component | Value | |-----------|-------| | Program | Glurk Protocol (Anchor) | | Network | Solana Devnet (mainnet coming) | | Token Standard | Token-2022 with NonTransferable + MetadataPointer | | Credential Storage | PDAs on the Anchor program | | First Issuer | Staq — financial literacy credentials for Indian Gen Z | | Live App | staq.slayerblade.site |

License

MIT