AgentStack
SKILL verified MIT Self-run

Skill 10 Identity Did

skill-vaquarkhan-web3-agent-skills-skill-10-identity-did · by vaquarkhan

Manages decentralized identity including DIDs, verifiable credentials, ENS names, ZK-KYC, and on-chain attestations. Use for identity verification, name resolution, or credential workflows.

No reviews yet
0 installs
1 views
0.0% view→install

Install

$ agentstack add skill-vaquarkhan-web3-agent-skills-skill-10-identity-did

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Skill 10 Identity Did? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Identity (DID)

When to Use

  • Creating or resolving Decentralized Identifiers (DIDs)
  • Issuing/verifying Verifiable Credentials (VCs)
  • Registering or resolving ENS names
  • Implementing ZK-KYC (prove eligibility without revealing PII)
  • Working with on-chain attestations (EAS, Verax)

Prerequisites

  • MCP: blockchain-rpc-server, compliance-screening-server
  • Skill-09 for KYC/regulatory context

Workflow

1. DID Methods

| Method | Format | Chain | |--------|--------|-------| | did:ethr | did:ethr:0x... | Ethereum | | did:pkh | did:pkh:eip155:1:0x... | Multi-chain | | did:ion | Sidetree on Bitcoin | Bitcoin L2 | | did:web | HTTPS-hosted | Off-chain |

Create DID document with verification methods (public keys) and service endpoints.

2. Verifiable Credentials

Issuer → signs VC → Holder stores → Verifier requests proof
  • Use W3C VC Data Model v2
  • Sign with EthereumEip712Signature2021 or Ed25519Signature2020
  • Verify: check signature, revocation status, schema compliance

3. ENS

  • Resolve: eth_resolver.resolve(name, data)
  • Register via ETH Registrar Controller
  • Set records: address, text (email, url, avatar), contenthash (IPFS)
  • Reverse resolution: set addr.reverse record

4. ZK-KYC

Prove attributes without revealing identity:

  1. User completes KYC with issuer off-chain
  2. Issuer provides signed credential or Semaphore identity
  3. User generates ZK proof of membership/eligibility
  4. Verifier checks proof on-chain (no PII exposed)

Protocols: Polygon ID, World ID, Semaphore, Sismo

5. On-Chain Attestations

Ethereum Attestation Service (EAS):

eas.attest(AttestationRequest({
  schema: schemaUID,
  data: AttestationRequestData({ recipient, expirationTime, revocable, refUID, data, value })
}));

Use for reputation, KYC status, guild membership, and compliance proofs.

Privacy Rules

  • Never store PII on-chain
  • Minimize credential disclosure (selective disclosure proofs)
  • Honor GDPR right-to-erasure for off-chain identity data

References

  • references/did-methods.md
  • references/eas-schemas.md

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.