Skip to content

Commit c063fed

Browse files
authored
Merge branch 'master' into CIP-123-Metadata
2 parents ab48805 + 94cb847 commit c063fed

File tree

256 files changed

+27461
-5589
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

256 files changed

+27461
-5589
lines changed

.github/CIP-TEMPLATE.md

+16-15
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,21 @@ Authors:
77
- John Doe <[email protected]>
88
Implementors: []
99
Discussions:
10-
- https://github.com/cardano-foundation/cips/pulls/?
10+
- https://github.com/cardano-foundation/CIPs/pull/?
1111
Created: YYYY-MM-DD
1212
License: CC-BY-4.0
1313
---
1414

1515
<!-- Existing categories:
1616
17-
- Meta | For meta-CIPs which typically serves another category or group of categories.
18-
- Reward-Sharing Schemes | For CIPs discussing the reward & incentive mechanisms of the protocol.
19-
- Wallets | For standardisation across wallets (hardware, full-node or light).
20-
- Tokens | About tokens (fungible or non-fungible) and minting policies in general.
21-
- Metadata | For proposals around metadata (on-chain or off-chain).
22-
- Tools | A broad category for ecosystem tools not falling into any other category.
23-
- Plutus | Changes or additions to Plutus
24-
- Ledger | For proposals regarding the Cardano ledger
25-
- Catalyst | For proposals affecting Project Catalyst / the Jörmungandr project
17+
- Meta | For meta-CIPs which typically serves another category or group of categories.
18+
- Wallets | For standardisation across wallets (hardware, full-node or light).
19+
- Tokens | About tokens (fungible or non-fungible) and minting policies in general.
20+
- Metadata | For proposals around metadata (on-chain or off-chain).
21+
- Tools | A broad category for ecosystem tools not falling into any other category.
22+
- Plutus | Changes or additions to Plutus
23+
- Ledger | For proposals regarding the Cardano ledger (including Reward Sharing Schemes)
24+
- Catalyst | For proposals affecting Project Catalyst / the Jörmungandr project
2625
2726
-->
2827

@@ -33,7 +32,7 @@ License: CC-BY-4.0
3332
<!-- A clear explanation that introduces the reason for a proposal, its use cases and stakeholders. If the CIP changes an established design then it must outline design issues that motivate a rework. For complex proposals, authors must write a Cardano Problem Statement (CPS) as defined in CIP-9999 and link to it as the `Motivation`. -->
3433

3534
## Specification
36-
<!-- The technical specification should describe the proposed improvement in sufficient technical detail. In particular, it should provide enough information that an implementation can be performed solely on the basis of the design in the CIP. This is necessary to facilitate multiple, interoperable implementations. -->
35+
<!-- The technical specification should describe the proposed improvement in sufficient technical detail. In particular, it should provide enough information that an implementation can be performed solely on the basis of the design in the CIP. This is necessary to facilitate multiple, interoperable implementations. This must include how the CIP should be versioned, if not covered under an optional Versioning main heading. If a proposal defines structure of on-chain data it must include a CDDL schema in its specification.-->
3736

3837
## Rationale: how does this CIP achieve its goals?
3938
<!-- The rationale fleshes out the specification by describing what motivated the design and what led to particular design decisions. It should describe alternate designs considered and related work. The rationale should provide evidence of consensus within the community and discuss significant objections or concerns raised during the discussion.
@@ -47,10 +46,12 @@ It must also explain how the proposal affects the backward compatibility of exis
4746
<!-- Describes what are the acceptance criteria whereby a proposal becomes 'Active' -->
4847

4948
### Implementation Plan
50-
<!-- A plan to meet those criteria. Or `N/A` if not applicable. -->
49+
<!-- A plan to meet those criteria or `N/A` if an implementation plan is not applicable. -->
50+
51+
<!-- OPTIONAL SECTIONS: see CIP-0001 > Document > Structure table -->
5152

