DeFiCh / DeFiCh/ain

Implementation of EIPS-1186: RPC-Method to get Merkle Proofs - eth_getProof

Open
#3,043 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
397
Forks
129
PR merge metrics
No merged PRs in 30d

Description

## Summary
As DeFiChain MetaChain evolves the need for connections with the outside world (other blockchains) becomes more important.
Currently, there is no easy way for any RPC client or node ops to get any Merkle proofs to use to verify the state/storage against rootState or storageState hashes of DMC blocks. This is an essential requirement for trustless verification of DMC state in a multi-chain setup or project.
To make trustless multi-chain integrations easier, the implementation of eth_getProof is suggested.
https://eips.ethereum.org/EIPS/eip-1186

Contributor guide

Open the contributing guide

Research direction

Start by reading EIP-1186 and the eth_getProof RPC method described in the issue. Trace the repository's existing RPC and state or storage proof entry points, then define the required proof output for DMC block rootState and storageState hashes. Done means clients can request Merkle proofs for those state and storage values.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.