Glurk Issuer · Active

GitHub Reputation

pda · 3c5SPnew…56pLA48k
trust 50

Credentials

0

Unique Users

0

Active Days

43

First Mint

Issued credentials · newest first

GitHub Reputationhasn't issued any credentials yet.

Issuers write credentials by signing a register_credential transaction with the SDK or directly via Anchor.

Credential catalog

No credentials defined yet.

Are you the owner of this issuer? Connect Phantom to manage the catalog.

No catalog yet.

Issue a credential

Connect this issuer's wallet to write a credential to any user.

Or do it programmatically (SDK)

import { Program, AnchorProvider, Wallet } from '@coral-xyz/anchor';
import { Connection, PublicKey } from '@solana/web3.js';

// Sign as the issuer authority — same wallet you registered with
await program.methods
  .registerCredential('module-slug', 'gold', 90, mintPubkey)
  .accounts({
    issuerAuthority: issuerWallet.publicKey,
    user: targetUser,
    issuerAccount: issuerPda,
    credentialAccount: credentialPda,
    systemProgram: SystemProgram.programId,
  })
  .rpc();

The credential PDA is deterministic: ["credential", issuerAuthority, user, slug]. Same wallet + same slug + same user = idempotent. Re-issuing the same credential to the same user fails — by design.