ERC-7891 · Draft · ERC · 2025-02-15
ERC-7891: Splitting and Merging of NFTs
An ERC-721 extension that lets one NFT be split into share-carrying child NFTs and merged back, so fractional ownership lives inside the NFT itself.
What problem does it solve?
A plain ERC-721 token is all-or-nothing: one ID, one owner. If you want several people to own parts of a building, a share or a game asset, you usually lock the NFT in a vault and issue separate fungible tokens, which splits the asset across two unrelated contracts.
ERC-6150 already adds parent–child relationships between NFTs, but the tree is rigid: once a child is attached to a parent, the structure cannot be reshaped. ERC-7891 adds the missing operations: split an NFT into child NFTs that each carry a percentage share, and merge children back into one token, with the shares following along.
How it works
A compliant contract implements ERC-721, ERC-165, ERC-6150 and the IERC7891 interface (ERC-165 ID 0x43cb816b). Each token tracks its own share as a uint8 percentage.
| Function | Purpose |
|---|---|
mintParent(tokenURI) |
Mint a new root-level NFT |
mintSplit(parentId, share) |
Mint a child under parentId holding share percent |
mintMerge(parentId, tokenIds) |
Combine several children of the same parent into a new token |
sharePass(to, from, share) |
Move share percentage from one token to another without minting or burning |
burn(tokenId) |
Destroy a token and return its share to the parent |
Two events let indexers follow the restructuring: Split(parentId, childId, share) and Merged(newTokenId, mergedTokenIds). Parent/child lookups come from ERC-6150's existing view functions.
A typical flow: mint a parent for a property, split it into children with 40 %, 35 % and 25 %, transfer the children to investors as normal NFTs, and later merge them back once one holder has gathered all the pieces.
Sample code
The interface from the spec, plus a call sequence with ethers v6:
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.20;
interface IERC7891 /* is IERC6150, IERC721, IERC165 */ {
event Split(uint256 indexed parentId, uint256 indexed childId, uint8 share);
event Merged(uint256 indexed newTokenId, uint256[] mergedTokenIds);
function mintParent(string memory tokenURI) external payable returns (uint256 tokenId);
function mintSplit(uint256 parentId, uint8 share) external payable returns (uint256 tokenId);
function mintMerge(uint256 parentId, uint256[] memory tokenIds) external payable returns (uint256 newTokenId);
function sharePass(uint256 to, uint256 from, uint8 share) external;
function burn(uint256 tokenId) external;
}
import { Contract } from "ethers";
const nft = new Contract(addr, [
"function mintSplit(uint256 parentId, uint8 share) payable returns (uint256)",
"function mintMerge(uint256 parentId, uint256[] tokenIds) payable returns (uint256)",
"event Split(uint256 indexed parentId, uint256 indexed childId, uint8 share)",
], signer);
await (await nft.mintSplit(1n, 40)).wait(); // child with 40 % of token 1
await (await nft.mintSplit(1n, 60)).wait(); // child with 60 %
await (await nft.mintMerge(1n, [2n, 3n])).wait(); // merge the two children
Things to know
- Status: Draft. The interface may still change; do not treat it as a settled standard.
- Shares are
uint8percentages, so precision is limited to whole percent per token. - The spec does not define who may split, merge or call
sharePass, nor how splitting interacts with ERC-721 approvals. Those access rules are left to the implementation and are the main thing to audit. - The spec's own security section says no considerations were found; in practice, share accounting across split, merge, pass and burn is easy to get wrong, so test that shares always sum correctly.
- Fractional ownership here is a bookkeeping feature of the NFT; any legal meaning of a "share" depends entirely on off-chain arrangements.