ewasm / testnet

Testnet planning & documentation
64 stars 19 forks source link

add script to generate geth genesis with preloaded contract accounts #74

Closed jwasinger closed 5 years ago

jwasinger commented 6 years ago

The idea here is that we can generate genesis files programmatically sourcing from the https://github.com/ewasm/ewasm-precompiles repo.

jwasinger commented 6 years ago

Added geth genesis. Changed preloaded accounts argument format to one json object, e.g.

python genesis.py --genesis geth-genesis.json --preload '{"0x00":{ "balance": "0x00", "code": "0xffff"}}'

axic commented 6 years ago

Changed preloaded accounts argument format to one json object, e.g.

Does it mean that one would need to paste in 500k of hexstring on the CLI?

jwasinger commented 6 years ago

No. because the accounts take codefile as an argument.

axic commented 5 years ago

@jwasinger what is the status of this?

axic commented 5 years ago

@jwasinger what is the status of this?

jwasinger commented 5 years ago

Irrelevant now.

jwasinger commented 5 years ago

Let me save the branch