- Draft — A CAP that is currently open for consideration and actively being discussed.
- Awaiting Decision — A mature and ready CAP that is ready for final deliberation by the CAP Core Team. After a maximum of three meetings, a vote will take place that will set the CAP's intended FCP disposition (FCP: Acceptance/Rejection) or go back into a Draft state.
- FCP: [Acceptance/Rejection] — A CAP that has entered a Final Comment Period (FCP) with an intended disposition. After one week has passed, during which any new concerns should be addressed, the CAP will head towards its intended disposition [Acceptance/Rejection] or go back into a Draft state.
- Accepted — A CAP that has been accepted on the merits of its idea pre-implementation, and is ready for implementation. It is still possible that the CAP may be rejected post-implementation due to the issues that may arise during an initial implementation.
- Implemented - A CAP that has been implemented with the protocol version specified in the CAP. It will graduate to Final when it has been formally accepted by a majority of validators (nodes) on the network.
- Final — A CAP that has been accepted by a majority of validators (nodes) on the network. A final CAP should only be updated to correct errata.
- Rejected - A CAP that has been formally rejected by the CAP Core Team, and will not be implemented.
- Superseded: [New Final CAP] - A CAP that which was previously final but has been superseded by a new, final CAP. Both CAPs should reference each other.
Number | Title | Author | Status |
---|---|---|---|
CAP-0001 | Bump Sequence | Nicolas Barry | Final |
CAP-0002 | Transaction level signature verification | Nicolas Barry | Final |
CAP-0003 | Asset-backed offers | Jonathan Jove | Final |
CAP-0004 | Improved Rounding for Cross Offer | Jonathan Jove | Final |
CAP-0005 | Throttling and transaction pricing improvements | Nicolas Barry | Final |
CAP-0006 | Add ManageBuyOffer Operation | Jonathan Jove | Final |
CAP-0015 | Fee Bump Transactions | OrbitLens | Final |
CAP-0017 | Update LastModifiedLedgerSeq If and Only If LedgerEntry is Modified | Jonathan Jove | Accepted |
CAP-0018 | Fine-Grained Control of Authorization | Jonathan Jove | Final |
CAP-0019 | Future-upgradable TransactionEnvelope type | David Mazières | Final |
CAP-0020 | Bucket Initial Entries | Graydon Hoare | Final |
CAP-0021 | Generalized transaction preconditions | David Mazières | Accepted |
CAP-0023 | Two-Part Payments with ClaimableBalanceEntry | Jonathan Jove | Final |
CAP-0024 | Make PathPayment Symmetrical | Jed McCaleb | Final |
CAP-0025 | Remove Bucket Shadowing | Marta Lokhava | Final |
CAP-0026 | Disable Inflation Mechanism | OrbitLens | Final |
CAP-0027 | First-class multiplexed accounts | David Mazières and Tomer Weller | Final |
CAP-0028 | Clear pre-auth transaction signer on failed transactions | Siddharth Suresh | Final |
CAP-0029 | AllowTrust when not AUTH_REQUIRED | Tomer Weller | Final |
CAP-0030 | Remove NO_ISSUER Operation Results | Siddharth Suresh | Final |
CAP-0033 | Sponsored Reserve with EphemeralSponsorshipEntry | Jonathan Jove | Final |
CAP-0034 | Preserve Transaction-Set/Close-Time Affinity During Nomination | Terence Rokop | Final |
CAP-0035 | Asset Clawback | Dan Doney | Final |
CAP-0038 | Automated Market Makers | Jonathan Jove | Final |
CAP-0040 | Ed25519 Signed Payload Signer for Transaction Signature Disclosure | Leigh McCulloch | Accepted |
Number | Title | Author | Status |
---|---|---|---|
CAP-0007 | Deterministic Account Creation | Jeremy Rubin | Draft |
CAP-0008 | Self Identified Pre-Auth Transaction | Jeremy Rubin | Draft |
CAP-0009 | Linear/Exterior Immutable Accounts | Jeremy Rubin | Draft |
CAP-0010 | Fee Bump Account | Jeremy Rubin | Draft |
CAP-0011 | Relative Account Freeze | Jeremy Rubin | Draft |
CAP-0012 | Deterministic accounts and creatorTxID | David Mazières | Draft |
CAP-0014 | Adversarial Transaction Set Ordering | Jeremy Rubin | Draft |
CAP-0022 | Invalid transactions must have no effects | David Mazières | Draft |
CAP-0032 | Trustline Preauthorization | Jonathan Jove | Draft |
CAP-0037 | Automated Market Makers | OrbitLens | Draft |
CAP-0041 | Concurrent Transactions | Leigh McCulloch, David Mazières | Draft |
CAP-0042 | Multi-Part Transaction Sets | Nicolas Barry | Draft |
CAP-0043 | ECDSA Signers with P-256 and secp256k1 Curves | Leigh McCulloch | Draft |
CAP-0044 | SPEEDEX - Configuration | Jonathan Jove | Draft |
Number | Title | Author | Status |
---|---|---|---|
CAP-0013 | Change Trustlines to Balances | Dan Robinson | Rejected |
CAP-0016 | Cosigned assets: NopOp and COAUTHORIZED_FLAG | David Mazières | Rejected |
CAP-0031 | Sponsored Reserve | Jonathan Jove | Rejected |
CAP-0036 | Claimable Balance Clawback | Leigh McCulloch | Rejected |
CAP-0039 | Not Auth Revocable Trustlines | Leigh McCulloch | Rejected |
The Stellar Protocol, like most software in the world, continues to evolve over time to meet the needs of our network's participants and to drive technology forward into new territory. Given the importance of the reliability and safety of the network, we ask that all of those who have ideas towards pushing Stellar's protocol development forward adhere to the following:
- Consider your idea and how it serves the fundamental goals of the Stellar Network and aligns with values of the Stellar Protocol (which are listed below). If you cannot show how your proposal aligns with those goals and values, it's unlikely to ever be implemented.
- Gather feedback from discussion on the dev mailing list and other forums, and utilize it to begin a draft proposal, otherwise known as a CAP (Core Advancement Proposal).
- Follow the proposal process listed below.
- The Stellar Network should be secure and reliable, and should bias towards safety, simplicity, reliability, and performance over new functionality.
- The Stellar Network should run at scale and at low cost to all participants of the network.
- In support of this, the Stellar Network should support off-chain transactions, e.g. Starlight.
- An explicit non-goal is limiting the hardware requirements of stellar-core to a personal computer.
- The Stellar Network should facilitate simplicity and interoperability with other protocols and
networks.
- In support of this, the Stellar Network should facilitate side-chain transactions to enable sub-networks.
- The Stellar Network should enable cross-border payments, i.e. payments via exchange of assets,
throughout the globe, enabling users to make payments between assets in a manner that is fast,
cheap, and highly usable.
- In support of this, the Stellar Network should support an orderbook that values simplicity over functionality, and one that primarily serves to enable cross-border payments.
- In support of this, the Stellar Network should facilitate liquidity as a means to enabling
- cross-border payments.
- In support of this, the Stellar Network should enable asset issuance, but as a means of
- enabling cross-border payments.
- The Stellar Network should support decentralization wherever possible, but not at the expense
of the majority of its values.
- There should be no privileged actors — we should support egalitarianism and everyone participating on the same playing field.
- The Stellar Network should enable users to easily exchange their non-Stellar based assets to Stellar-based assets, and vice versa.
- The Stellar Network should make it easy for developers of Stellar projects to create highly usable products.
- The Stellar Protocol should serve the goals of the Stellar Network.
- The Stellar Protocol should bias towards simplicity.
- When possible, solutions should be considered outside of core protocol changes such as via SEPs (Stellar Ecosystem Proposals) to minimize complexity in the Stellar protocol.
- When possible, proposals should minimize the impact of changes to the smallest surface area and shallowest depth (i.e. sticking to the higher levels of the software) of the protocol architecture possible to make changes predictable and easier to test and reason about. Changes should be surgical, and minimal invasive. As a result, changes that affect lower levels of the implementation have a higher bar for acceptance.
- In order from the lowest level to the highest level systems, the systems are:
- Historical / Ledger XDR
- Observable Transaction Semantics
- Consensus XDR
- DB State
- Overlay XDR
- Unobservable tx semantics (eg. performance or bug fixes)
- Horizon semantics
- Public APIs, Client Libraries/SDKs.
- The Stellar Protocol should be clear, concise, and opinionated.
- New operations and functionality should be opinionated, and straightforward to use.
- There should ideally be only one obvious way to accomplish a given task.
- The Stellar Protocol should bias towards broad use cases, and bias against niche functionality.
- The Stellar Protocol should bias towards user safety.
These are the steps from idea to deployment on how to create a Core Advancement Proposal (CAP).
Introduce your idea on the stellar-dev mailing list.
- Make sure to gather feedback and alternative ideas — it's useful before putting together a formal draft!
- Consider contacting experts in a particular area for feedback while you're hashing out the details.
Draft a formal proposal using the CAP Template, and submit a PR to this repository. You should make sure to adhere to the following:
- Make sure to place the draft in the
core/
folder. - Your CAP should be named
cap-TBD.md
- If your CAP requires images or other supporting files, they should be included in a sub-directory
of the
contents
folder for that CAP, such ascontents/cap-TBD/
. Links should be relative, for example a link to an image from your CAP would be../contents/cap-TBD/image.png
.
Finally, submit a PR of your draft via your fork of this repository.
- Use
TBD
for the protocol version. Don't assign a protocol version to the CAP — this will be established once the CAP has reached the state of Final and has been formally implemented.
From there, the following process will happen.
If you properly followed the steps above, your PR will get merged.
The CAP and associated files will get renamed based on the latest CAP draft number before merging.
As your idea gets traction, you'll need to assemble a working group as to increase the chances of success that this CAP proceeds through the stages.
For more information on this, review the working group section of the CAP template.
You should continue the discussion of the draft CAP on the mailing list with an attempt at reaching consensus.
When opening PRs to modify the draft:
- changes have to either be submitted by one of the authors (Recommender or Owner) or signed off by the authors
- avoid discussions in the PR itself as it makes it more difficult for future contributors to understand the rational for changes.
- best is to always discuss in the mailing list.
- alternatively, a recap of the discussion that happened in the PR could be posted in the mailing list (but it's easy to forget to do this).
When your CAP received sufficient feedback from the community, you'll need to present it to a subset of the CAP Core Team for review.
For that, when you're ready, you should submit a PR changing the status
in the draft to Awaiting Decision
.
The CAP will be scheduled to be discussed at a protocol meeting. As the owner of the CAP, you will be invited to share your CAP and participate in discussion during the meeting.
You may invite any other members of your working group.
The protocol meetings will be used to decide on next step:
- If the CAP has received support and general consensus, it is moved to
Awaiting Decision
; - If the CAP requires some adjustments or needs to receive more feedback from the community, the meeting is adjourned ;
- If for any reason the CAP gets abandoned, it gets a status of
Rejected
.
- A vote will take place among the CAP Core Team.
- A unanimous approval from the CAP Core Team will put the CAP in a
FCP: Accepted
status. - Otherwise, the CAP will be given feedback and head towards a
FCP: Rejected
status (if the majority of the CAP raises concerns) or aDraft
status (if only a minority of the CAP raises concerns). - It can take upwards of 3 meetings before a disposition is reached.
- A unanimous approval from the CAP Core Team will put the CAP in a
- After a week of an Final Comment Period (FCP) where any major concerns that have not been
previously addressed can be brought up, the CAP will head to its final disposition.
- Concerns will be addressed on a case by case basis, and only major concerns that were not
addressed earlier will move the CAP back to a
Draft
state.
- Concerns will be addressed on a case by case basis, and only major concerns that were not
addressed earlier will move the CAP back to a
SDF will prioritize accepted CAPs among its priorities for a given year. However, if you want to ensure your CAP is implemented in a timely manner, it is likely best for you to attempt to implement it yourself.
Once a CAP is implemented, a PR should be submitted to update its status to Implementation Review, along with the protocol version it was released in if applicable.
From here the proposal is brought up again before the protocol group for additional comment, where it is possible that the proposal is rejected based on the issues that arise from its implementation. If no issues arise, it will move to Implemented by a CAP team member.
Once an implemented CAP has been released in a specified version, the CAP should be updated with the protocol version that the implementation targets. From there, once a majority of validators on the network have accepted the implementation, it will move to Final.
CAP Core Team: Nicolas (SDF), Jed (SDF), David (SDF)