Book a free call

How the ERC-404 Smart Contract Fractionalizes Digital Assets

ERC-404 is an experimental Ethereum standard that splits an NFT into fungible tokens, so one asset can have many owners. Here is how its smart contract works.

Hertiv engineering teamReviewed by a senior engineer
7 min read
How the ERC-404 Smart Contract Fractionalizes Digital Assets
On this page

Short answer

ERC-404 is an experimental Ethereum token standard that merges the ERC-20 and ERC-721 standards, so one token behaves as both a fungible coin and a unique NFT. When a wallet holds a whole token, the contract mints the linked NFT; when the balance falls below one whole token, the NFT is burned, which lets a single digital asset be split into tradable fractions.

What is the ERC-404 smart contract?

The ERC-404 smart contract is an experimental Ethereum token contract that combines the ERC-20 fungible token standard with the ERC-721 non-fungible token standard, so a single asset can behave as both a tradable coin and a unique collectible.

It was introduced in February 2024 by the team behind Pandora, a project run by two pseudonymous developers known as “ctrl” and “Acme”. Pandora paired 10,000 fungible PANDORA tokens with 10,000 Replicant NFTs, one NFT for each whole token. The standard is unofficial: it has not gone through Ethereum's formal proposal process, and it is not an official EIP.

The idea is simple to state and hard to build. A normal NFT cannot be split, and a normal coin has no unique identity. ERC-404 ties the two together inside one contract, so owning a fraction of the coin means owning a fraction of the NFT. That link is what makes fractional ownership work without a separate vault or custodian.

How does ERC-404 fractionalize a digital asset?

ERC-404 fractionalizes an asset by tying each NFT to a fixed number of fungible tokens and letting the contract mint and burn the NFT as balances change. Hold one whole token and the contract mints the linked NFT to your wallet. Sell part of that token and the NFT is burned, because your balance no longer reaches one whole unit.

The fractions themselves behave like ordinary ERC-20 tokens. They can be traded on a decentralised exchange, sent to another wallet, or pooled for liquidity, while the NFT side can be listed on an NFT marketplace when a whole token is held. One asset therefore has two markets at once: a liquid market for fractions and a collectible market for whole units.

When a buyer gathers enough fractions to reach one whole token again, the contract mints a new NFT to their wallet. The new NFT may not be the same one that was burned: traits are assigned when the NFT is minted, so re-assembling a whole token can produce a different item. To see how creators use this mechanism, read how to create an NFT token on the ERC-404 standard.

What happens inside the contract when tokens move?

The core logic sits in the contract's transfer function, which decides for each transfer whether it is moving a fungible amount or a unique NFT. It uses a single value, often called amountOrId, to tell the two apart: if the value falls within the range of minted NFT IDs, the transfer is handled as an NFT move; otherwise it is handled as a token amount.

To make both sides fit in one contract, ERC-404 stores token balances and NFT ownership in shared space, a technique its developers call “pathing”. The contract tracks each wallet's ERC-20 balance and, separately, which NFT IDs it owns, then keeps the two in step whenever tokens move. The fungible side follows the same interface as ERC-20 tokens, which is why fractions can trade on ordinary exchanges.

Every transfer therefore does two jobs at once. It updates the fungible balance and then checks whether any whole-token threshold was crossed, minting or burning NFTs as needed. That double bookkeeping is also the standard's main weakness: each transfer costs more gas than a plain ERC-20 transfer, and the extra logic creates edge cases that simpler standards do not have.

How is ERC-404 different from earlier fractionalization?

ERC-404 differs from earlier fractionalization because the splitting happens inside the token contract itself, rather than in a separate vault. Before ERC-404, fractionalizing an NFT usually meant locking the NFT in a vault contract and issuing tradable shares against it, which added a custodian, a second token and a second set of risks.

ApproachHow it worksWhat you tradeMain drawback
ERC-404Mint and burn inside one contractFractions and whole NFTsHigh gas cost, unofficial standard
Vault sharesNFT locked in a vault, shares issuedShares in the vaultCustodian and vault risk
ERC-1155One contract, separate fungible and non-fungible itemsEditions and copiesNo automatic link between parts
Plain NFTOne unique token, no splittingThe whole NFTNo liquidity for small buyers

ERC-1155, an earlier semi-fungible standard, already lets one contract hold both fungible and non-fungible items, but it does not link a fungible balance to a specific NFT the way ERC-404 does. With ERC-1155, the fungible and non-fungible parts are separate items; with ERC-404, they are two views of the same asset.

What can ERC-404 fractionalize?

ERC-404 can fractionalize any digital asset that can be represented as an NFT, but so far it has been used mainly for art and collectibles. A collection of 10,000 pieces can be split into fungible tokens, so a buyer who cannot afford a whole piece can buy a share of one, and sellers can exit a position without finding a buyer for the entire item.

The same mechanism could apply to other assets: a share of a tokenized property, a fraction of a music royalty, or part of a game item. In practice, most ERC-404 projects are still collectibles, because the standard is new, its contracts are experimental, and real-world assets need legal wrappers and custody that a token contract cannot provide on its own.

