lotus/scripts/dev/sminer-init

11 lines
333 B
Plaintext
Raw Permalink Normal View History

2019-11-30 09:25:31 +00:00
#!/usr/bin/env sh
set -o xtrace
export TRUST_PARAMS=1
tag=${TAG:-debug}
go run -tags=$tag ./cmd/lotus wallet import ~/.genesis-sectors/pre-seal-t01000.key
2020-07-08 10:38:59 +00:00
go run -tags=$tag ./cmd/lotus-miner init --actor=t01000 --genesis-miner --pre-sealed-sectors=~/.genesis-sectors --pre-sealed-metadata=~/.genesis-sectors/pre-seal-t01000.json