Skip to content

Client for getting proofs and sending them to Geth in Txs.

Notifications You must be signed in to change notification settings

eth4nos/getProofs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geth

getProof

> eth.getProof("0x518006b1e93be0dcca1f43870d11d19022735195", [], 1)
{
  accountProof: ["0xf879a120310d79399c75734700e5e8a6fcc51f5e3bfa7d01a00e42c35e578d61a3dca95bb855f853808f13426172c74d8270eb216a44f40000a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"],
  address: "0x518006b1e93be0dcca1f43870d11d19022735195",
  balance: "0x13426172c74d8270eb216a44f40000",
  codeHash: "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
  nonce: "0x0",
  storageHash: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  storageProof: []
}

How to Use

node [js_filename] [tx_hash] [start_block_number] [end_block_number]
  • Use sendProof.js

Examples

node getProofs.js 0x7224769b9eE714dAA816053732D6Ed0AA35714CB 6036710 6036722
node sendProof.js 0x1111111111111111111111111111111111111234 2 13

About

Client for getting proofs and sending them to Geth in Txs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages