EIPs Explained

ERC-7548 · Draft · ERC · 2023-10-31

ERC-7548: Open IP Protocol built on NFTs

An ERC-721 extension for minting new "combo" NFTs by remixing existing NFTs, with pluggable licensing and an on-chain index of parent-child relationships between works.

What problem does it solve?

Creators publish far faster than traditional intellectual-property registration and licensing can keep up with. Remixes and derivative works are everywhere, but there is rarely a clear record of what they were built from, or permission from the original creators.

ERC-7548 proposes an "Open IP" model built on NFTs: an NFT stands for an IP, and whoever holds the NFT holds that IP. New works are minted by remixing existing NFTs, and the lineage is recorded on-chain so anyone can trace a derivative back to its sources.

How it works

The proposal has three modules:

Remix module (IERC721X) extends ERC-721. mint(components, hash) creates a new NFT, called a combo, from a list of components. Each component names an existing ERC-721 or ERC-1155 token, an amount, and a licenseId. hash identifies the algorithm used to produce the combo's metadata from its parts. getComponents(comboId) returns what a combo was made from, and ComboMinted is emitted on creation.

License module (ILicense). By default you can only remix NFTs you own. A license contract's verify(user, combo, components) decides whether someone else may use your NFT. The spec leaves the licensing model open: delegation, pay-per-use, auctions, AMM pricing and so on.

Network module (INFTNetIndexer) is meant to be a singleton shared by all implementations, so every remix relationship lives in one graph:

  • isParent(parent, child): was child built from parent?
  • isSibling(a, b): do two NFTs share parents, and which ones?
  • getParents(token): all inputs used to mint a token.

Remix rules are deliberately left to implementers too: whether ERC-1155 inputs are accepted, which collections are allowed, and whether inputs are consumed.

Sample code

Minting a combo from two NFTs and checking lineage (Solidity):

IERC721X.Component[] memory parts = new IERC721X.Component[](2);
parts[0] = IERC721X.Component({
    token: IERC721X.Token({tokenAddress: address(characters), tokenId: 7}),
    amount: 1,
    licenseId: 0              // default: I own it
});
parts[1] = IERC721X.Component({
    token: IERC721X.Token({tokenAddress: address(backgrounds), tokenId: 3}),
    amount: 1,
    licenseId: 1              // licensed from another holder
});

combos.mint(parts, "<metadata-algorithm-hash>");

// later, anywhere
bool derived = indexer.isParent(
    IERC721X.Token(address(characters), 7),
    IERC721X.Token(address(combos), comboId)
);

Things to know

  • Status: Draft. The spec has no reference implementation yet, and how a licenseId maps to a license contract is left to implementations.
  • "Holding the NFT = holding the IP" is the protocol's premise, not a legal rule. Whether an on-chain license grants real-world rights depends on the license terms and applicable law.
  • Minting touches several external contracts (remix, license, network), so guard against reentrancy and expect higher gas costs for large remixes.
  • Only the owner, or someone the owner licensed, should be able to use an NFT as a component; access control in verify is critical.

#nft #ip #licensing #remix #erc721

Details

Authors
Combo <[email protected]>, Saitama (@saitama2009), CT29 <[email protected]>, Luigi <[email protected]>
Status
Draft
Type
Standards Track / ERC
Created
2023-10-31
Requires

Machine-readable: Markdown · JSON