-
Notifications
You must be signed in to change notification settings - Fork 374
CIP-???? | On-Chain Surveys and Polls #1107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
CIP-???? | On-Chain Surveys and Polls #1107
Conversation
Ryun1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the proposal @Thomas-nada
I agree on the problem space
keen to see this one develop
Co-authored-by: Ryan <ryan.williams@intersectmbo.org>
Co-authored-by: Ryan <ryan.williams@intersectmbo.org>
Co-authored-by: Ryan <ryan.williams@intersectmbo.org>
CIP-????/README.md
Outdated
|
|
||
| ```json | ||
| { | ||
| "674": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand that a governance body's vote transaction is linked to the underlying info governance action, but for the ADA holder, I don't see how the vote metadata is tied to the info action. Here, I would suggest following the same methodology as CIP-0094, which includes a hash of the entire question.
|
Thanks for sharing this idea on how to improve the capability of the info governance action type. One thing that immediately comes to mind is how the metadata file for the actual info governance action should be structured to avoid a situation where the questions in the governance action metadata contradict the question posed in the transaction metadata. It seems wise to me to also establish a standard for the governance action metadata body, perhaps even leaving it blank or using a template that will always generate the same metadata anchor URL and metadata anchor hash, so tools can easily verify this as well. |
|
Thats a valid question. The way I envisioned it is the Info action acting as a vessel for the extended function. |
Key updates: Reworked the structure to no longer depend on the governance Info Action, surveys can now exist independently. Added an optional referenceAction field (transactionId, actionIndex) to link a survey to a governance action when relevant. Updated rationale, examples, and CDDL schema to align with the new standalone approach. This version aims to make the standard simpler, cheaper to use, and more flexible, while still allowing contextual linkage to governance actions when desired.
|
rphair
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Thomas-nada this is a whole new document! I'm encouraged to see the "new direction" seems to accommodate the feedback so far & provide a less disputable approach. Below are only more general corrections before the technical review begins again:
Removed revision history section and moved summary of design evolution into Rationale
Co-authored-by: Robert Phair <rphair@cosd.com>
Co-authored-by: Robert Phair <rphair@cosd.com>
|
@Thomas-nada we weren't able to confirm this at the CIP meeting today because of some technical uncertainty: especially concern over metadata overpopulation & congestion in the |
|
"especially concern over metadata overpopulation & congestion in the I have been thinking about this myself. I am leaning towards shifting to a unique tag to avoid conflict with other transactions. Should be an easy enough fix. |
Update the survey CIP to use metadata label 0017 and revise the abstract accordingly. All references to metadata label 674 have been replaced with 0017 throughout the specification, including in surveyDetails, surveyResponse, examples, and explorer guidance. Incorrect references to CIP-0068 “via 674” and any implied dependency on CIP-20 have been removed. The abstract has been updated to clarify that surveys use a dedicated metadata label, and a rationale has been added explaining the choice of 0017, referencing the Roman census of 17 BC as an early example of structured population data collection. No other structural or semantic changes have been made. Using a dedicated metadata label avoids congestion in CIP-20’s reserved space and provides a clear, unambiguous channel for survey metadata.
rphair
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Thomas-nada my apologies for missing the notification about 449e320 (in which the metadata tag question was cleared up) with all that has happened in the last week or two.
@Ryun1 @perturbing I can't be sure from my own technical level if moving all such activity to the new metadata tag in fact clears up the "metadata congestion" that we highlighted at the last meeting. If you can confirm that it would be, please post as such & we'll get this back onto the Review agenda to re-assess this as a CIP candidate.
|
|
||
| This proposal defines a generic, standardized transaction metadata structure for creating and responding to on-chain surveys and polls. | ||
|
|
||
| All survey-related metadata is encoded under label 0017, chosen as a reference to the Roman census of 17 BC — one of the earliest organized systems for structured population data collection. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| All survey-related metadata is encoded under label 0017, chosen as a reference to the Roman census of 17 BC — one of the earliest organized systems for structured population data collection. | |
| All survey-related metadata is encoded under label `17`, chosen as a reference to the Roman census of 17 BC — one of the earliest organized systems for structured population data collection. |
As far as I know, the usage & documentation for these labels isn't zero-padded (and in fact would be padded to the maximum size of 5 digits even if it were) and might cause some inconsistencies in text search unless the (quoted) plain number were used.
| This specification uses metadata label 0017 and defines two payload types: | ||
| `surveyDetails` (definition) and `surveyResponse` (vote). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| This specification uses metadata label 0017 and defines two payload types: | |
| `surveyDetails` (definition) and `surveyResponse` (vote). | |
| This specification uses metadata label `17` and defines two payload types: | |
| `surveyDetails` (definition) and `surveyResponse` (vote). |
- This is what I was thinking of in the question above about whether there could still be "congestion" in the metadata... would not surveys & responses have different structure, different audiences, different frequency of distribution, etc? (I'm not claiming they are: but it's a review question to consider)
- In any case, this PR (like others which have added metadata labels in the past) should also included an update to CIP-0010 to add the label itself... but please feel free to settle the question that this would be the only new label before making that change.
This is a new Metadata CIP proposing a standard for on-chain surveys and community sentiment polling.
The goal is to provide a single, standardized, transparent, and reliable way for any entity (Foundations, DReps, projects, or community members) to conduct simple, structured consultations directly on-chain — without requiring deposits or governance actions.
This proposal defines two minimal CIP-0068 (label 674) metadata payloads:
StakeBasedorCredentialBased). It may optionally reference a governance action by transaction ID and action index.This standard provides a lightweight, interoperable foundation for ecosystem-wide sentiment gathering — allowing explorers, wallets, and dApps to discover, display, and aggregate survey results in a consistent, transparent way.
(rendered latest proposal version)