Generator for genesis.json, need depend on SAFE4-system-contract
- clone project
git clone https://github.com/SAFE-anwang/SAFE4-genesis-tool.git
- update submodule
git submodule update --init --recursive
- Pull latest commits from SAFE4-system-contract
git submodule foreach git fetch
git submodule foreach git pull
- Compile
go build .
- Run
./SAFE4-genesis-tool [params]
params:
-testnet: generate genesis.json & ABI files for testnet. Mainnet don't need this parameter.
-safe3: update safe3storage. If deps/safe3/* is modified, please add this parameter.
- Check output
All run results is saved in output directory.