Commit f7285651 authored by vicotor's avatar vicotor

update config

parent 97a52aa9
init:
docker run -rm -name initlayer1 -v "${PWD}/layer1:/root" tscel/eth:v1.10.26 geth init --datadir /root/node /root/genesis.json
docker run --rm --name initlayer1 -v "${PWD}/layer1:/root" tscel/eth:v1.10.26 geth init --datadir /root/node/data /root/genesis.json
start:
docker compose up -d
stop:
docker compose down
\ No newline at end of file
docker compose down
clean:
rm -rf layer1/.cache layer1/node/data/geth
\ No newline at end of file
......@@ -10,9 +10,9 @@ services:
- exchain
ports:
- "8545:8545"
entrypoint: geth --datadir /root/node/data --http --nodiscover --miner.gaslimit=10000000000 --http.api=eth,net,web3,admin,txpool,miner,debug --http.addr=0.0.0.0 --http.corsdomain=* --authrpc.vhosts=* --authrpc.addr=0.0.0.0 --authrpc.port=8552 --rpc.allow-unprotected-txs --authrpc.jwtsecret=/root/node/data/jwtsecret --allow-insecure-unlock --unlock=$MINER --password=/root/password.txt --mine --gcmode archive
entrypoint: geth --datadir /root/node/data --http --nodiscover --miner.gaslimit=10000000000 --http.api=eth,net,web3,admin,txpool,miner,debug --http.addr=0.0.0.0 --http.corsdomain=* --authrpc.vhosts=* --authrpc.addr=0.0.0.0 --authrpc.port=8552 --rpc.allow-unprotected-txs --authrpc.jwtsecret=/root/node/data/jwtsecret --allow-insecure-unlock --unlock=0xfEe2882b7d75FadDcebD002E7e3bEf7B19Eed14E --password=/root/password.txt --mine --gcmode archive
volumes:
- "./layer1/node:/root/node"
- "./layer1/password.txt:/root/password.txt"
environment:
- MINER=0xfEe2882b7d75FadDcebD002E7e3bEf7B19Eed14E
- MINER=0xfEe2882b7d75FadDcebD002E7e3bEf7B19Eed14E
\ No newline at end of file
0x699499bea2313b208c4f5b6cde1688ad3f5c9c222abd62fc018164de8a9f25b3
\ No newline at end of file
123456
123456
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment