0xSpaceShard / starknet-devnet-rs

A local testnet for Starknet... in Rust
https://0xspaceshard.github.io/starknet-devnet-rs/
MIT License
100 stars 56 forks source link

Add metadata to JSON dump object #534

Open 3alpha opened 2 weeks ago

3alpha commented 2 weeks ago

Adding metadata to dump object could help with UX. Currently, only data that is needed to reconstruct devnet state is dumped to the JSON object. By adding metadata that is not used for reconstruction of state, namely hash and timestamp, UX could be improved because users would be able to:

And finally, this would allow (somebody :) ) to build explorer on top of the devnet, which would be massive improvement in UX.

However, before this is done, few considerations should be made: