Skip to content

Understanding multiple trait definitions #184

@whoabuddy

Description

@whoabuddy

During the last Clarity WG on 6/11/2024 call we discussed traits for SIP-009 and SIP-010, and there was some confusion over whether everyone has to use the same trait reference or if someone can use a duplicate.

Pulling from my memory, it should be possible to use a trait deployed at your own address as long as the trait contains the same code as the SIP-009 and SIP-010 traits on mainnet.

In practice there may have been some challenges with this:

  • how does this affect DEX or NFT marketplaces?
  • how does this affect SIPs like SIP-019 for metadata, which uses SIP-009 and SIP-010 traits?
  • how are people handling which trait to use now?
  • is this defined anywhere in more detail that we can reference?

This older PR added the trait definitions to each SIP, which are now out of date for testnet following the reset.

Tagging @obycode and @setzeus for additional reseearch and input to start!

Also @jcnelson time permitting - I remember we've discussed this topic in past blockchain meetings!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions