MCPcopy Index your code
hub / github.com/bybit-exchange/merkle-proof

github.com/bybit-exchange/merkle-proof @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
115 symbols 226 edges 27 files 0 documented · 0% updated 12mo ago★ 11026 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Merkle Proof Validation Tool

How to Proceed

1.Build the executable file

Download the latest source code files, and ensure that JDK (version 1.8 and above) and Maven have been installed on your workstation or laptop. + Resolve dependencies, compile and package

    mvn clean package
  • check the compiled jar package, as follows, in the current project directory.
    ./target/BybitMerkleProofValidator.jar

2.Perform Your Verification

  • You can paste the proof file copied from the Bybit website (https://www.bybit.com) into a new file in the target current directory, and name the file as myProof.json. Then, execute the following command:
    java -jar target/BybitMerkleProofValidator.jar myProof.json
  • Next, you can run the verified program and observe its output data.
    1 ......
    2 validate result is true/false

Core symbols most depended-on inside this repo

getBalances
called by 10
src/main/java/com/bybit/merkle/generic/Asset20.java
add
called by 6
src/main/java/com/bybit/merkle/Balance.java
validate
called by 4
src/main/java/com/bybit/merkle/Path.java
sha256Str
called by 4
src/main/java/com/bybit/util/CryptoUtil.java
getTypeBySibling
called by 2
src/main/java/com/bybit/GenericMerkleTree.java
validation
called by 2
src/main/java/com/bybit/MerkleProofValidator.java
instance
called by 2
src/main/java/com/bybit/merkle/Path.java
getTypeBySibling
called by 2
src/main/java/com/bybit/merkle/MerkleTree.java

Shape

Method 80
Class 27
Enum 8

Languages

Java100%

Modules by API surface

src/main/java/com/bybit/MerkleProofValidator.java13 symbols
src/main/java/com/bybit/merkle/generic/BalanceMnt20.java6 symbols
src/main/java/com/bybit/merkle/generic/Balance40V5.java6 symbols
src/main/java/com/bybit/merkle/generic/Balance40V4.java6 symbols
src/main/java/com/bybit/merkle/generic/Balance40V3.java6 symbols
src/main/java/com/bybit/merkle/generic/Balance40V2.java6 symbols
src/main/java/com/bybit/merkle/generic/Balance40.java6 symbols
src/main/java/com/bybit/merkle/generic/Balance32.java6 symbols
src/main/java/com/bybit/merkle/generic/Balance20.java6 symbols
src/main/java/com/bybit/merkle/generic/Balance.java4 symbols
src/main/java/com/bybit/merkle/Path.java4 symbols
src/test/java/com/bybit/MerkleProofValidatorTest.java3 symbols

For agents

$ claude mcp add merkle-proof \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact