Added scripts to run bootstrap node in host, and waku node in kurtosis

This commit is contained in:
Alberto Soutullo 2023-06-09 12:10:57 +02:00
parent d5378aa77f
commit e58ceee4c4
2 changed files with 22 additions and 0 deletions

17
run_bootstrap_node.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/sh
IP=$(ip a | grep "inet " | grep -Fv 127.0.0.1 | sed 's/.*inet \([^/]*\).*/\1/')
exec /usr/bin/wakunode\
--relay=true\
--rpc-admin=true\
--keep-alive=true\
--max-connections=150\
--dns-discovery=true\
--discv5-discovery=true\
--discv5-enr-auto-update=True\
--log-level=INFO\
--rpc-address=0.0.0.0\
--metrics-server=True\
--metrics-server-address=0.0.0.0\
--nat=extip:${IP}

5
run_waku_node.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
IP=$(ip a | grep "inet " | grep -Fv 127.0.0.1 | sed 's/.*inet \([^/]*\).*/\1/')
exec /usr/bin/wakunode --config-file="$1" --ports-shift="$2" --nat=extip:"${IP}" --log-level=TRACE