Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deploy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
deploy
Commits
f7285651
Commit
f7285651
authored
Mar 13, 2025
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update config
parent
97a52aa9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
Makefile
Makefile
+6
-2
docker-compose.yml
docker-compose.yml
+2
-2
jwtsecret
layer1/node/data/jwtsecret
+1
-0
password.txt
layer1/password.txt
+1
-1
No files found.
Makefile
View file @
f7285651
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
docker-compose.yml
View file @
f7285651
...
...
@@ -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
layer1/node/data/jwtsecret
0 → 100644
View file @
f7285651
0x699499bea2313b208c4f5b6cde1688ad3f5c9c222abd62fc018164de8a9f25b3
\ No newline at end of file
layer1/password.txt
View file @
f7285651
123456
123456
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment