[DIS] Vellum: Reputation Extension on did:ckb

M2 Payment

1,750 /0.0009 = 1,944,445 CKB

https://explorer.nervos.org/transaction/0x9895440207d47230b87fe7861fd747ef017a75adbc26aa098f0e037f87366833

2 Likes

good jobs

2 Likes

Question for anyone thinking about reputation on CKB, since CrowdCell is about to start issuing crowdcell.campaign-funded.v1 claims through Vellum. Right now a funded-campaign badge is easy to fake: create a campaign, back it from your own wallet (or from as many fresh wallets as you like), hit the goal, get the money back on payout, and you’ve got the badge for a few tx fees. Something like “at least one backer who isn’t the creator” doesn’t fix it, since new wallets are free.

One idea is for the claim to carry the facts instead of a yes/no, and let readers and apps decide what they’re worth: number of distinct backer wallets, total raised, and how old the backer wallets were when they pledged. 40 backers with year-old wallets reads very differently from 5 wallets made the same day.

How would you game that, and what would you add or drop? I’m holding off on turning claims on until this is sorted. @truthixify curious what you think too, especially if Vellum already has a way to handle claims that carry evidence like this.

1 Like

Good point @Ayoub_Lesfer

The current v1 claim only proves that a campaign reached its goal and finalized. It does not award reputation points and total pledged is already included.

Wallet count and age can still be gamed but we can add distinct backer count, creator-funded amount and funding concentration in v2 so consumers have better context.

Hi @truthixify , I’m thinking of integrating Vellum into Rivet.

Developers could link their did:ckb and display their verified claims alongside their Rivet passport.

Does your current SDK/API support this, and would you be open to a small Testnet integration?

2 Likes

Yes! Let’s do this.

Send me a DM on telegram so we can discuss the details.

2 Likes

Makes sense, thanks. Since v1 only says the campaign hit its goal and finalized, with the total, I’m fine turning it on as is and leaving the judgement to whoever reads the claim. Our indexer already rebuilds backers from the receipt history, so distinct backer count and how much came from the creator’s own wallet would be easy for us to fill in once v2 is there. I’ll set up the issuer DID in the next few days and ping you when claims are on.

2 Likes

Vellum Milestone 3 delivery report and grant wrap-up

Implementation for Vellum’s third and final grant milestone is complete and ready for community review.

M3 demonstrates both sides of the reputation primitive delivered earlier. Applications can evaluate exact issuer-and-schema policies through the Vellum SDK, while the live governance demo uses that pattern for eligibility and bounded participation weight. Ecosystem issuers can create Claim Cells from a connected wallet. M3 also completes operational work for the production domains already used in M2 and publishes the grant record through a transparency page.

Delivery against the proposal

Approved M3 deliverable Result
Governance gating reference showing how an application can require a Claim Cell for an action Complete. @usevellum/[email protected] adds exact issuer-and-schema policy checks, three composition modes, runnable examples, and documentation of trust and failure boundaries.
Mini interactive governance demo at /demo/governance Complete. The live proposal exposes its rules and tally, revalidates every vote, enforces one vote per DID, and returns durable receipts.
Browser issuance UI for ecosystem partners Complete for the proposal’s form-based scope. The four-step wallet flow covers registered and custom schemas through review, signing, broadcast, confirmation, and recent issuer claims. A custom-schema claim was issued end to end; the registered-schema validation limit is disclosed below.
Dedicated Vellum domain with SSL Complete. The domains were already used in M2; M3 documented the canonical hosts and verified TLS, HSTS, HTTP-to-HTTPS redirects, direct route loads, and public links. No www hostname is used.
Final validation across the grant deliverables Complete. The final pass verified both deployed scripts, passed 12 live SDK, governance, and reputation tests with 83 assertions, and covered CI, production builds and routes, SDK packaging, and responsive browser checks. A connected wallet also issued a real custom Claim Cell.

