Neo: Export contract storage to disk

Created on 1 Sep 2018  路  4Comments  路  Source: neo-project/neo

Dear all, is there any tool to export a contract storage or the whole storage to disk (json or binary)?
It would be nice to have a simple standard made for this (similar to the .acc file), even if output file is huge. The idea is to export storage (per contract, or the whole one) and we simply apply a SHA256 over this file to generate a certificate.
We have many other threads thinking on better ways to audit storage/notifications, but I believe this is the simplest way possible to create a general audit and easily unite/fix available blockchain implementations.

question

All 4 comments

That's amazing Erik! So fast! We will learn how to use it here, and start taking measurements.

O.o, It is impressive.
Exactly this, precisely.

cat dump.json 
[{"key":"31423ccd56db46959de976735133bbc67c22302e4572696b0000000000000000000000000c","value":"00055a68616e67"},{"key":"31423ccd56db46959de976735133bbc67c22302e5475646f0000000000000000000000000c","value":"0003426f6d"}]
Was this page helpful?
0 / 5 - 0 ratings

Related issues

igormcoelho picture igormcoelho  路  3Comments

erikzhang picture erikzhang  路  4Comments

shargon picture shargon  路  3Comments

roman-khimov picture roman-khimov  路  3Comments

igormcoelho picture igormcoelho  路  4Comments