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-0102? | Royalty Datum Metadata #551

Merged
merged 30 commits into from
Oct 17, 2023

Conversation

SamDelaney
Copy link
Contributor

@SamDelaney SamDelaney commented Jul 13, 2023

The inability to create trustless onchain royalty validation with CIP 27 is a major drawback to Cardano NFTs. The pattern defined in CIP 68 represents an opportunity to upgrade the standard to support onchain validation. CIP-102 aims to eliminate that drawback and demonstrate better support for developers, NFT creators, and NFT collectors, ultimately attracting dapps & NFT projects that would otherwise have taken their talents to another blockchain.

This specification is largely based on the royalty specification in Nebula, with a couple key departures:

  1. The royalty token is recommended to be locked at a script address, rather than stored in the user's wallet. This encourages projects to guarantee royalties won't change by sending their royalties to an always-fails (or similar) script address, but still allows for creative royalty schemes and minimizes disruption to existing projects.
  2. The policyId of the royalty NFT must match that of the reference NFT. This enables lookups based on the user token in the same way as is done for the other tokens specified in CIP 68.

The specification here is made to be as minimal as possible. This is done with expediency in mind and the expectation that additional changes to the specification may be made in the future. The sooner we have a standard established, the sooner we can make use of it. Rather than attempting to anticipate all use cases, we specify with forward-compatibility in mind.

If you're interested in Ikigai's internal discussion that preceded this, check out ikigai-github#1.


(rendered proposal in branch)

@GeorgeFlerovsky
Copy link
Contributor

Interesting proposal! I'll have to read it more in-depth over the weekend, but your approach is promising.

@Ryun1 Ryun1 added Update Adds content or significantly reworks an existing proposal Category: Tokens Proposals belonging to the 'Tokens' category. labels Jul 16, 2023
@Ryun1 Ryun1 changed the title CIP-0068 | Add Royalty Support CIP-0068 Update | Add Royalty Support Jul 16, 2023
@rphair rphair self-assigned this Jul 27, 2023
@rphair rphair added the CIP-0067: new label Adding a new label to CIP-0067 label Jul 27, 2023
Copy link
Collaborator

