Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdud007 committed Mar 26, 2024
1 parent 6adec8f commit 751b511
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ let proof = txs_mpt_handler.get_proof(tx_index)?;
txs_mpt_handler
.verify_proof(tx_index, proof.clone())?;

// You can either build with target tx hash. Both root match.
// You can either build with target tx hash. Both roots match.
let mut txs_mpt_handler2 = TxsMptHandler::new(MAINNET_RPC_URL)?;
txs_mpt_handler2
.build_tx_tree_from_tx_hash(target_tx_hash)
Expand Down Expand Up @@ -80,6 +80,7 @@ tx_receipts_mpt_handler
.verify_proof(tx_index, proof.clone())?;
```

### Dependency
### Credit

For trie implementation, this project depends on the [eth_trie](https://crates.io/crates/eth_trie) crate.
For trie implementation, this project depends on the [eth_trie](https://crates.io/crates/eth_trie).
For transaction and transaction receipt types, heavily depends on the [alloy](https://github.com/alloy-rs/alloy).

0 comments on commit 751b511

Please sign in to comment.