Introduction

Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.

I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.

I also build and publish a variety of tools, libraries, and open-source projects.

This article examines ERC7585, which proposes a way to prove possession of data by exploiting the structure of a Merkle tree to find an optimal result across its chunks.

This article translates, summarizes, and expands on the proposal linked below.

I also cover other EIPs, BIPs, SLIPs, CAIPs, ENSIPs, RFCs, and ACPs.

Overview

This proposal uses Merkle trees, which organize data hierarchically and make tampering detectable, to construct storage proofs that demonstrate possession of specific data. There are two key components. The first is MixHash, a new hashing scheme intended as an alternative to conventional hash functions such as Keccak256 and SHA256. The second is a public data storage proof, which allows anyone to prove possession of specific public data. Together, these mechanisms allow any participant to demonstrate to a public network that they actually possess the data. Combining them with the NFT standards ERC721 and ERC1155 makes it possible to prove the existence of the underlying data, opening up a wider range of applications.

For more on ERC721, see the article below.

[ERC721] A Beginner's Guide to ERC721

For more on ERC1155, see the article below.

[ERC1155] A Beginner's Guide to ERC1155

Motivation

ERC721 and ERC1155 are widely used NFT standards. Neither standard currently provides third parties with a way to verify whether the public data referenced by an NFT actually exists or whether someone holds a copy. This presents a significant problem in applications where data integrity and availability matter.

Examples include the following:

Domain Why storage proofs matter
Decentralized data marketplaces Transactions are difficult to establish without proof that the data exists and the seller possesses it.
Decentralized storage Users need a way to verify that data entrusted to a storage provider is actually being stored.
Decentralized oracles The authenticity of external data needs to be verified when it is referenced.

These applications require third parties to verify that someone actually holds the relevant data, something ERC721 and ERC1155 alone cannot establish. Introducing MixHash-based storage proofs allows applications to verify the existence of data associated with NFTs, making those applications more trustworthy.

NFTs could then represent more than metadata or images: they could also capture the storage status of the underlying data. This could help establish a data economy.

Specification

MixHash (a Merkle Root Hash Including the File Length)

MixHash Structure

MixHash is a Merkle root hash with embedded file size information. It is 256 bits long, like ordinary Keccak256 and SHA256 hashes. The high-order bits encode the hash algorithm and file size, while the remaining bits contain the low-order 192 bits of the Merkle root.

Its layout is as follows:

text
+-----------256 bits MixHash-----------+
High |-2-|----62----|-------192-------| Low

The fields are:

Bit length Field Description
High 2 bits Hash algorithm selector 0b00 denotes SHA256 and 0b10 denotes Keccak256 (0b01 and 0b11 are reserved).
Next 62 bits File size File size in bytes, up to 2^62 - 1.
Low 192 bits Low 192 bits of the Merkle root The low-order 192 bits of the root of the Merkle tree constructed with the selected hash algorithm.

The MixHash therefore encodes which hash function was used, the file size, and the truncated Merkle root.

Generating a MixHash

A MixHash is generated as follows:

  1. Split the target file into 1 KB (1,024-byte) chunks. If the final chunk is shorter than 1,024 bytes, pad it with zero bytes (0x00) until it reaches exactly 1,024 bytes.
  2. Hash each chunk and use the low-order 128 bits of its hash as a leaf node in the Merkle tree.
  3. Construct the Merkle tree from these leaf nodes. Keep the full 256-bit hash for the root node, but retain only the low-order 128 bits of each non-root internal node's hash.
  4. Finally, combine the following fields:
    • Hash type (high 2 bits)
    • File size (next 62 bits)
    • Low-order 192 bits of the Merkle root, producing a 256-bit MixHash.

Two properties are worth noting:

  • Truncating non-root node hashes to 128 bits while retaining a 256-bit root cuts the total hash data stored in the Merkle tree roughly in half.
  • MixHash itself remains 256 bits long, so replacing existing Keccak256 or SHA256 hashes introduces no additional cost from the bit length.

Encoding the file length in 62 bits reduces the available hash space and therefore lowers theoretical security. The design assumes that the remaining 192 bits provide sufficient collision resistance in practice.

MixHash Generation Pseudocode

The specification provides the following pseudocode:

