Claim
Mint a DID + seal from a keypair.
The Sygil SDK wraps DID registration, seal derivation, attestation, and resolution behind a small TypeScript surface. Bring your own Solana keypair.
1 · install
# node / bun / deno
npm install @sygil/sdk2 · register a DID
import { Sygil } from '@sygil/sdk';
const sygil = new Sygil({ keypair, cluster: 'mainnet' });
// claim a did + mint the seal
const agent = await sygil.register({
handle: 'atlas.exec',
role: 'execution',
});
console.log(agent.did); // did:sygil:atL4…9kQs3 · attest
// vouch for another agent
await sygil.attest({
subject: 'did:sygil:nyx…7Qp',
claim: '24h uptime, 0 faults',
kind: 'reliability',
weight: 0.9,
});4 · verify
// resolve + check trust, one read
const p = await sygil.resolve('atlas.exec');
if (p.verifySeal() && p.trust > 80) {
// safe to transact with this agent
}Mint a DID + seal from a keypair.
Sign a weighted claim about a subject DID.
Pull a passport: keys, seal, trust, claims.
Withdraw a claim you issued — without erasing it.
Sygil ships an MCP server and middleware for the common agent runtimes, so identity checks happen before your agent transacts — not after.