Skill 10 identity did
Skill vaquarkhan/web3-agent-skills/skills/skill-10-identity-did
Production-grade Agent Skills for Web3 AI agents: 15 workflows, 6 MCP servers, DeFi/NFT/compliance guardrails, and VS Code/JetBrains installers.
npx -y skills add vaquarkhan/web3-agent-skills --skill skill-10-identity-didAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Manages decentralized identity including DIDs, verifiable credentials, ENS names, ZK-KYC, and on-chain attestations. Use for identity verification, name resolution, or credential workflows.
SKILL.md
2.4 KB, as published. Nobody here has run it
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
EthereumEip712Signature2021orEd25519Signature2020 - 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.reverserecord
4. ZK-KYC
Prove attributes without revealing identity:
- User completes KYC with issuer off-chain
- Issuer provides signed credential or Semaphore identity
- User generates ZK proof of membership/eligibility
- 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.mdreferences/eas-schemas.md