python
def generateMixHash(blockHeight,hashType,file):
    chunk_hash_array = []
    for chunk in file:
        if len(chunk) < 1024:
            chunk = chunk + b'\x00' * (1024-len(chunk))
        chunk_hash_array.append(getChunkHash(chunk,hashType))
    merkle_tree_root = getMerkleTreeRoot(chunk_hash_array,hash_type)
    return mix_hash(hash_type, len(file), merkle_tree_root)

The main operations are:

  1. Read file in 1 KB chunks and zero-pad the final chunk.
  2. Use getChunkHash to compute the hash of each chunk and store it in chunk_hash_array.
  3. Compute the Merkle root with getMerkleTreeRoot.
  4. Use mix_hash to combine hash_type (the hash algorithm), len(file) (the file size), and merkle_tree_root into a 256-bit MixHash.

Public Data Storage Proofs

Using MixHash as a public data identifier allows anyone to prove that they hold a copy of the public data associated with a particular MixHash. Participants who produce such proofs are called Suppliers.

Basic Storage Proof Flow

For public data D (whose MixHash is mix_hash_d), the typical process for submitting a storage proof at block height h is as follows:

  1. Define a Supplier A user eligible to submit storage proofs for rewards is called a Supplier.
  2. Obtain a Nonce from the block The Supplier obtains a 256-bit nonce from the block at height h. Typically, this is simply the block hash. The nonce is a one-time random value intended to give each proof its own randomness.
  3. Find the optimal leaf node m The Supplier scans data D in 1KB chunks. For each chunk, append the nonce, recompute the Merkle tree with only that chunk replaced, and find the chunk m that produces the smallest new Merkle root. The optimal chunk is the one that produces the smallest Merkle root after the nonce is appended; this is m. Finally, extract the index of chunk m, its Merkle path m_path, and its leaf data m_leaf_data.
  4. Construct and submit the storage proof The Supplier constructs a storage proof for data D as {mix_hash_d, h, m, m_path, m_leaf_data} and submits it to the public network.
  5. Network verification The public network uses mix_hash_d to verify m, m_path, and m_leaf_data. In other words, it checks whether m is actually part of data D. It also checks h to determine whether the proof was submitted within the permitted time window. If both checks pass, the network uses the nonce and proof contents to compute and store proof_result_m.
  6. Optimality and challenges The network cannot independently determine whether a submitted proof is optimal, meaning whether it actually minimizes the Merkle root. Instead, other Suppliers holding the same dataset D can challenge it by submitting a better {mix_hash_d, h, better_m, better_m_path, better_m_leaf_data}.
  7. Resolve the challenge The network compares proof_result_m with proof_result_better_m. If the latter is better, the challenge succeeds. This allows the earlier proof to be treated as manipulated or fraudulent.
  8. Game-theoretic correctness If no one challenges a proof within a specified period, it can be treated as correct under the game's assumptions. The reasoning is that if the proof were false, someone with the correct data would have challenged it.
  9. Economic model The network needs an economic model that rewards Suppliers who submit correct proofs and penalizes those who submit false ones.

Storage Proof Generation and Verification Pseudocode

The specification provides the following pseudocode:

Offchain Proof Generation
python
# generate proof off chain
def generateProof(mixHash, blockHeight,file) 
    nonce = getNonce(blockHeight)
    hash_type = getHashType(mixHash)
    chunk_hash_array = buildChunkHashArray(file,hash_type)

    min_index = 0
    min_merkle_tree_root = MAX_UINT256
    min_chunk = None

    m_index = 0
    for chunk in file:
      new_chunk = chunk + nonce
      chunk_hash_array[m_index] = getChunkHash(new_chunk,hash_type)
      merkle_tree_root = getMerkleTreeRoot(chunk_hash_array,hash_type)
      chunk_hash_array[m_index] = getChunkHash(chunk,hash_type)
      if (merkle_tree_root < min_merkle_tree_root):
        min_merkle_tree_root = merkle_tree_root
        min_index = m_index
        min_chunk = chunk
      m_index = m_index + 1

The algorithm stores the original file's chunk hashes in chunk_hash_array, temporarily substitutes chunk + nonce for each chunk, and recomputes the Merkle root. Updating the minimum as it proceeds identifies the optimal chunk and its position.

