Git Product home page Git Product logo

geth-contract-state-export's Introduction

geth-contract-state-export

A command line tool to parse geth chaindata and extract the key value store for specific smart contract.

Usage:

go run main.go <LevelDB path> <account address>

Example:

go run main.go /path/to/chaindata ff970a61a04b1ca14834a43f5de4533ebddb5cc8

Output:

0x00000a7d1b90cce0892b47dbe294dd3bd9d4b4ff3dc238d9836068e6b0f9504f: 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff88559c86
0x00001c9389ec58770864cae103371fc26200caefad72deb05545ba206b431c72: 0x0a9ab3
0x0000227638f0db7fce130a9e3dccfc6c65f98e340f448eaa30e5ab7635084fe6: 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffff1704196
0x00004864222ab7d987191ee1d480c45382882a3081bf7267234ade456908e158: 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffb59bb89
...

Note:

The code here is a modified version this

geth-contract-state-export's People

Contributors

ilovebusinessdevelopment avatar

Watchers

 avatar

Forkers

yruej301

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.