All six M3 implementation issues are closed with their delivery checklists complete. Eight related pull requests were merged and assigned to the milestone, including the published SDK release, governance tally follow-up, and final transparency-status correction. The GitHub milestone has no open implementation items and remains open only for this delivery review and final confirmation.

What shipped in M3

Governance policy API and integration guide

The new checkPolicy SDK helper evaluates live Claim Cells against application-owned trust policy. Every requirement pairs an exact issuer DID with an exact schema hash, so the same schema from another issuer is not trusted automatically. Consumers can require any claim, all claims, or a threshold; invalid policies fail instead of weakening a gate silently.

The client and server examples share the same decision function and checkpoint. Incomplete reads, malformed Cells, and unresolved issuers remain unavailable outcomes rather than being mislabeled as ineligible. The guide also explains that current Cells and timestamps are not historical proofs.

The helper, examples, and guide shipped in PR #71, and the package was released as @usevellum/[email protected] through PR #72.

Claim-gated governance demo

The live demo is a versioned signalling proposal rather than a static mockup. Anyone can inspect its rules, weighted tally, voter count, and a canonical DID without connecting a wallet. Eligibility requires an active Vellum-issued vellum.social.github.v1 claim, and vellum.reputation.v7 maps the participant to a bounded weight from 1 to 5.

Voting requires the selected DID controller’s signature over the proposal, choice, DID, controller lock, nonce, and expiry. The server resolves the current controller and re-evaluates eligibility and weight before atomically recording one vote per proposal and DID. Identical retries return the existing receipt; conflicts, replays, and unavailable dependencies fail closed.

The proposal overview is separate from the four-step voting flow. Existing voters see their choice, immutable weight, time, evidence, and receipt instead of being asked to sign again. The demo states that it is off-chain signalling, not proof of personhood, audited governance, or an execution mechanism.

Implementation: PR #73, PR #74, and the final product pass in PR #78.

Wallet claim issuance

The /issue workflow lets an issuer select a controlled did:ckb, choose a subject, enter registered or custom-schema evidence, set optional expiry, and review the normalized DAG-CBOR payload and complete transaction before signing. Issuer, subject lock, payer, capacity, fee, inputs, and outputs remain visible. After broadcast, the interface follows confirmation and links to the transaction and subject profile.

The connected wallet must control the issuer DID and funds the Claim Cell. Registered forms reuse Vellum’s manifests and parsers. Recognition is shown only for issuer-and-schema pairs trusted by the current policy; schema validity alone does not establish truth, and consumers remain responsible for issuer trust.

A committed custom-schema claim issued through this interface is visible in transaction 0x37142eec49fbc9bfb2e2637344f54aeeec5f19b076d44b3e8519ad71403f4119, output 0, with claim ID 0x3fedf24045cca126add1d04d48713c964d3a705ade3160d7cfb00d322c7afe73. Its payload records the purpose vellum-wallet-issuance-validation, and its issuer and subject are did:ckb:xckavr2bfjxyca5gltjcg5xessxhiw7i. The public profile exposes it as unsupported evidence instead of assigning points to an unknown schema.

Implementation: PR #75.

Domain verification, transparency, and final product pass

usevellum.xyz and dashboard.usevellum.xyz were brought online ahead of M3 and already served the website, documentation, profiles, and dashboard during M2. This milestone completed the planned domain work by documenting the canonical-host policy, verifying valid certificates and HSTS, confirming permanent HTTP-to-HTTPS redirects and direct route loads, and checking that public metadata, repository links, and product navigation consistently use those hosts.

The new transparency page records the approved $7,000 grant, its four $1,750 tranches, three completed payments totaling $5,250, the remaining $1,750, milestone evidence, implementation links, deployment records, and the approved high-level allocation. It is linked from the public site, documentation, profiles, and navigation.

The final product pass removed stale and mock surfaces, redundant environment labels, outdated links, and unfinished copy across both applications. It also completed the staged governance experience, vote-status recovery, responsive behavior, social metadata, and focused regression coverage.

Implementation: domain issue #28, PR #77, PR #78, and PR #80.

Live evidence

The governance service returned the following public result during report preparation on November 25, 2026:

The governance proposal and tally can be inspected without a wallet at Vellum Dashboard - Identity and reputation on CKB. The wallet-issued Claim Cell evidence is linked in the issuance section above.

Delivery across all milestones

Across the three implementation milestones, Vellum moved from an identity dashboard to an open, testnet reputation system with both issuer and consumer integrations:

Outcome Delivered result
On-chain protocol Two deployed contracts: Claim Type for issuer-authorized claim creation and DID Lock for subject-controlled retention and capacity recovery. Deployment metadata and reproducible locators are published in the repository.
SDK @usevellum/[email protected] provides typed Claim Cell codecs, complete reads, transaction construction, batch writes, and exact policy evaluation while keeping did:ckb identity primitives in the upstream package.
Verification Four provider integrations cover GitHub, Discord, Telegram, and Bluesky, producing seven first-party social, community, and contribution schema outputs.
Schema registry Ten exact-hash registered schemas are published: seven first-party verification schemas plus CKBoost, CrowdCell, and Klaveroq partner schemas.
Claim usage A public indexer scan of the deployed Claim Type returned 30 currently live Claim Cell outputs across 14 schema hashes on November 25, 2026. This is a current-state count, not a lifetime issuance count: subjects can spend or destroy claims, and custom schemas are intentionally allowed.
Integrated issuer services Two completed issuer services are live: Vellum’s first-party verifier and CKBoost’s external partner integration. CKBoost was validated end to end from quest approval and reward claim to the public profile and reputation score. The connected-wallet validation claim proves that other DIDs can issue without being counted as completed partner integrations.
Public consumption Any did:ckb can have a shareable public profile with inspectable claims, source transactions, accepted and excluded evidence, and a transparent versioned score. The governance demo now proves the same evidence can gate and weight a real application action.
Partner tooling Ecosystem projects can integrate through the SDK or use the connected-wallet issuance UI without placing a partner key in Vellum’s server.
Public operations The product, dashboard, documentation, roadmap, reports, funding record, and implementation history are all publicly accessible through canonical Vellum domains and GitHub.

The M1 and M2 implementation records remain available through the M1 report, M2 report, and their linked GitHub milestones.

What worked and what remains limited

Keeping evidence separate from scoring proved valuable. Claim Cells preserve issuer, subject, schema, payload, time, and source transaction, while vellum.reputation.v7 remains replaceable. Exact issuer-and-schema trust also held up during partner work: a schema name is not credibility, and a valid Claim Cell proves only issuer authorization. CKBoost therefore has its own pinned issuer without creating a protocol-level permission list.

CKBoost exposed practical requirements a local demo would have missed: confirmation depth, reward provenance, DID-controller binding, idempotency, durable signed state, capacity funding, and issuer coordination. It produced the first external claim contributing to the public score.

The main limits remain explicit. The Claim contracts, reputation issuance paths, and governance demonstration are testnet-only and have not received a formal security audit. The governance demo stores signalling votes off chain, does not execute a DAO decision, and does not establish one-human-one-vote. Current Claim Cell reads are not historical proofs. Reputation policy can reduce obvious manipulation surfaces, but it cannot turn a DID or an issuer statement into proof of personhood or objective truth.

Partner adoption also remains uneven. CrowdCell’s integration code is merged, but its issuer is not yet active; the published v1 claim remains factual and does not add reputation points automatically. Klaveroq’s integration pull request remains open against its development branch with issuance disabled pending its settlement integration and issuer configuration. Kweela, Rivet, and other interested ecosystem projects remain follow-on work and are not counted as completed grant integrations.

Changes from the original plan

There is no material reduction in the approved M3 deliverables. The proposal explicitly allowed either a small governance contract or an off-chain checker depending on the consumer design. I chose the off-chain checker because Claim Cell evaluation, issuer policy, unavailable chain state, and application-specific vote persistence are consumer responsibilities; adding another contract would not have removed those boundaries.

