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

Add EIP: ERC-721 Utilities Information Extension #6785

Merged
merged 4 commits into from
Jun 8, 2023

Conversation

OT-kraftchain
Copy link
Contributor

@OT-kraftchain OT-kraftchain commented Mar 27, 2023

No description provided.

@github-actions github-actions bot added s-draft This EIP is a Draft t-erc labels Mar 27, 2023
@eth-bot eth-bot changed the title Add EIP-5678: Add new utilities extension for ERC-721 (#5678) Add EIP: ERC-5678 - ERC-721 Utilities Extension Mar 27, 2023
@eth-bot
Copy link
Collaborator

eth-bot commented Mar 27, 2023

✅ All reviewers have approved.

@eth-bot eth-bot added e-consensus Waiting on editor consensus e-review Waiting on editor to review labels Mar 27, 2023
@github-actions github-actions bot added the w-ci Waiting on CI to pass label Mar 27, 2023
@OT-kraftchain OT-kraftchain force-pushed the eip-5678 branch 2 times, most recently from 36bbcfd to 09ff15c Compare March 27, 2023 10:48
@github-actions github-actions bot removed the w-ci Waiting on CI to pass label Mar 27, 2023
@github-actions github-actions bot added the c-new Creates a brand new proposal label Mar 27, 2023
@github-actions
Copy link

The commit 6153617 (as a parent of de1ced2) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci Waiting on CI to pass label Mar 27, 2023
@eth-bot eth-bot changed the title Add EIP: ERC-5678 - ERC-721 Utilities Extension Add EIP: ERC-721 Utilities Extension Mar 27, 2023
@github-actions github-actions bot removed the w-ci Waiting on CI to pass label Mar 27, 2023
EIPS/eip-5678.md Outdated
@@ -0,0 +1,203 @@
---
eip: 5678
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
eip: 5678
eip: 6785

Assigning PR number as ERC number.

@OT-kraftchain OT-kraftchain force-pushed the eip-5678 branch 2 times, most recently from d15f66a to 998d0d0 Compare March 28, 2023 07:03
@Pandapip1
Copy link
Member

@eth-bot rerun

EIPS/eip-6785.md Outdated Show resolved Hide resolved
EIPS/eip-6785.md Outdated Show resolved Hide resolved
EIPS/eip-6785.md Outdated Show resolved Hide resolved
EIPS/eip-6785.md Show resolved Hide resolved
assets/eip-6785/LICENSE Outdated Show resolved Hide resolved
assets/eip-6785/README.MD Outdated Show resolved Hide resolved
assets/eip-6785/abi/ERC6785.json Outdated Show resolved Hide resolved
assets/eip-6785/abi/IERC6785.json Outdated Show resolved Hide resolved
assets/eip-6785/contracts/ERC6785.sol Outdated Show resolved Hide resolved
assets/eip-6785/hardhat.config.js Outdated Show resolved Hide resolved
@eth-bot eth-bot changed the title Add EIP: ERC-721 Utilities Extension Add EIP: ERC-721 Utilities Information Extension May 21, 2023
EIPS/eip-6785.md Outdated

## Motivation

This specification aims to bring clarity what the utility associated with an NFT is and how to access this utility.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
This specification aims to bring clarity what the utility associated with an NFT is and how to access this utility.
This specification aims to clarify what the utility associated with an NFT is and how to access this utility.

EIPS/eip-6785.md Outdated
Relying on third-party platforms to obtain information regarding the utility of the NFT that one owns can lead to scams,
phishing or other forms of fraud.

Currently, utilities that are offered with NFTs, are not captured on-chain. We want the utility of an NFT to be part of
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Currently, utilities that are offered with NFTs, are not captured on-chain. We want the utility of an NFT to be part of
Currently, utilities that are offered with NFTs are not captured on-chain. We want the utility of an NFT to be part of

EIPS/eip-6785.md Outdated
phishing or other forms of fraud.

Currently, utilities that are offered with NFTs, are not captured on-chain. We want the utility of an NFT to be part of
the metadata of an NFT, and thus immutable. The metadata information would include: a) type of utility, b) description
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd be careful about claiming immutability here, since you're using URIs. The content located by the URI can be changed, unless it's a data:, ipfs:, or similarly immutable scheme.

EIPS/eip-6785.md Outdated
The `supportsInterface` method MUST return true when called with `ed231d73`

The original metadata SHOULD conform to the “ERC-6785 Metadata with utilities JSON Schema” which is a compatible
extension of the “ERC-721 Metadata JSON Schema” defined in `ERC-721`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
extension of the “ERC-721 Metadata JSON Schema” defined in `ERC-721`.
extension of the “ERC-721 Metadata JSON Schema” defined in ERC-721.

EIPS/eip-6785.md Show resolved Hide resolved
EIPS/eip-6785.md Outdated
Comment on lines 146 to 151
Instructions on how to access the utility should be available to the owner of an NFT, as it reduces the dependency on
third-party platforms and the possibility for fraud because the `utilityUri` containing the instructions can only come
from the entity that provides or facilitates the utility. Thus, the ability to set the `utilityUri` should be restricted
to the creator who's offering the utility. Since the `utilityUri` contains information that could be restricted to some
level and is dependent on a third party platform, the creator needs the ability to modify it in the event the platform
becomes unavailable or inaccessible.
Copy link
Contributor

Choose a reason for hiding this comment

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

Some of this paragraph seems to be adding requirements (sentences containing "should", "may", etc.) Requirements on implementations should go in the specification section.

The rationale section should explain why you made certain technical decisions within the EIP itself.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've moved some of this to the specification and then reworded some of what's left

EIPS/eip-6785.md Outdated Show resolved Hide resolved
@eth-bot eth-bot enabled auto-merge (squash) June 8, 2023 20:29
Copy link
Collaborator

@eth-bot eth-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

Copy link
Collaborator

@eth-bot eth-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@eth-bot eth-bot merged commit dbfcffe into ethereum:master Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-new Creates a brand new proposal e-consensus Waiting on editor consensus e-review Waiting on editor to review s-draft This EIP is a Draft t-erc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants