Skip to content
D20DAO

VRF Seeds and Privacy: What to Send to D20DAO

Separate application data from public VRF evidence. Choose D20DAO request fields, keep original manifests and define who can review the inputs.

A checkable selection does not need document contents

An agent helps a team pick one document from eight for a routine quality review. The application already holds the files, their owners and internal notes. The randomness service needs enough information to select a position; sending the documents themselves adds no value to that calculation.

Before integrating D20DAO, write down what each system needs to receive and what a reviewer must eventually inspect. This guide focuses on that data flow for the agent API on Arc. It does not assume that a public randomness proof makes every part of an application public or private.

Separate three kinds of records

Start with a field inventory rather than treating the request as a free-form note. The privacy notice describes the API's processing of request parameters, optional seeds and labels, payment information and operational metadata. Omitting document contents does not remove wallet or network metadata from the workflow.

  1. Blockchain records: wallet addresses, amounts, seed-derived values and results recorded onchain are publicly observable and permanent.
  2. API inputs: the operation, its parameters and any optional seed or item labels you supply are sent to the service.
  3. Application records: source documents, internal notes and the mapping from document references to owners can remain with your application when the randomness request does not require them.

Send a population when labels are unnecessary

For the eight-document example, chooseOne can work with a population of eight and return a zero-based index. Keep the ordered document references in the application and resolve that index locally.

The API also accepts items as convenient display labels. Supplying them sends those labels to the API, while only their count enters the onchain mapping. The proof does not establish the labels or their ordering. Sending a person's name as a label therefore adds disclosure without, by itself, proving that person's place in the candidate list.

Follow the live schema's choice between population and items. Later status lookups return indices; they should not be the application's directory of document identities.

Keep a precise manifest and commitment

If reviewers need to check the original ordering, retain a manifest with the decision ID, ordered document references, population and rules version. Freeze its exact encoded bytes before requesting randomness. A digest of those bytes can connect the request to that manifest; the existing agent workflow demonstrates this preparation and a later commitment check.

Distinguish the interfaces. The API accepts an optional seed string of up to 64 UTF-8 bytes and binds it with the payment into the contract's clientSeed. A Solidity consumer supplies a bytes32 clientSeed through the contract interface. Neither field is a confidential notes field. Retain the original manifest rather than expecting its digest to reconstruct it.

A digest is not a confidentiality guarantee

Hashing an email address, a small set of names or a predictable document title does not establish that the underlying value cannot be guessed. Someone with a candidate value can calculate its digest and compare it with a published commitment. Opaque document references can also become identifiable when another system exposes their mapping.

Use the commitment to check that supplied bytes match the agreed inputs. Decide separately how the application handles confidential records and access to their identity mapping. A Solidity variable marked private does not make data recorded on a public blockchain secret.

Decide what each reviewer can verify

A public observer can replay the request's cryptographic evidence without receiving the underlying documents. To confirm that the returned position corresponds to the agreed document list, a reviewer also needs the matching manifest and enough context to interpret its references.

You might publish a manifest of non-sensitive references while giving a designated reviewer access to the identity mapping. Alternatively, keep the manifest restricted and state that public observers can check the randomness evidence while input review is limited to authorized recipients. Do not promise full public verification of application inputs that nobody outside the application can obtain.

Keep the original bytes and the request together

Store the manifest version and exact bytes, its digest, request arguments, payment and request identifiers, and evidence links as one application review record. Keep access to source documents and identity mappings intentional. A proof link should help a reviewer reach the right request without requiring document contents to appear in its URL or label.

Check exports and support logs as well as the request payload. Read the service's current retention disclosure for its own records; minimizing the fields you send is not a promise that the API keeps no logs.

Review the data boundary before integration

Walk through one synthetic document set and inspect what leaves the application. Include these checks in the integration review:

  1. The request selects from the intended population without including document contents or unnecessary personal labels.
  2. The exact original manifest remains available to the reviewers who need it.
  3. The seed commitment, returned index and ordered references belong to the same decision.
  4. Public links, logs and exports disclose only what the application intends to disclose.
  5. The product explains which checks are public and which require restricted input access.