Onchain Verification
js
// verify on chain
function verifyDataProof(mixHash, blockHeight, m_index, m_path, m_leaf_data) {
    if(current_block_height - blockHeight > MAX_BLOCK_DISTANCE) {
       revert("proof expired");
    }
    hash_type = getHashType(mixHash);
    merkle_tree_root = getMerkleTreeRootFromPath(m_path,m_leaf_data,hash_type);
    if(low192(merkle_tree_root) != low192(mixHash)) {
       revert("invalid proof");
    }

    nonce = getNonce(blockHeight);
    proof_result = getMerkleTreeRootFromPath(m_path,m_leaf_data.append(nonce),hash_type);
    last_proof_result,last_prover = getProofResult(mixHash, blockHeight);
    if(proof_result < last_proof_result) {
      emit ProofPunish(last_prover);
      updateProofResult(mixHash, blockHeight, proof_result, msg.sender);
    } 
}

The verification procedure works as follows:

  1. Reject the proof as expired if current_block_height - blockHeight exceeds MAX_BLOCK_DISTANCE.
  2. Extract the hash type from mixHash and recompute the Merkle root from m_path and m_leaf_data.
  3. Reject the proof as invalid if the low-order 192 bits of the computed root do not match the low-order 192 bits of mixHash.
  4. Recompute the nonce from the same block height and use m_leaf_data + nonce to calculate proof_result.
  5. If the result is smaller than the stored last_proof_result, penalize the previous prover last_prover by emitting ProofPunish, then record the new proof_result and current sender.

Merkle Tree Compression

The implementation of getMerkleTreeRoot truncates the hash of every non-root node to its low-order 128 bits. This reduces the total size of the hashes stored in the Merkle tree by roughly half and keeps the storage proof small.

The principle is to retain a 256-bit root and reduce all other node hashes to 128 bits.

Defending Against Sourcing Attacks

A sourcing attack occurs when a Supplier does not store data locally but instead retrieves it over the network whenever a storage proof is required.

MixHash-based proofs depend on a nonce generated at a specific time, so the prover must scan the entire file within the allotted time to find the optimal proof. The design exploits this property to make sourcing attacks more difficult.

Defense Through Time Limits

A Supplier is required to generate and submit a storage proof within a limited period.

Using the proposal's illustrative Ethereum block time of approximately 15 seconds and MAX_BLOCK_DISTANCE = 2, the window for submitting a valid proof is approximately 30 seconds.

Downloading an entire large file over the network within 30 seconds, appending the nonce to each chunk, and searching for the optimal Merkle root is practically very difficult. This encourages a Supplier intending to produce valid proofs to keep a local copy.

Defense Through Economic Incentives

In a storage-proof-based economic model, a reward is typically paid to the first participant who submits a correct proof.

A sourcing attack is economically unattractive because:

  • Retrieving data over the network takes time, which tends to delay proof submission.
  • Other Suppliers with local copies are likely to submit correct proofs first.

These disadvantages make the strategy less profitable.

The economic model can therefore encourage local storage by making the risk of losing a reward through repeated remote retrieval greater than the cost of storing the data locally.

Sourcing Attack Defense Success Rate

The effectiveness of the defense depends heavily on the difference between local storage read speed and network retrieval speed.

The proposal defines the following variables:

  • TNetwork Time required to retrieve the file over the network.
  • TLocal Time required to read the file from local storage.
  • AvgProofTime Average time window for submitting a valid proof, taking block timing and similar factors into account.

The defense success rate R is defined as follows:

text
R = (TNetwork - TLocal) / AvgProofTime

Intuitively, the formula measures how disadvantageous remote data retrieval is by comparing the additional delay of network access (the numerator) with the available time window (the denominator).

Problems on Networks with Long Block Times

As AvgProofTime increases, the defense success rate R decreases.

For example, on the Bitcoin network, a block takes approximately 10 minutes, making two blocks approximately 20 minutes and increasing AvgProofTime. This leaves enough time to retrieve files over the network, making sourcing attacks more likely to succeed.

Defense Rate with PoW

The proposal suggests introducing Proof of Work (PoW) as a way to strengthen the defense against sourcing attacks. With PoW, the defense success rate is expressed as:

text
R = (TNetwork - TLocal) / (AvgProofTime - AvgPoWTime)

Here, AvgPoWTime is the average time required to perform the PoW computation.

PoW consumes part of the valid proof window. This effectively reduces the time available to generate the storage proof, leaving less time to retrieve the data remotely.

Storage Proofs Incorporating PoW

With PoW, the strategy is to generate and submit a storage proof within the valid time window while performing as much PoW computation as possible to produce a better result, such as a hash with more trailing zero bits.

The specification gives the following modification of the earlier step 2 as an example of how to incorporate PoW.

  1. The Supplier scans data D in 1 KB chunks to find the optimal leaf node m. The Supplier appends both the nonce and a self-generated noise value to each chunk, minimizing the new Merkle root while satisfying the PoW difficulty requirement (for example, the last x bits of proof_result_m must be 0). Once m and the noise are determined, the corresponding m_path and m_leaf_data are extracted.

PoW-Enabled Pseudocode

The following pseudocode generates a proof with PoW:

python
# generate proof with PoW off chain
POW_DIFFICULTY = 16
def generateProofWithPow(mixHash, blockHeight,file) 
  nonce = getNonce(blockHeight)
  hash_type = getHashType(mixHash)
  chunk_hash_array = buildChunkHashArray(file,hash_type)

  min_index = 0
  min_merkle_tree_root = MAX_UINT256
  min_chunk = None

  m_index = 0
  noise = 0
  while True:
    for chunk in file:
      new_chunk = chunk + nonce + noise
      chunk_hash_array[m_index] = getChunkHash(new_chunk,hash_type)
      merkle_tree_root = getMerkleTreeRoot(chunk_hash_array,hash_type)
      chunk_hash_array[m_index] = getChunkHash(chunk,hash_type)
      if (merkle_tree_root < min_merkle_tree_root):
        min_merkle_tree_root = merkle_tree_root
        min_index = m_index
        min_chunk = chunk
      m_index = m_index + 1
    if(last_zero_bits(min_merkle_tree_root) >= POW_DIFFICULTY):
      break
    noise = noise + 1
    
  m_path = getMerkleTreePath(chunk_hash_array, min_index)
  return storage_proof(mixHash, blockHeight, min_index, m_path, min_chunk,noise) 

The algorithm increments noise from zero, computes the Merkle root using chunk + nonce + noise, and repeats until the number of trailing zero bits, last_zero_bits(...), is at least POW_DIFFICULTY.

If POW_DIFFICULTY = 16, it loops until it finds a Merkle root with 16 trailing zero bits. Increasing the PoW difficulty increases the cost of generating storage proofs.

Although PoW strengthens the defense against sourcing attacks, it introduces the following problems:

  • The substantial increase in storage proof generation costs can work against the goal of encouraging distributed storage across many nodes.
  • Participants with specialized PoW hardware gain an advantage, which can raise the barrier to participation and reduce decentralization.

The specification therefore recommends leaving PoW disabled except when it is particularly necessary.

Limitations

This storage proof scheme has several limitations and caveats.

  • Unsuitable for very small files Defending against sourcing attacks is inherently difficult for very small files. Small files can be retrieved quickly over the network, making the difference between remote retrieval and local storage less pronounced.
  • Public availability is a separate question A public data storage proof does not guarantee that the data corresponding to a MixHash is actually public. For example, a Supplier could generate a MixHash for data known only to them, claim that it is public data, and receive rewards for submitting storage proofs for that MixHash. Because nobody else knows the data, nobody can challenge the proof. This could allow the Supplier to extract rewards using exclusively held data and undermine the entire ecosystem.

Each use case therefore needs separate verification mechanisms or operational rules to establish whether a MixHash genuinely refers to public data that anyone can access. The proposal explicitly acknowledges that this is not generally an easy problem to solve.

Proposed ERC Extensions for Tracking Valuable Public Data with MixHash

The proposal suggests using the existing Ethereum ecosystem to help determine whether the data referenced by a MixHash is actually public and to track its value.

ERCPublicDataOwner Interface

The ERCPublicDataOwner interface enables smart contracts dealing with unstructured data, such as large files or binary sequences, to expose the relationship between that data and its MixHash, along with its owner.

js
/// @title ERCPublicDataOwner Standard, query Owner of the specified MixHash
///  Note: the ERC-165 identifier for this interface is <ERC-Number>.
interface ERCPublicDataOwner {
    /**
        @notice Queries Owner of public data determined by Mixhash
        @param  mixHash    Mixhash you want to query
        @return            If it is an identified public data, return the Owner address, otherwise 0x0 will be returned
    */
    function getPublicDataOwner(bytes32 mixHash) external view returns (address);
}

The role of getPublicDataOwner is as follows:

  • Given mixHash, return the owner's address if it identifies public data associated with this contract.
  • Otherwise, return 0x0.

This makes it possible to query onchain which contract is associated with a particular public data MixHash and who owns the data.

MixHash Extensions for ERC721 and ERC1155

The proposal also introduces an extension that explicitly associates NFTs with MixHash in the established ERC721 and ERC1155 ecosystems.

The optional extension interface ERC721MixHashVerfiy (spelled "Verfiy" in the original specification) can be implemented by ERC721 and ERC1155 contracts.

js
/// @title ERC721MixHashVerfiy Extension, optional extension
///  Note: the ERC-165 identifier for this interface is <ERC-Number>.
interface ERC721MixHashVerfiy{
    /**
        @notice Is the tokenId of the NFT is the Mixhash?
        @return           True if the tokenId is MixHash, false if not
    */
    function tokenIdIsMixHash() external view returns (bool); 
    
    /**
        @notice Queries NFT's MixHash
        @param  _tokenId  NFT to be querying
        @return           The target NFT corresponds to MixHash, if it is not Mixhash, it returns 0x0
    */
    function tokenDataHash(uint256 _tokenId) external view returns (bytes32);
}

The extension has the following functions:

  • tokenIdIsMixHash() Returns whether the NFT's tokenId itself represents a MixHash. For example, a design in which tokenId = MixHash interpreted as an integer can return true.
  • tokenDataHash(uint256 _tokenId) Returns the MixHash associated with a particular NFT (_tokenId). If the NFT is not associated with a MixHash, it returns 0x0.

Linking ERC721 and ERC1155 tokens to MixHash makes it possible to trace the relationship between public data, the NFT representing that data, and the NFT's owner onchain. This makes it easier to manage ownership and trading of valuable public data on Ethereum.

Additional Considerations

Storage Proofs and Existing Approaches

Storage proofs, also referred to as space-time proofs, broadly describe mechanisms for proving how much data is stored and for how long. Various implementations and projects already exist, many of which use proofs of replication based on zero-knowledge proofs, a cryptographic technique for proving correctness without revealing the underlying data.

The storage proof described here does not use a zero-knowledge proof to cryptographically verify optimality onchain. Instead, it relies on a game-theoretic mechanism based on Nash equilibrium (which the proposal calls Nash consensus).

A Nash equilibrium is a state in game theory in which no participant can benefit by unilaterally changing their strategy. Here, the aim is to establish conditions under which storage proof participants stand to lose if they choose any strategy other than correctly storing data and submitting correct proofs.

Characteristics of Nash-Consensus-Based Storage Proofs

Nash-consensus-based storage proofs have two core principles:

Aspect Description
a. Verifying optimality The public network (onchain) does not independently verify whether a proof is truly optimal. Instead, it relies on the economic design of the game, significantly reducing proof construction and verification costs.
b. Selection based on data value Data without value provides no value within the game. Such data naturally leaves the system, without any commitment to indefinite storage.

Proofs of replication based on zero-knowledge proofs tend to have high computational costs and implementation complexity because they perform strict cryptographic verification. In contrast, Nash-consensus-based storage proofs rely on other participants being able to challenge a proof by submitting a better one. Only simple verification is performed onchain, with the rest left to economic incentives.

The onchain verification logic is consequently limited to checking whether a proof is valid and whether it is better than another proof. Confidence in its optimality comes from the absence of a challenge under the game's assumptions.

A Design Implementable Entirely with Smart Contracts

The MixHash and storage proof mechanisms can be implemented entirely within smart contracts. Specifically, the onchain component is limited to the following responsibilities:

  • Verify the correctness and timeliness of submitted storage proofs.
  • Compare and update results when a better proof is submitted.
  • Provide hooks for rewarding correct provers and penalizing incorrect ones.

The reference implementation notes that gas costs are relatively high, but the design still operates within the scope of smart contracts. An advantage is that the proof mechanism can be separated from the economic model. Each use case can define its own economic model (reward and penalty rules) while reusing the same underlying proof logic.

Approach to Sybil Attacks

A Sybil attack here occurs when a single Supplier uses multiple identities (accounts) to claim to store n copies of the same data D while actually holding just one copy. The attacker attempts to inflate rewards by submitting n storage proofs from different addresses.