@rphair rphair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added this to the agenda for the upcoming scheduled CIP meeting on 01 August (https://hackmd.io/@cip-editors/70). The most important question to answer ASAP with a quick review & debate there (if not settled here already) is whether this needs to be a separate CIP.

1 - New token types: do they belong in CIP68 at all?

We have a precedent in CIP13 (pending #559) so that it will only define a general framework for interpretation + the original 2 protocols it was conceived with... with further CIPs submitted for further protocol additions. For CIP13 that would be newly defined URI authorities like //claim, and for CIP68 this would be the new token types 500 and thereafter.

As the author of that proposal and editor I would prefer new CIPs for the new token types, with the author of that type clearly defined in the new CIP header as well as the PR... not so that each author can "take credit" but more importantly to assign responsibilities for review, acceptance, and implementation. (cc @KtorZ)

Most vitally I foresee that CIP68 is going to be monstrous — both in size and editorial difficulty, given we are already seeing concurrent work on different token types (currently 444 and 500) — if new types keep being added to CIP68 itself.

2 - Versioning

Some versioning needs to be done to ensure metadata processors aren't thrown off by the new 500 type (@mmahut claimed this was a problem with Blockfrost and 444). The last decision as per #523 is that:

  • the version number refers to the whole protocol, and
  • the version field specified for each token type indicates in which versions this token type is supported.

So if that explanation & my understanding are correct, if keeping this addition in CIP68 itself you would need to:

  • change the overall CIP68 version to 3;
  • update the existing token types to add a version 3 as an acceptable value;
  • define your 500 token as only being valid for version 3 (currently it just says 1, as all new entries would in our CIP main branch without CIP-0068 | Bump version for RFT #523 not being merged yet).

I won't suggest code changes here because

3 - Sources

I would assume your "Collaborator Discussion" ikigai-github#2 didn't include anyone outside Ikigai. If so then there's no reason to change anything, but if not then it would be compelling to list those parties here (and maybe in the CIP itself, in the Acceptance section).


@alessandrokonrad could you please look at this & my comments above... not as the CIP68 author, or any expectations of you as a "maintainer", but

  • partly because of the work being based on Nebula
  • mainly the questions about how the new asset types should be versioned, and more generally whether they should be added to CIP68 in the first place (as per your 444 CIP-0068 | Bump version for RFT #523 (comment)).

@rphair rphair removed their assignment Jul 27, 2023
@rphair rphair requested review from KtorZ and Ryun1 July 27, 2023 11:35
@SamDelaney
Copy link
Contributor Author

Thanks for the reply! Responding in order here.

  1. I'm quite happy to turn this into a new CIP if you all think that would be better. I leave that to your judgement.

  2. The changes to versions makes sense. Thank you for clarifying that for me. I had conceptualized it differently but I agree your version is better. I'll follow your lead and wait before making code changes.

  3. The collaborator discussion was intended to give developers already working on implementations a chance to give input before moving to the more solidified process here. I reached out to the developers I knew of who were doing so, but didn't get any feedback beyond approving DMs so I decided to go ahead and move it here. Linking that this PR to that one was a misstep, and I undid the tag, but I guess the link persists. Sorry 'bout the distraction.

@rphair
Copy link
Collaborator

rphair commented Jul 28, 2023

@SamDelaney you would be welcome at the next CIP editors' meeting above (Discord invite https://discord.gg/kyaTyzkBqd). This PR isn't slated for a detailed review, but the question about whether this should be a separate CIP would likely be covered, and I believe you should be involved in that discussion. 🙂

@Crypto2099
Copy link
Collaborator

I really like the elegance of this solution for royalties when working w/ CIP-68 tokens.

I believe I would tend to agree that for long-term management and ease these individual/new sub-tokens should be broken out into their own CIPs where they can be individually iterated and ideated w/o potential merge issues arising from concurrent attempts to modify the core document.

I like that the data structure of the royalty token in this case specifies some optional min fee, max fee, and is presumed to be an array of recipient addresses (although I think we'll be a long time before we see widespread support for multi-royalty recipients due to minUTxO).

Copy link
Collaborator

@Crypto2099 Crypto2099 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ultimately I have to question if this solution provides any additional "security" to a marketplace contract versus the currently off-chain CIP-27 implementations that we've seen. What happens if I submit my buy order w/o the reference UTxO for the royalty token? Can I still subvert the royalties? Is this fundamentally different or better than, say, putting the royalty information in alongisde a token in the listing datum instead?

Comment on lines 369 to 370
optional_big_int, ; min fee (absolute value in lovelace)
optional_big_int, ; max fee (absolute value in lovelace)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the min and max fee optional or are they required? If so, should there be a note that if you do not wish to set them then these values should be set to 0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are optional. optional_big_int is defined in CDDL above this, but perhaps it should be expressed in a less niche format as well.

They are both expected to be a bigint or not be included. Max fee being set to 0 to represent no max fee would be confusing, as it could easily be misread to mean no fees at all, i.e. if the implementer of the protocol missed that wrinkle.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Derp yeah, I guess I didn't read the names of the variables very well, but I would still add the ? to indicate in the CDDL that they are optional :)

```
Because the computational complexity of Plutus primitives scales with size, this approach significantly minimizes resource consumption.

To prevent abuse, it is **recommended** that the `royalty NFT` is stored at the script address of a validator that ensures the specified fees are not arbitrarily changed, such as an always-fails validator.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should change the conception that we had during the writing of CIP-27 that royalties should never change. What if I want to put royalties on a collection but only for the first year, or to remove royalties if I no longer intend to continue supporting and working on a project? Having mutable royalties does introduce additional complexity in needing to maintain the token and/or lock it in a script that only you (or a DAO multisig, etc) can control... But probably best for the long term if we do not encourage people to lock up minUTxO worth of Lovelace in a token just for the sake of "not changing the royalties".

Copy link
Contributor Author

@SamDelaney SamDelaney Jul 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with this notion to some degree. There are lots of perfectly valid use cases for changing royalties. The key word here is recommended. With this distinction we allow for such use cases, as well as accommodating existing protocols such as Nebula which store the royalty in wallets rather than script addresses.

However, I believe the recommendation against arbitrary royalty control is important. A collection whose fees are controlled arbitrarily can be easily sabotaged at the whim of the creator by increasing the royalties beyond a reasonable amount. This is bad assurance for buyers, and we should set the precedent for better schemes - the simplest of which is an always-fails validator.

2. Look up `royalty NFT` and find the output it's locked in. (off-chain)
3. Reference the output in the transaction. (off-chain)
4. Verify validity of datum of the referenced output by checking if policy ID of `royalty NFT` and `user token` and their asset names without the `asset_name_label` prefix match. (on-chain)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having you tested the realistic feasibility of adding this logic to a standard "marketplace" smart contract? Especially with multiple royalty recipients? While this is certainly a novel concept and a step in the right direction, I wonder on the impact to CPU, memory, and subsequent transaction fees by using this reference token datum versus other, largely off-chain solutions atm.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have implemented this in Grabbit, but haven't benchmarked it very thoroughly yet. I can get back to you on CPU, memory, etc. on the client side.

As far as TX fees go, this shouldn't have much of an impact. Reading the fee is as simple as parsing the datum, which doesn't require consuming it at all.

One valid concern is the memory cost to the blockchain itself. This is definitely something worth thinking about, and the design has carefully considered memory usage to be as minimal as possible. I personally think the ability for validators to read the royalties directly & trustlessly is worth the cost many times over.

@Crypto2099
Copy link
Collaborator

Just brainstorming aloud at this point, but wondering if it would be advisable to provide an example of the logic that would need to be added to a Plutus minting script in order to allow only the creator/deployer of the contract to issue this token once? Bit of a philosophical question but it's all well and good to propose a new standard, but having some example code (most likely hosted in a separate repo of your own) showing how this can be used would help ease the adoption process for new standards.

Also a bit of selfish self-interest as this sort of "informational" token can/could be useful for my own CIP-88 validation for Plutus minting scripts. :)

@SamDelaney
Copy link
Contributor Author

@SamDelaney you would be welcome at the next CIP editors' meeting above (Discord invite https://discord.gg/kyaTyzkBqd)

Thanks! I will definitely be there. 🙂

Ultimately I have to question if this solution provides any additional "security" to a marketplace contract versus the currently off-chain CIP-27 implementations that we've seen. What happens if I submit my buy order w/o the reference UTxO for the royalty token? Can I still subvert the royalties? Is this fundamentally different or better than, say, putting the royalty information in alongisde a token in the listing datum instead?

This is a good point. Let me think on this for a bit and get back to you.

Just brainstorming aloud at this point, but wondering if it would be advisable to provide an example of the logic that would need to be added to a Plutus minting script in order to allow only the creator/deployer of the contract to issue this token once? Bit of a philosophical question but it's all well and good to propose a new standard, but having some example code (most likely hosted in a separate repo of your own) showing how this can be used would help ease the adoption process for new standards.

This is absolutely something I plan on doing. I even have a Catalyst proposal out to help fund it's development. 🙂

@SamDelaney
Copy link
Contributor Author

SamDelaney commented Jul 31, 2023

Ultimately I have to question if this solution provides any additional "security" to a marketplace contract versus the currently off-chain CIP-27 implementations that we've seen. What happens if I submit my buy order w/o the reference UTxO for the royalty token? Can I still subvert the royalties? Is this fundamentally different or better than, say, putting the royalty information in alongisde a token in the listing datum instead?

Thanks again @Crypto2099 for bringing this problem to my attention. Somehow I had missed it until now. I got a chance to think about it over the weekend and I think I've come up with a good solution for it:

I propose a new addition is made to the standard that specifies an optional boolean hasRoyalty field in the Reference NFT's datum.

  • If the field is present and set to "True" the validators must require a royalty input.
  • If the field is present and set to "False" the validators don't need to search for a royalty input.
  • If the field is not present, validators should accept a royalty input, but not require one.

In addition to providing a way to create guaranteed royalties, this has several advantages:

  1. Backwards Compatibility - Existing royalty implementations will still work, just not have the same assurances.
  2. Minimal Storage Requirement - An optional boolean has about the smallest memory impact possible. This is especially important because it's attached to the Reference NFT and will be set for each individual NFT.
  3. Intra-Collection Utility - This would already allow for minting a collection with some NFTs with royalties and some without. It's also easy to imagine a future version which changes this field to a number and is used to allow for multiple versions of royalties for even more granular control.

It isn't functionally important, but this field could make sense at a couple of different locations in the Reference Datum. I don't have strong feelings about these, but if any of you do please let me know.

  • As a part of the extra field, leaving the Reference NFT specification unchanged
  • As a top level field, changing the Reference NFT datum spec' to:
...

? hasRoyalty : bool

datum = #6.121([metadata, version, hasRoyalty, extra])

I'm leaning toward the latter of these two, which I think makes for a clearer developer experience & will be easier to spot if accidentally excluded, but I could certainly be convinced of the alternative.

@rphair rphair changed the title CIP-0068 Update | Add Royalty Support CIP-0068 | Add Royalty Support Aug 1, 2023
@SamDelaney SamDelaney changed the title CIP-0068 | Add Royalty Support CIP-???? | Onchain Royalties Aug 1, 2023
@rphair
Copy link
Collaborator

rphair commented Aug 1, 2023

Resolution from CIP editors' meeting in last hour: @SamDelaney has agreed to rework this PR as an independent CIP rather than a modification to CIP68. We'll leave it in this PR to avoid fragmenting the discussion so far.

That still leaves the need for CIP68 to be re-written a bit: to point to other possible CIPs that define new token types. We resolved that the most recent inclusion of 444 will be the last addition of a new token type to CIP68, in a pattern more-or-less following the baseline set in CIP-0013 (#559).

  • @Crypto2099 has graciously allowed himself to be volunteered to submit a separate PR to open up CIP68 in that way: although not solely responsible & all editors will keep an eye on it to share the responsibility. cc @alessandrokonrad

We acknowledged that CIP67 was supposed to make CIP68 updates unnecessary for new token types, but in practice the documentation & metadata structures tend to require their own text documentation.

CIP-0102/README.md Outdated Show resolved Hide resolved
CIP-0102/README.md Outdated Show resolved Hide resolved
CIP-0102/README.md Outdated Show resolved Hide resolved
CIP-0102/README.md Outdated Show resolved Hide resolved
CIP-0102/README.md Outdated Show resolved Hide resolved
Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>
CIP-0102/README.md Outdated Show resolved Hide resolved
CIP-0102/README.md Outdated Show resolved Hide resolved
CIP-0102/README.md Outdated Show resolved Hide resolved
rphair and others added 6 commits October 17, 2023 13:13
Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>
Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>
Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>
Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>
Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>
Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>
@rphair
Copy link
Collaborator

rphair commented Oct 17, 2023

@SamDelaney looks ready to merge now as soon as we answer the question about whether @Ryun1's suggested cddl code tag is suitable (I agree with him that it's suitable): #551 (comment)

@rphair
Copy link
Collaborator

rphair commented Oct 17, 2023

p.s. since I think we'll therefore try to set a precedent for tagging cddl pending probable eventual support of this syntax on GitHub, I'll commit that change & push this forward... since we did promise an effective merge today 🤓

rphair and others added 2 commits October 17, 2023 14:44
Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>
Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>
@rphair rphair merged commit 83cf32e into cardano-foundation:master Oct 17, 2023
@SamDelaney
Copy link
Contributor Author

Ah sorry about the delay here I had several meetings in quick succession. Looks like you got the tickboxes in. I was going to include Nebula & Grabbit as implementors & add the CIP 68 boilerplate, but I don't think any of those are urgent, so I'll add them to the reference implementation PR when I make that.

Thanks for the merge! Really glad to have this ratified! 🎉

@rphair
Copy link
Collaborator

rphair commented Oct 17, 2023

@SamDelaney since this was agreed at meeting # 75 you can add those implementors here as a change request & I'll include them. ☺️ #606

Likewise with the boilerplate language and I apologise for missing that. I was working to satisfy 2 goals and my head didn't sort out the schedule & priorities right. The boilerplate is just a delta to the CIP text if I understood correctly & if you can shoehorn it into #606 then I'd be happy to merge it there if you think it's appropriate & not too difficult to add the edits that way. 😖

@yHSJ
Copy link

yHSJ commented Oct 19, 2023

First of all, congrats on the merge @SamDelaney! I am really happy to see a push for a standard for CIP68 style royalties.

I'm sorry I'm late to the process, but I do see there are already discussions about submitting change requests so I felt I could still share my feedback:

1) Rates that cannot be represented

I know this was discussed in the meeting (@Crypto2099 brought it up), but the method of storing the rate is rather restrictive. There are lots of potential royalty values that cannot be represented in this way. I randomly selected one of these values (7%) and checked how many collections currently have 7% royalties in the JPG Store database. We have 529 collections with a 7% royalty.

In my opinion, a royalty standard should support as many royalty rates as possible, and this is not achieving that goal. Why not simply store the rate as an integer x, where x = 10000 * rate with integer multiplication? Of course this cannot represent all possible royalty percentages, but there are only 14 collections with royalty values that would not be supported by this representation currently in the JPG database.

2) Undefined Behavior and Handling Errors
There are a couple of places in this CIP that I can identify potential undefined behavior. This is not unique to this CIP at all and lots of the issues are largely inherited from the CIPs this one is based on, but I think that this CIP could do a better job of handling them. They are:

  • There is no restriction that states the required quantity of the royalty token.
    • I know the class is NFT, but nowhere in CIP-67 nor CIP-68 does it actually enforce that an asset in the NFT class have a quantity <= 1. One could argue that the name of the class makes it obvious, but it should be explicit. Furthermore, what happens if that implied restriction is violated? Are both the royalty tokens invalid? Should we accept the older token because it was valid under this specification, or the newer one because it was minted on a policy and thus the owner intended for that to become the new royalty?
  • There are no restrictions (beyond the above) on fee value.
    • That means that it is valid to request, for example, a 10,000% royalty. I guess technically that could be requested, but should validators require that? Does it make sense to impose a validity range of [0,100] on the percent fee? If that is imposed, what should happen if a royalty fee is outside of that range? Should it be totally ignored or rounded to the nearest valid value?

3) Ambiguous Language
This is an issue with most CIPs, in my opinion. But, the language of "must" and "should" are often slightly ambiguous. Though one can reasonably infer what is absolutely required and what is simply a suggestion, I really recommend following RFC-2119 to strictly define the language you are using, to avoid ambiguity and make the standard stronger.

@SamDelaney
Copy link
Contributor Author

SamDelaney commented Oct 23, 2023

Hi @yHSJ, thanks for weighing in! Let me answer these in turn:

1) Rates that can not be represented

I realize now I didn't include in language specifying that rounding would be allowed for values where the onchain value doesn't result in a whole number. 7% is absolutely doable with this protocol. Here's what that would look like:

; Given a royalty fee of 7% (0.07)
; To store this in the royalty datum
1 / (0.07 / 10) => 142.857... => 143
; To read it back
10 / 143 => 0.06993... => 0.070

I think this example is probably a better illustration, and will likely replace the existing example as part of #606 assuming I get approval. I will also add a bit of wording in the specification that acknowledges rounding.

2a) Restrictions on NFT quantity

This is a very good point. For now, there is a valid use case for wanting multiple royalty tokens - having multiple royalty policies within a collection that can be chosen by the frontend. However, there is also potential for abuse, where collections might mint a second, much higher royalty to deceive users.

I think for now multiple royalty tokens shouldn't be explicitly supported or prohibited. If collections mint multiple tokens, which royalty datum is referenced can be left to the user or platform constructing the transaction. This makes the type of abuse I pointed out easy to circumvent, but doesn't prevent people trying to make multiple royalty policies.

I have plans for a better way of doing multiple royalty policies in a collection that I left out of version 1 for the sake of simplicity. Once that change comes along (I plan to introduce V2 shortly after I finish the reference implementation), the valid use case will be supported and it will make sense to explicitly prohibit multiple royalty tokens.

P.S. this should also be raised for clarification on CIP 67/68. Maybe in #586?

2b) Restrictions on fee value

While there isn't really any reason why NFTs can't have >100% royalties, I don't think it's fair to expect platforms to support that when many may already have checks to ensure royalties don't go above that number.

I think a recommended validity window of [1, 100], with the caveat that royalties outside that window MAY be rounded to fit makes the most sense. This way creators are allowed to create extreme royalties if they want, but we don't force platforms to make significant changes to logic to support minor edge cases.

3) Ambiguous Langauge

You're absolutely right this should be following RFC-2119. I had implicitly made that assumption, but not formatted correctly or stated that explicitly. Will do a pass to make sure this works as part of #606.

@yHSJ
Copy link

yHSJ commented Oct 23, 2023

Thank you for considering my feedback @SamDelaney!

1) Rates that can not be represented

I realize now I didn't include in language specifying that rounding would be allowed for values where the onchain value doesn't result in a whole number.

I see, this makes a lot more sense and allows for many more potential royalty values. That said, I still feel this is more complicated than it needs to be. Why not store the fee as round(royalty_percentage * 10^x) where x allows you to specify the possible precision of the royalty? I would suggest x to be 3 or 4 to easily allow for decimals.

While your encoding of the value absolutely works, I fear it is unnecessarily overcomplicated. Perhaps there are some reasons your encoding is better that I haven't considered yet, though.

2a) Restrictions on NFT quantity

For now, there is a valid use case for wanting multiple royalty tokens - having multiple royalty policies within a collection that can be chosen by the frontend. However, there is also potential for abuse, where collections might mint a second, much higher royalty to deceive users.

I agree that there are cases where having multiple royalty tokens make sense. However, I think if that is valid, there MUST be a default state specified in the standard since users are not likely to specify a preferred royalty on every platform.

Furthermore, while I appreciate the use of reference datums to enforce royalties, it is important to keep in mind this would require a new contract for marketplaces, such as JPG Store, which would increase friction in adoption. JPG Store could easily much more easily support this CIP if the example section titled Retrieve metadata as 3rd party was clearly stated as a valid way for a marketplace to enforce the royalties. I think that is implied, but it could be stated explicitly that an implementor can follow the standard with either example.

P.S. this should also be raised for clarification on CIP 67/68. Maybe in #586?

Yes, absolutely. @Crypto2099 knows that I have a laundry list of "implementor speed bumps" we ran into when implementing the CIP at JPG Store. Hopefully I can find time to get those thoughts organized and communicated in a constructive and meaningful way soon.

2b) Restrictions on fee value

While there isn't really any reason why NFTs can't have >100% royalties, I don't think it's fair to expect platforms to support that when many may already have checks to ensure royalties don't go above that number.

Completely agreed. There is no technical requirement preventing it, but it is a business requirement for many platforms.

This is a poorly formed and incomplete thought, but would it make sense to write a "sister CIP" that allows platforms to specify the valid royalty range they support so that users can know what to expect? This could be done through an on-chain datum or an off-chain repository.

Thank you for considering my feedback and I'm happy to hear that it has been helpful. Please let me know if it makes more sense to continue this conversation in #606, or to open a new issue and discuss it there. Seems like those would be more appropriate places to have this conversation than an already merged PR.

@rphair
Copy link
Collaborator

rphair commented Oct 24, 2023

@SamDelaney: Will do a pass to make sure this works as part of #606.

Thanks for keeping an eye on that & sorry for what may have been a premature merge on this. We will merge that PR when we get 1 more editorial approval, but that may not happen soon because of editors involved in the Cardadno Summit. If it merges before you've made those language / implementation / other updates, we can do another PR on your CIP as soon as you see fit & I'll do what I can to expedite it.

@yHSJ: Please let me know if it makes more sense to continue this conversation in #606, or to open a new issue and discuss it there. Seems like those would be more appropriate places to have this conversation than an already merged PR.

#606 was open for @SamDelaney to make changes that were discussed at our last CIP meeting, since I inadvertently merged it before all those pending changes were included in this PR branch, but it wouldn't make sense to discuss CIP content issues there because it's only for editorial items & those last-minute additions that were already discussed. Your contribution would be welcome if & when he submits another PR and/or in a newly created issue 🤓

Ryun1 added a commit to Ryun1/CIPs that referenced this pull request Nov 17, 2023
* First pass: introduce royalty metadata as specified in Nebula

* minor fixes

* fix token name

* consolidate TN spec & rename token -> NFT

* require royalty NFT policyId to match reference NFT

* Change royalty location to suggestion

* Elaborate on fee calculation

* Add 500 token to CIP 67 registry

* move to a new CIP

Signed-off-by: samdelaney <sam@thedelaneys.net>

* reference datum flag spec

Signed-off-by: samdelaney <sam@thedelaneys.net>

* Fix leftover whitespace

* Path to Active & References

* update CIP-67 registry entry

* changes per review

* Update preamble to match CIP-0001 standard

* assigned 102 as CIP number

* move docs to new folder

* update registry entry

* add registry documentation link

* Apply suggestions from code review

Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>

* all header level fixes agreed at CIP meeting

Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>

* all header level fixes agreed at CIP meeting

Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>

* agreed at meeting null implementors mandatory

Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>

* agreed at meeting to use tickboxes

Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>

* agreed at meeting to use tickboxes

Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>

* agreed at meeting to use tickboxes

Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>

* adding `cddl` syntax tag pending eventual GitHub support

Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>

* adding `cddl` syntax tag pending eventual GitHub support

Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>

---------

Signed-off-by: samdelaney <sam@thedelaneys.net>
Co-authored-by: Robert Phair <rphair@cosd.com>
Co-authored-by: Ryan Williams <44342099+Ryun1@users.noreply.github.com>
@rphair rphair removed the State: Last Check Review favourable with disputes resolved; staged for merging. label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Tokens Proposals belonging to the 'Tokens' category. CIP-0067: new label Adding a new label to CIP-0067
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants