-
Notifications
You must be signed in to change notification settings - Fork 374
CIP-0162? | Cardano URIs - Delegate Authority #1069
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
Open
MadOrkestra
wants to merge
6
commits into
cardano-foundation:master
Choose a base branch
from
MadOrkestra:cardano-uri-delegate
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
4c7151c
Inital Commit
MadOrkestra f75b477
Discussion URL updated
MadOrkestra 192a2af
assign CIP number 162
rphair ed7babd
Update CIP-XXXX/README.md
MadOrkestra fff525c
Update CIP-XXXX/README.md
MadOrkestra ba27112
Directory Updated
MadOrkestra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| --- | ||
| CIP: XXXX | ||
| Title: Cardano URIs - DRrep Delegation | ||
MadOrkestra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Category: Wallets | ||
| Status: Proposed | ||
| Authors: | ||
| - Mad Orkestra <[email protected]> | ||
| Implementors: [] | ||
| Discussions: | ||
| - https://github.com/cardano-foundation/CIPs/pull/1069 | ||
| Created: 2025-07-31 | ||
| License: CC-BY-4.0 | ||
| --- | ||
|
|
||
| ## Abstract | ||
|
|
||
| This CIP proposes a new [CIP-13](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0013) extension: A new URI scheme authority named `delegate` under `web+cardano` to enable Cardano mobile wallets and wallet extensions to create and submit a DRep delegation transaction for a given DRep-Id, using a standardized, interoperable URI format. | ||
|
|
||
| ## Motivation: why is this CIP necessary? | ||
|
|
||
| With Cardano Governance now in full effect a high level of participation / DRep delegation is needed to solidify and secure the consensus mechanisms put in place and ensure decentralisation of power. Delegating to a DRep however - especially on mobile devices - can be a cumbersome task involving multiple steps from copying or typing a complicated DRep-Id or visiting a dedicated website, search for DRep by Id or Name, create and sign a transaction - or use in-app DRep explorers which some wallets offer right now, others don’t. | ||
|
|
||
| The goal of this CIP is to make DRep delegation as easy as clicking a button on desktop browsers or scanning a QR-Code with your mobile device, which automatically opens the user's preferred wallet via deep-linking compatible method and create a DRep-delegation transaction for the transmitted DRep-Id for the user to review, sign and submit the transaction. | ||
|
|
||
| With the existing `web+cardano://` URIs for almost all other methods of participation in the Cardano ecosystem such as payments and Stake Pool delegation already defined, this proposed extension adds another missing piece of the puzzle. | ||
|
|
||
| This CIP will enable fast, frictionless and error-prone DRep delegation and will provide DReps at the same time with another way to promote themselves without the need of lengthy DRep-Ids, specific governance websites or dedicated DRep browsers/interfaces inside of wallets. | ||
|
|
||
| Especially for real world events this will provide a feasible solution for instant DRep-delegation in environments where copy & pasting a DRep-Id isn't an option. It will also mitigate some of the painpoints for wallets to implement their own way of DRep discovery and delegation by providing an ecosystem-wide standard for One-Click-Delegation. | ||
|
|
||
| ## Specification | ||
|
|
||
| This extension to the [CIP-13](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0013) URN scheme defines the `delegate` authority for Cardano URIs. | ||
|
|
||
| ### URI Format | ||
|
|
||
| `web+cardano://delegate/<DRep-Id>` | ||
|
|
||
| - Authority (REQUIRED): delegate | ||
| - DRep-Id (REQUIRED): Bech32 [CIP-129](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0129) DRep-Id | "always_abstain" | "always_no_confidence" | ||
|
|
||
| ### Example URIs | ||
|
|
||
| `web+cardano://delegate/always_abstain` | ||
|
|
||
| ### Wallet Behavior | ||
|
|
||
| - Parse and validate the given DRep-Id against [CIP-129](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0129) or one of the default options | ||
| - Check on-chain if the given DRep-Id belongs to a registered and/or active DRep | ||
| - Create a DRep delegation transaction | ||
| - Display the DRep-Id (and registration/active status) to the user and prompt to sign and submit the delegation transaction | ||
|
|
||
| ### Security Considerations | ||
|
|
||
| - Wallets SHOULD validate if the given DRep-Id is a valid [CIP-129](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0129) DRep-Id, otherwise provide a warning to the user | ||
| - Wallets SHOULD validate if the given DRep-Id belongs to a registered/active DRep - otherwise provide a warning to the user. | ||
|
|
||
| ## Rationale: how does this CIP achieve its goals? | ||
|
|
||
| A dedicated `delegate` authority isolates app navigation from other authorities such as `pay`, `browse` or `stake`, improving clarity and interoperability. | ||
|
|
||
| ## Path to Active | ||
|
|
||
| ### Acceptance Criteria | ||
|
|
||
| - [ ] Community Feedback and Review Integrated | ||
| - [ ] One or more wallets support this new `delegate` authority | ||
|
|
||
| ### Implementation Plan | ||
|
|
||
| Leveraging existing connections within the ecosystem; we will find willing partners to integrate this new standard and deploy a proof of concept integration. | ||
MadOrkestra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Copyright | ||
|
|
||
| This CIP is licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/legalcode). | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.