Fractionalization changes who can take part. Lower entry prices widen the buyer pool, and fractions trade on exchanges where whole NFTs cannot. The trade-off is that a fraction gives its holder no control over the underlying asset: there is no vote on how a shared artwork is displayed or sold, and no claim on anything beyond the token itself. Before buying, it helps to read whether an ERC-404 token works as an investment.

What is DN404, and how does it differ?

DN404 is an alternative implementation of the same idea, released on 12 February 2024 by developers known as “cygaar” and “quit”. It is short for “Divisible NFT”, and it aims to deliver the same mint-and-burn behaviour as ERC-404 with lower gas costs and fewer deviations from existing standards.

The main difference is structure. Where ERC-404 merges the ERC-20 and ERC-721 logic into a single contract, DN404 uses two linked contracts: a standard ERC-20 contract that handles the fractions, and a mirrored ERC-721 contract that handles the NFTs. Most trading happens on the ERC-20 side, which works with decentralised exchanges out of the box. A similar hybrid idea on another chain is covered in the SPL-404 standard on Solana.

Its developers claim about 20% lower gas costs than ERC-404. Like ERC-404, the DN404 code was released without a formal audit, so both implementations carry the same warning: experimental code, used at your own risk. Neither standard has been adopted as an official Ethereum proposal.

Example (hypothetical): a 100-piece art collection split into tokens

Example (hypothetical): an artist releases a collection of 100 pieces as ERC-404 tokens. Each piece equals one whole token, and each token can be split into 100 shares, so the collection has 10,000 shares in total. A buyer who holds 100 shares receives the NFT for one piece; a buyer who holds 50 shares owns half a piece and no NFT.

Suppose a collector buys 250 shares. The contract mints two NFTs to their wallet and leaves 50 shares unattached. If they sell 120 shares, their balance falls to 130, so one NFT is burned and one remains. If they later buy 70 more shares, the balance reaches 200 and a new NFT is minted, though it may show different traits from the one that was burned.

The fractions trade like any other token, so the collector can sell 30 shares on an exchange without finding a buyer for a whole piece. The cost is gas: every transfer that crosses a whole-token threshold also mints or burns an NFT, and that extra work raises the transaction fee compared with a plain token transfer.

What are the common mistakes?

The most common ERC-404 mistakes are treating it as a finished standard, assuming the NFT you get back is the one you sold, and ignoring the gas and compatibility costs.

  • Treating ERC-404 as official. It is an experiment, not an approved Ethereum standard, and its behaviour can change as implementations evolve.
  • Expecting the same NFT back. Re-assembling a whole token mints a new NFT, which may carry different traits.
  • Ignoring gas costs. Minting and burning on transfers makes ERC-404 trades more expensive than plain token trades.
  • Assuming every wallet and exchange supports it. Some wallets show the fractions but not the NFT, and some exchanges list only the token side.
  • Buying fractions as if they were shares. A fraction gives no vote and no claim on the underlying asset beyond the token itself.

Key takeaways

  • ERC-404 merges ERC-20 and ERC-721, so one token is both a tradable coin and a unique NFT
  • A whole-token balance mints the linked NFT; dropping below one whole token burns it
  • Fractions trade on decentralised exchanges, while whole units trade as NFTs
  • DN404 offers the same behaviour with two linked contracts and lower claimed gas costs
  • ERC-404 is experimental and unofficial: expect high gas costs and uneven wallet support

Frequently asked questions

Is ERC-404 an official Ethereum standard?

No. ERC-404 is an experimental standard created by the Pandora team in February 2024. It has not been through Ethereum's formal proposal process, and no version of it has been adopted as an official EIP. Treat it as an experiment, not as settled infrastructure.

What happens to my NFT if I sell part of my ERC-404 token?

The contract burns it. When your balance falls below one whole token, the linked NFT is destroyed and you keep only the remaining fractions. If you later buy back up to a whole token, a new NFT is minted, though it may have different traits.

How is ERC-404 different from ERC-1155?

ERC-1155 lets one contract hold fungible and non-fungible items, but the two stay separate. ERC-404 links them: a fungible balance and an NFT are two views of the same asset, and the contract mints or burns the NFT automatically as the balance changes.

Can I trade ERC-404 fractions on a normal exchange?

Yes, on decentralised exchanges. The fractions behave like ERC-20 tokens, so they can be swapped on an automated market maker. The NFT side is traded separately on NFT marketplaces, and only wallets holding a whole token can list it.

What is DN404?

DN404 is an alternative implementation of the ERC-404 idea, released in February 2024 by developers known as cygaar and quit. It splits the logic across two linked contracts, a standard ERC-20 and a mirrored ERC-721, and claims about 20% lower gas costs.

What are the biggest risks of ERC-404?

The code is experimental and was released without a formal audit, gas costs are higher than plain token transfers, and not every wallet or exchange supports the standard. Prices can also move fast, because fractions make a collection easier to trade in both directions.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: blockchain systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Building a token that splits ownership? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Smart Contract Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to contact@hertiv.com.

Prefer email? Write to contact@hertiv.com
Estimate costBook a call