5253
## Copyright
53-
<!-- The CIP must be explicitly licensed under acceptable copyright terms. -->
54+
<!-- The CIP must be explicitly licensed under acceptable copyright terms. Uncomment the one you wish to use (delete the other one) and ensure it matches the License field in the header: -->
5455

55-
[CC-BY-4.0]: https://creativecommons.org/licenses/by/4.0/legalcode
56-
[Apache-2.0]: http://www.apache.org/licenses/LICENSE-2.0
56+
<!-- This CIP is licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/legalcode). -->
57+
<!-- This CIP is licensed under [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0). -->

.github/CPS-TEMPLATE.md

+18-10
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ Authors:
77
- John Doe <[email protected]>
88
Proposed Solutions: []
99
Discussions:
10-
- https://github.com/cardano-foundation/cips/pulls/?
10+
- https://github.com/cardano-foundation/CIPs/pull/?
1111
Created: YYYY-MM-DD
12+
License: CC-BY-4.0
1213
---
1314

1415
<!-- Existing categories:
1516
16-
- Meta | For meta-CIPs which typically serves another category or group of categories.
17-
- Reward-Sharing Schemes | For CIPs discussing the reward & incentive mechanisms of the protocol.
18-
- Wallets | For standardisation across wallets (hardware, full-node or light).
19-
- Tokens | About tokens (fungible or non-fungible) and minting policies in general.
20-
- Metadata | For proposals around metadata (on-chain or off-chain).
21-
- Tools | A broad category for ecosystem tools not falling into any other category.
22-
- Plutus | Changes or additions to Plutus
23-
- Ledger | For proposals regarding the Cardano ledger
24-
- Catalyst | For proposals affecting Project Catalyst / the Jörmungandr project
17+
- Meta | For meta-CIPs which typically serves another category or group of categories.
18+
- Wallets | For standardisation across wallets (hardware, full-node or light).
19+
- Tokens | About tokens (fungible or non-fungible) and minting policies in general.
20+
- Metadata | For proposals around metadata (on-chain or off-chain).
21+
- Tools | A broad category for ecosystem tools not falling into any other category.
22+
- Plutus | Changes or additions to Plutus
23+
- Ledger | For proposals regarding the Cardano ledger (including Reward Sharing Schemes)
24+
- Catalyst | For proposals affecting Project Catalyst / the Jörmungandr project
2525
2626
-->
2727

@@ -43,3 +43,11 @@ Finally, goals may also serve as evaluation metrics to assess how good a propose
4343

4444
## Open Questions
4545
<!-- A set of questions to which any proposed solution should find an answer. Questions should help guide solutions design by highlighting some foreseen vulnerabilities or design flaws. Solutions in the form of CIP should thereby include these questions as part of their 'Rationale' section and provide an argued answer to each. -->
46+
47+
<!-- OPTIONAL SECTIONS: see CIP-9999 > Specification > CPS > Structure table -->
48+
49+
## Copyright
50+
<!-- The CPS must be explicitly licensed under acceptable copyright terms. Uncomment the one you wish to use (delete the other one) and ensure it matches the License field in the header: -->
51+
52+
<!-- This CPS is licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/legalcode). -->
53+
<!-- This CPS is licensed under [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0). -->
+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CIP-10 - Validate Registry JSON on Pull Request
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'CIP-0010/registry.json'
7+
8+
jobs:
9+
approve: # Pre-approval step
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Approve
13+
run: echo For security reasons, all pull requests need to be approved first before running any automated CI.
14+
15+
validate-json:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v3
20+
21+
- name: Set up Node.js
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: '21'
25+
26+
- name: Install dependencies
27+
run: npm install ajv-cli
28+
29+
- name: Validate JSON against schema
30+
run: npx ajv validate -s CIP-0010/registry.schema.json -d CIP-0010/registry.json > /dev/null

.gitignore

-5
This file was deleted.

0 commit comments

Comments
 (0)