ERC-7743 · Final · ERC · 2024-07-13
ERC-7743: Multi-Owner Non-Fungible Tokens (MO-NFT)
An NFT model where one token can have many owners: transferring adds the recipient instead of removing the sender, the original provider earns a fee on each transfer, and owners can permanently 'archive' themselves.
What problem does it solve?
A standard ERC-721 token has exactly one owner. That fits physical-style collectibles, but digital content such as files, media or datasets can be copied without loss, and many people can legitimately "own" a copy.
ERC-7743 (MO-NFT) lets a single tokenId have a set of owners. Passing the token on shares it rather than giving it away, and the creator (the provider) can earn a fee each time.
How it works
- Minting:
mintToken()creates a token; the caller becomes its first owner and its provider. A digital-asset variant,provide(assetName, size, fileHash, provider, transferValue), records file details. - Additive transfers:
transferFrom(from, to, tokenId)must be called by an existing owner. It addstoto the owner set and incrementsto's balance; the sender stays an owner. Sending to an address that is already an owner reverts. - Provider fee: each transfer pays
transferValuein ETH to the provider. Only the provider can change it, viasetTransferValue. - Archiving:
archive(tokenId)permanently marks the caller as archived for that token, so they can no longer transfer it. For digital-asset platforms the spec ties archiving to being allowed to download the real file. - Queries:
isOwner(tokenId, account),getOwnersCount(tokenId),balanceOf, andownerOf(returns the first owner, for compatibility). - Events:
TokenMinted,TokenTransferred,TransferValueUpdated,ArchivedStatusUpdated.
Sample code
Reading and sharing an MO-NFT with ethers v6:
import { Contract } from "ethers";
const monft = new Contract(address, [
"function isOwner(uint256 tokenId, address account) view returns (bool)",
"function getOwnersCount(uint256 tokenId) view returns (uint256)",
"function transferFrom(address from, address to, uint256 tokenId)",
"function archive(uint256 tokenId)",
], signer);
const me = await signer.getAddress();
if (await monft.isOwner(7n, me)) {
await (await monft.transferFrom(me, friend, 7n)).wait(); // friend is added, I stay an owner
}
console.log("owners:", await monft.getOwnersCount(7n));
Things to know
- Status is Final.
- It claims ERC-721 compatibility, but approvals are disabled (
approve,setApprovalForAllrevert in the reference implementation), because one co-owner could otherwise approve a transfer on behalf of all. Marketplaces that rely on approvals will not work with it as-is. ownerOfreturns only the first owner, so tools that treat it as "the" owner will be misleading.- In the reference implementation the fee is paid out of the contract's own ETH balance, not by the caller. Check how a deployment funds this, and guard the ETH payout against reentrancy.
- The provider fee is a simple per-transfer payment, separate from royalty standards such as ERC-2981.
- Large owner sets make any loop over owners expensive; avoid them.