Strict prevention of Sybil attacks against public data is not a goal of this design. There are two reasons:

  • Fully preventing Sybil attacks requires additional verification costs to establish whether n copies are actually stored, adding overhead to data storage itself.
  • The objective is not to measure the exact number of public data copies, but to create economic conditions under which multiple copies of public data exist somewhere with a given probability.

In other words, the design does not need to know exactly how many copies exist; it aims to create conditions where there is a high probability that enough copies exist. The public data storage proof design therefore does not attempt to eliminate Sybil attacks entirely.

Backwards Compatibility

Multichain Support Through HashType

HashType, stored in the high-order two bits of MixHash, identifies the hash algorithm and enables support for both EVM-compatible and Bitcoin-based chains.

  • EVM-compatible chains commonly use Keccak256.
  • Bitcoin-based chains typically use SHA256.

Because MixHash encodes which hash algorithm was used to construct the Merkle tree, it is self-describing. Different chains can share the same MixHash while supporting their respective standard hash algorithms.

MixHash as a Cross-Chain Value Anchor

MixHash acts as a common hash value identifying the same public data. This enables the following scenario.

Data associated with a MixHash may have value as an NFT or token on an EVM chain and a different economic value in a script or UTXO structure on a Bitcoin-based chain. Value associated with the same data can therefore be tracked across multiple chains.

MixHash can serve as a cross-chain value anchor tied to specific data. Different chains can use different models, smart contracts, and scripts while sharing a common key, MixHash, to identify the data to which the value relates.

HashType Design for Compatibility

To support backwards compatibility, MixHash defines HashType as follows:

Bit pattern Meaning
0b00 SHA256 (default hash algorithm)
0b10 Keccak256
0b01 / 0b11 Reserved for future extensions

Using SHA256 as the default HashType aligns naturally with chains such as Bitcoin that rely on SHA256. Meanwhile, the two types 0b01 and 0b11 are deliberately left unused to allow future extensions to other hash algorithms or structures.

The intention is to make MixHash a durable common format without breaking compatibility with existing chains and tools, while preserving room for new algorithms and chains.

Security Considerations

Storage Proofs Assume Public Data

The storage proof mechanism described here is designed for public data. During proof generation, a 1 KB chunk is extracted from the full dataset, and the chunk itself and information about it, such as its Merkle path, are sent to the public network.

This has the following consequences:

Aspect Description
Exposure of data fragments A raw 1 KB data chunk may be transmitted over the network as part of the proof.
Nature of the network On a public blockchain, anyone can inspect submitted data, and it generally cannot be erased.

The proposal therefore explicitly warns against using this storage proof design unchanged for private data, such as confidential or personal information.

If the same scheme is applied to private data, the 1 KB chunk used in the proof may remain onchain in its original form, exposing it to third parties. Even a raw, unencrypted fragment or a reconstructable portion of the data can be sensitive. It is important to distinguish this public data storage proof from a scheme suitable for private data.

MixHash Can Be Applied to Private Data, but Requires a Separate Design

The MixHash format itself could potentially be used in storage proofs for private files. However, this would require additional design changes:

  • Change how the original data is handled or preprocessed. Possible approaches include encrypting the data before splitting it into chunks or applying a masking step.
  • Change how the storage proof is constructed. Avoid exposing chunks directly onchain, or use only data derived from those chunks.

MixHash is flexible enough as a 256-bit hash format to accommodate private files, but the proof procedure must be adapted because following the public-data procedure unchanged would expose private data.

The specification explicitly excludes the detailed design of storage proofs for private files. Secure storage proofs for private data have different assumptions, requirements, and risks from public data proofs, and are therefore out of scope.

Projects Using Both Public and Private Data Storage Proofs

The specification notes that some of the projects cited as reference implementations support both of the following:

  • Public data storage proofs
  • Private data storage proofs

This suggests that extensions and adaptations of MixHash and its storage proof concepts may support both public and private data.

Citation

Liu Zhicong (@waterflier), William Entriken (@fulldecent), Wei Qiushi (@weiqiushi), Si Changjun (@photosssa), "ERC-7585: MixHash and Public Data Storage Proofs [DRAFT]," Ethereum Improvement Proposals, no. 7585, December 2023. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-7585.

Conclusion

ERC7585 proposes proving data possession by using the structure of a Merkle tree to find the optimal result across a file's chunks. I hope this explanation has been helpful.

If you have questions, feel free to contact me by direct message on Twitter.

Twitter @cardene777

I also publish articles on the following platforms: