Standards/cardano-cip-13
Cardano CIP-13 (Cardano URI)
Overview
CIP-13 ("Cardano URI Scheme", CIP-0013) is a Cardano Improvement Proposal in the Wallets category that defines the web+cardano: URI scheme. It specifies two protocols: a payment URI carrying an address and an optional amount, and a //stake URI carrying one stake pool or a weighted list of pools 1. The stated aim is that a link on a web page, or a scanned QR Code, opens a light wallet with the fields already filled in, so that a donor does not have to copy and paste an address 1. The payment protocol follows Bitcoin's BIP-21 with bitcoin: replaced by web+cardano: 1:
web+cardano:Ae2tdPwUPEZ76BjmWDTS7poTekAvNqBjgfthF92pSLSDVpRVnLP7meaFhVd
web+cardano://stake?COSD
Since a 2023 revision the scheme is a container: other CIPs register further authorities after //, such as //claim, //block, //transaction, //addr, //browse and //drep 15. CIP-13 itself is still at status Proposed 2.
History
Origin. The CIP header gives a creation date of 22 September 2020 and three authors: Robert Phair (cosd.com address) and Sebastien Guillemot and Vicente Almonacid (emurgo.io addresses) 1. Its discussion links include an earlier EMURGO proposal (EmIPs PR #2), an early CIPs PR #25 and the "original" PR #30 1. Guillemot announced PR #30 on the Cardano Forum on 20 October 2020 as "a description of something we've already implemented in the Yoroi Extension and in Yoroi Mobile" 4. The stake-pool part came from a separate forum proposal for pool and delegation-portfolio URIs 41.
Revisions. The CIP's git history records these merges 3:
| Date (merge) | Change |
|---|---|
| 14 Jan 2021 | "Cardano URI Scheme" (#30): payment URIs |
| 30 Mar 2021 | "Extend URI scheme with single stake pool links" (#61) |
| 29 Jul 2021 | "Extend URI scheme for delegation portfolio links" (#86) |
| 10 Nov 2021 | Directory restructure (CIP-XXXX.md → README.md) (#125) |
| 17 Jan 2023 | Preamble and structure aligned with CIP-0001 (#429) |
| 1 Aug 2023 | "Generalise for further protocols" (#559) |
| 26 Aug 2024 | Acceptance criteria: more implementations (#882) |
| 4 Jun 2026 | Header and template correctness, repository-wide (#1125) |
The 2023 generalisation is the one that made web+cardano: a host for other CIPs' authorities; the spec's examples now include a //claim link from CIP-0099 13.
Problem statement. CPS-0016 "Cardano URIs" (created 15 June 2024, status Open, by Adam Dean and Mad Orkestra) collects the scheme family. It says the CIP-0013 schemes "have been defined since early 2021" but "some of the proposed standards have languished and struggled for adoption" 5. A GitHub issue opened on 4 June 2024 made the same point: CIP-0013 "was first proposed in 2020 but doesn't seem to have moved along since", and payment links could carry only ADA, with no native assets and no metadata 11.
Technical specification
Grammar
CIP-13 writes its grammar in ABNF (RFC 2234). The top level selects a protocol by authority; with no authority the URI is a payment 1:
cardanouri = "web+cardano:" (paymentref | authorityref)
authorityref = (stakepoolref | otherref)
otherref = "//" authority query
paymentref = cardanoaddress [ "?" amountparam ]
cardanoaddress = *(base58 | bech32)
amountparam = "amount=" *digit [ "." *digit ]
stakepoolref = "//stake" query
query = ( "?" stakepoolpair) *( "&" stakepoolpair)
stakepoolpair = stakepool [ "=" proportion]
stakepool = poolhexid | poolticker
poolhexid = 56HEXDIG
poolticker = 3*5UNICODE
proportion = *digit [ "." *digit ]
Payment URI
| Part | Rule |
|---|---|
| Scheme | web+cardano: 1 |
| Address | Base58 or Bech32 1. By CIP-0019 convention Byron addresses are Base58 and Shelley addresses Bech32, with no Bech32 length limit 13 |
amount |
Optional. BIP-21 rules: decimal ADA, no commas, period as decimal separator 115 |
| Other parameters | None. CIP-13 keeps BIP-21's address-and-amount scope to avoid wallets implementing extensions differently, citing Ethereum's EIP-681 as an example of extra features 1 |
The amount is in ADA, not lovelace: the Cardano Developer Portal states "Amount is in ADA, not lovelace" and that the wallet converts at 1 ADA = 1,000,000 lovelace 19. CPS-0016 describes the same field as an "amount of Lovelace" 5, which disagrees with the CIP text.
Addresses (CIP-0019, CIP-0005). A Cardano address is a 1-byte header plus a payload. Header bits 7–4 give the address type and bits 3–0 the network tag: 0000 testnet(s), 0001 mainnet 13. Type 6 (0110) is an enterprise address: a payment key hash with no delegation part, whose stake cannot be delegated 13. Key hashes are blake2b-224 digests (28 bytes) 13. The Bech32 prefixes are addr (mainnet address), addr_test (testnet address), stake/stake_test (stake addresses) and pool (pool ID) 14.
Stake pool URI
- A pool is named by its 56-hex-digit ID or by a 3–5 character ticker; tickers "must be supported" for brevity 1.
- With one pool, any proportion is ignored. With several, each pool's share is its proportion over the sum; a missing proportion counts as exactly
1; a pool listed twice makes the URI invalid 1. - If several pools share a ticker, the user chooses in the wallet. The wallet should always confirm the delegation, even when the URI is unambiguous, and must let a user with several wallets pick which to delegate from 1.
- A wallet that supports only single-pool links should ignore, or warn about, a value on the first argument and any argument after the first 1.
Security considerations in the spec
- Payment links should pre-populate a transaction, not prompt to send at once, because the user may not know what URI they followed 1.
- Links can disguise phishing pages that imitate wallet UI 1.
- A wallet that creates a stake link should not use real ADA or lovelace balances as proportions, which could identify the owner; scaling the largest to
1is suggested 1.
The grammar has no signature or origin field, so a CIP-13 request cannot be attributed to its sender 1.
Why web+
CIP-13 picks cardano: over ada: because projects tend to use the project name rather than the currency name 1. Browsers' registerProtocolHandler() accepts only a fixed safelist of schemes or a name of web+ followed by lower-case ASCII letters; bitcoin is on the safelist, cardano is not 16. CIP-13 notes this and mentions ext+ as the recommended prefix for browser extensions 1. The spec rejects Universal Links and Android App Links as the main mechanism because they need a central routing backend 1.
Registered authorities
CPS-0016 requires every future extension to register a new authority, or a new version of one that allows versioning 5:
| Authority | Defined in | Status of that CIP | Purpose | Example |
|---|---|---|---|---|
| (none) | CIP-0013 | Proposed | Payment | web+cardano:<address>?amount=10.5 |
//stake |
CIP-0013 | Proposed | Pool delegation | web+cardano://stake?POOL1=3.14159&POOL2=2.71828 |
//claim |
CIP-0099 (2023) | Active | Token claim / onboarding via a faucet | web+cardano://claim/v1?faucet_url=…&code=… |
//block, //transaction |
CIP-0107 | Proposed | Reference a block, transaction, output or metadata | web+cardano://transaction/<64 hex>#1 |
//addr |
CIP-0134 (2024) | Proposed | Any CIP-0019/CIP-0105 address, e.g. in X.509 certificates | web+cardano://addr/stake_test1… |
//browse |
CIP-0158 (2025) | Active | Open a URL in a wallet's in-app browser | web+cardano://browse/v1?uri=… |
//drep |
CIP-0162 (2025) | Proposed | DRep governance delegation | web+cardano://drep/always_abstain |
Sources: 5678910. A //pay authority with native assets and metadata was proposed in PR #843 ("CIP-0157? | Cardano URIs - Enhanced Payments"), opened 16 June 2024 and still open 125.
Use cases
- Donations and payment requests. The motivating case: a creator posts a link or QR code and a supporter's wallet opens pre-filled 1. The Cardano Developer Portal's IoT workshop renders a CIP-13 payment URI as a QR code on a small TFT display for a mobile wallet to scan, paying testnet ADA 19.
- Stake pool promotion. The spec presents pool links as a way for small pools to gain delegation and to spread stake away from saturated pools, and as a lighter alternative to JSON delegation-portfolio files (CIP-0017) 1. CPS-0016 lists banners, flyers and business cards at events 5.
- Event onboarding. CIP-0099
//claimlinks replace pre-loaded paper wallets at real-world events 6. - Point of sale and dApp links. CIP-0158 names trade shows, point-of-sale terminals and vending machines as places where
//browseQR codes open a dApp in the wallet 9. - Governance and certificates.
//dreplinks delegate votes to a DRep from a QR code 10;//addrURIs carry Cardano addresses in X.509 certificates, which Project Catalyst intends to use 8.
Implementations
| Project | Role | Notes |
|---|---|---|
| Yoroi (EMURGO) | Wallet | Listed in CIP-13's acceptance criteria for payment URIs and for CIP-0099 1. Its @yoroi/links TypeScript package parses and builds web+cardano links 22. The current source configures the authority-less "legacy transfer" (address required; amount, memo, message optional), marked deprecated in favour of a pay v1 config, plus claim, browse, payment, stake, drep, transaction and block configs with a v1 version 21. Its stake config requires a pool parameter 21, unlike CIP-13's version-less //stake?<pool> |
| Begin Wallet | Wallet | Listed for payment URIs and CIP-0099 1; implementor of CIP-0158 9 |
| VESPR | Wallet | Listed for CIP-0099 1; implementor of CIP-0158 9 |
| Lace, Eternl Mobile | Wallets | Listed as CIP-0099 implementors 6 |
CIP-13's own header still reads Implementors: N/A, and its acceptance list for stake pool URIs names no wallet ("TBD") 1. The community tracker at cip13.cardanothings.io (last updated 18 May 2026) marks the default payment URI as supported by Yoroi, VESPR and Begin and partly by Eternl, and //stake as supported by Eternl and VESPR; Lace is "not tested yet" in every column 20.
Decoding. A CIP-13 code is an ordinary QR Code holding text; the scanning wallet does the CIP-13 parsing. No standalone open-source CIP-13 parser other than Yoroi's package was found.
Playground. Barcoder's cardano-cip-13 encoder builds the URI and bwip-js renders it as a QR Code at error-correction level M. The default payload is:
web+cardano:addr_test1vqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqd9tg5t?amount=10.5
The address is a valid Bech32 string with prefix addr_test (testnet) 14. It decodes to header byte 0x60 (type 6, enterprise key-hash; network tag 0, testnet) and a 28-byte all-zero key hash 13. Spending from it needs a signature from a key whose blake2b-224 hash is all zeros, so it is in practice unspendable, and test ADA has no market value. The amount 10.5 follows the decimal-ADA rule 1.
Comparison
- vs BIP-21. CIP-13 copies BIP-21's amount rules (decimal units, period separator) 115 but drops BIP-21's
label,messageandreq-parameters; its grammar has onlyamount1. It adds what BIP-21 has no counterpart for: a delegation protocol and a registry of authorities 15. - vs EIP-681. ERC-681 (
ethereum:, Final, created 2017) can encode contract calls and gas parameters and givesvaluein wei with scientific notation encouraged 17. CIP-13 deliberately stays at address plus amount in whole-ADA decimals 1. - vs Stellar SEP-7. SEP-0007 (Active) is a URI scheme "to facilitate delegated signing": a request can carry a full transaction and an
origin_domainwith asignaturethat wallets validate before showing the domain 18. CIP-13 has no equivalent 1.
Use a plain CIP-13 payment URI for a fixed ADA amount to one address. Native tokens and metadata are not in CIP-13; they depend on the still-open //pay proposal and on what each wallet implements 1221.
Fun facts
- The example pool is real. CIP-13's hex example
c94e6fe1123bf111b77b57994bcd836af8ba2b3aa72cfcefbec2d3d4and its ticker exampleCOSD1 are the pool ID and ticker that co-author Robert Phair published for his COSD pool on 15 September 2020 23. On 9 November 2026 Koios reported that pool as registered on mainnet under ticker COSD 24. - π and e. The weighted-pool example
POOL1=3.14159&POOL2=2.71828uses the first five decimals of π and e as proportions 1. - Same birthday. CIP-0107, proposed in 2023, carries CIP-13's creation date of 2020-09-22 in its header 75. CIP-13 also lists CPS-0016, created in 2024, as the problem it solves 15.
- Parent closed. BIP-21 now has status "Closed" and is superseded by BIP 321 15.
Status
Proposed on cips.cardano.org, updated 4 June 2026 2. Several sibling CIPs reached Active first: CIP-0099 and CIP-0158 69. CPS-0016 is Open and serves as the registry of authorities 5. Payment URIs are implemented in several mobile wallets; stake links in fewer 20. The Developer Portal advises builders to check each wallet's support before relying on a CIP 19.
Sources
Deployments
No country reports mention this standard by name.
Regions / aggregations not mapped to a single country
- Universal