Skip to content
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

CIP-0088? | Token Policy Registration #467

Merged
merged 33 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
aaad960
Add first draft of the on-chain token policy registration CIP.
Crypto2099 Feb 27, 2023
6396990
qualify pull request discussion URL
rphair Mar 6, 2023
87cee97
correct anchor for CIP-0036 URL
rphair Mar 6, 2023
f1981c0
reformat license to standard CIP form
rphair Mar 6, 2023
18bc58a
Merge branch 'cardano-foundation:master' into token-registration
Crypto2099 Mar 7, 2023
131a338
Add proposed CIP-26 Fungible Token registration along with examples a…
Crypto2099 Mar 7, 2023
79ff0f3
Merge remote-tracking branch 'origin/token-registration' into token-r…
Crypto2099 Mar 7, 2023
a8472f3
Minor formatting changes for CIP-26 README.md as well as first draft …
Crypto2099 Mar 8, 2023
d6ef38f
Minor updates to the URI Array schema definition and adding CIP-25 su…
Crypto2099 Mar 8, 2023
e300829
Update CIP-XXXX/README.md
Crypto2099 Mar 15, 2023
24d8fdc
Update directory structure to use proposed CIP #88 and add 867 metada…
Crypto2099 Mar 24, 2023
6e4ca32
Merge branch 'token-registration' of https://github.com/Crypto2099/CI…
Crypto2099 Mar 24, 2023
aadb582
Update CIP Title
Crypto2099 Mar 24, 2023
a18a571
Merge branch 'cardano-foundation:master' into token-registration
Crypto2099 Mar 24, 2023
9b00dcc
**CIP-0088: Token Policy Registration**
Crypto2099 Mar 24, 2023
36633e6
Merge remote-tracking branch 'origin/token-registration' into token-r…
Crypto2099 Mar 24, 2023
92999f7
**CIP-0088: Token Policy Registration**
Crypto2099 Mar 25, 2023
36f4a4f
**CIP-0088: Token Policy Registration**
Crypto2099 Mar 25, 2023
73efd08
Update CIP-0088/README.md
Crypto2099 Mar 25, 2023
b393db2
Update CIP-0088/README.md
Crypto2099 Mar 25, 2023
f5b8c59
**CIP-0088: Token Policy Registration**
Crypto2099 Mar 28, 2023
02d70a6
Merge remote-tracking branch 'origin/token-registration' into token-r…
Crypto2099 Mar 28, 2023
2194e4e
**CIP-0088: Registration Certificates**
Crypto2099 Mar 28, 2023
2b89192
**CIP-0088: Registration Certificates**
Crypto2099 Mar 28, 2023
c3cf7e8
**CIP-0088: Registration Certificates**
Crypto2099 Mar 28, 2023
46dbafd
- Add NFT Project Details CDDL and Specification Details
Crypto2099 Mar 28, 2023
8b6d7d6
Correct minor capitalization issue in NFT-Project-Details.md
Crypto2099 Mar 28, 2023
3c9fdfa
Some minor changes to CDDL specs and building out a better directory …
Crypto2099 Apr 2, 2023
f074536
Merge branch 'master' into token-registration
rphair Jul 8, 2023
f6c1d69
Updates to CIP-88:
Crypto2099 Nov 17, 2023
3504937
Fix YAML header
Crypto2099 Nov 17, 2023
637f023
Update CIP-0088/README.md
Crypto2099 Nov 20, 2023
221453a
Update Native Script scope
Crypto2099 Dec 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions CIP-XXXX/CIP-25/CIP25.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"25": {
"1": {
"0": "SpaceBudz",
"1": [
"10,000 SpaceBudz are out there.",
"Where will your SpaceBudz take you?"
],
"2": [
"https://",
"static.spacebudz.io",
"/images/logo.png"
],
"3": [
"https://",
"static.spacebudz.io",
"/images/banner.jpg"
],
"4": 0,
"5": {
"twitter": [
"https://",
"twitter.com/spacebudzNFT"
],
"discord": [
"https://",
"discord.gg/spacebudz"
]
},
"6": "SpaceBudz"
}
}
}
132 changes: 132 additions & 0 deletions CIP-XXXX/CIP-25/CIP25.schema.json
rphair marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
{
"$id": "https://raw.githubusercontent.com/Crypto2099/cardano-schemas/main/cip867/cip25.json",
"title": "CIP-25: Non-Fungible Tokens",
"description": "Additional context for NFT policy declaring support for CIP-25 or CIP-68 NFT standards",
"type": "object",
"properties": {
"25": {
"type": "object",
"properties": {
"1": {
"title": "Project Details",
"description": "Describe top-level details about the NFT Project",
"type": "object",
"properties": {
"0": {
"title": "Policy Name",
"description": "The collection name for NFTs minted under this policy",
"type": "string",
"maxLength": 64
},
"1": {
"title": "Policy Description",
"description": "Description for the NFT project",
"type": "array",
"items": {
"type": "string",
"maxLength": 64
}
},
"2": {
"title": "Project Image",
"description": "Project icon image URI",
"$ref": "#/$defs/uriArray"
},
"3": {
"title": "Project Banner Image",
"description": "Project banner image URI",
"$ref": "#/$defs/uriArray"
},
"4": {
"title": "Not Safe for Work Flag",
"description": "Flag whether the NFTs in the policy contain sensitive content that may not be suitable for all audiences",
"type": "integer",
"enum": [
0,
1
]
},
"5": {
"title": "Social Media URIs",
"description": "An object containing links to social media profiles for the project",
"type": "object",
"additionalProperties": {
"title": "Social Media URI",
"$ref": "#/$defs/uriArray"
}
},
"6": {
"title": "Project Name",
"description": "The name of the project creating this collection",
"type": "string",
"maxLength": 64
}
},
"required": [
"0"
]
}
},
"required": [
"1"
]
}
},
"required": [
"25"
],
"$defs": {
"uriArray": {
"title": "URI Array",
"$comment": "Because Cardano has a 64-character per string limit in on-chain JSON. Long strings should be broken up into an array of string parts. Particularly helpful for URIs that point to a resource on the internet is breaking URIs by scheme and path. This allows explorers to quickly and easily identify the type of resource before proceeding.",
"type": "array",
"minItems": 2,
"items": [
{
"title": "URI Scheme",
"description": "The protocol schema definition",
"type": "string",
"examples": [
"https://",
"ar://",
"ipfs://"
],
"minLength": 4,
"maxLength": 64
},
{
"title": "URI Path",
"description": "One or more strings (64-character limit) to compose the URI",
"type": "string",
"minLength": 1,
"maxLength": 64,
"examples": [
"faucet.spacecoins.io",
"bafkreibva6x6dwxqksmnozg44vpixja6jlhm2w7ueydkyk4lpxbowdbqly",
"WRi9jboeKx1fbjcvO5q0kshaMmdaYgDnYlMEy-loZeY"
]
}
],
"additionalItems": {
"title": "Path (Cont.)",
"type": "string",
"minLength": 1,
"maxLength": 64
},
"examples": [
[
"ar://",
"WRi9jboeKx1fbjcvO5q0kshaMmdaYgDnYlMEy-loZeY"
],
[
"https://",
"spacecoins.io"
],
[
"ipfs://",
"bafkreibva6x6dwxqksmnozg44vpixja6jlhm2w7ueydkyk4lpxbowdbqly"
]
]
}
}
}
Loading