The governance demo grew beyond the original paste-a-DID sample. It now includes public policy and tally inspection, DID-controller authorization, server-side revalidation, atomic one-vote enforcement, bounded weights, existing-vote detection, and shareable receipts. It remains a signalling demonstration rather than presenting itself as production DAO infrastructure.

The standalone @usevellum/sdk ownership decision was made and reported in M1 after upstream review. M3 builds on that boundary and publishes the consumer policy API in version 0.2.0. The domain schedule moved forward: usevellum.xyz and dashboard.usevellum.xyz were already live by M2, while M3 retained the planned verification, canonical-host policy, HTTP-to-HTTPS redirect checks, and public-link cleanup. The apex is intentionally canonical, no www alias is provisioned, and the former generated Vercel deployment hostname is outside the supported host policy and is not redirected.

The approved proposal required a general form-based issuance interface, which shipped. The more detailed implementation brief also named live vellum.social.github.v1, vellum.profile.v1, and ckboost.quest.v1 examples. Final validation broadcast the custom-schema claim linked above, while registered-schema coverage reached validation, authorization handling, and unsigned transaction preparation. vellum.profile.v1 is not among the current ten registered schemas. The report therefore does not present those named registered-schema broadcasts as completed live evidence.

Verification results

The final M3 merge CI run is public at Merge pull request #80 from truthixify/fix/transparency-m3-status · truthixify/vellum@3f27d0e · GitHub and passed both the Quality and Claim Cell contract jobs.

  • 484 Bun/TypeScript tests passed across 93 files with 0 failures and 1,961 assertions.
  • Formatting, ESLint, strict TypeScript checks, both production builds, executable SDK examples, SDK package inspection, package linting, Rust formatting, Rust checks, lints, contract builds, and release-size reporting passed.
  • 21 Rust parser and CKB-VM tests passed with 0 failures.
  • bun run verify:testnet-deployment rebuilt both contracts and verified the published Claim Type (47,752 bytes) and DID Lock (30,336 bytes) code cells at transaction 0xaf693346282063a5d51f79d180fc807cdba1b8ac9d7af30085ff0aa190e2686c.
  • bun run --cwd packages/sdk test:testnet passed nine live tests with 70 assertions covering Claim Cell reads, read-only transaction preparation, atomic outputs, governance policy examples, and claim lifecycle behavior.
  • bun run --cwd apps/dashboard test:governance:testnet and bun run --cwd apps/dashboard test:reputation:testnet passed three live tests with 13 assertions. The documented fixture returned score 290 and participation weight 2, and the CKBoost issuer resolved against its current controller snapshot.
  • Browser checks covered the governance overview and four-step vote flow at 375 px, 768 px, and 1280 px, including the fail-closed vote-status recovery state. The transparency page was checked at 320 px, 375 px, 768 px, and desktop widths in both themes.
  • The custom-schema issuance flow was browser-tested through validation, transaction preparation, signing, submission, and confirmation. Registered-schema coverage included validation, authorization failures, and unsigned transaction preparation. The committed custom-schema transaction linked above remains live under the deployed Claim Type.
  • The website, governance guide, transparency page, dashboard, governance demo, and issuance route all returned HTTP 200 during report validation. Both canonical HTTP hosts redirected to HTTPS with HTTP 308.

Testing, feedback, and completion review

Community members can review M3 without making a transaction:

Please share test results, unexpected behavior, implementation questions, or other feedback in this thread or through Issues · truthixify/vellum · GitHub. I am requesting the designated reviewer approval and final milestone confirmation described in the approved proposal.

What comes next

The immediate continuation is ecosystem integration work outside the funded implementation scope. I will continue with CrowdCell issuer activation, the open Klaveroq work, and integration design with Kweela, Rivet, and other interested builders. The priority is to keep each claim factual, pin issuer trust at the consumer boundary, and avoid awarding reputation for evidence that is too easy to manufacture.

1 Like