mirror of
https://github.com/logos-messaging/logos-messaging-simulator.git
synced 2026-01-02 22:13:11 +00:00
* add anvil config and volume to remember state and output account info; nwaku config to register rln membership * modify run_nwaku.sh for onchain rln * add script for rln membership registration * run_nwaku update, removed rln membership index and added other rln parameters * merged run_register_rln with the run_nwaku script * added environment variables for rln-contract registration * removed rpc related flags and added rest flags for sake of completeness, also updated BOOTSTRAP_ENR query * removed rpc flags, added cred-path and -password * added keystore volume and 8645 port * removed keystore volume and keystore parent directory * remove unused service from docker-compose
22 lines
615 B
Bash
Executable File
22 lines
615 B
Bash
Executable File
#!/bin/sh
|
|
|
|
IP=$(ip a | grep "inet " | grep -Fv 127.0.0.1 | sed 's/.*inet \([^/]*\).*/\1/')
|
|
|
|
echo "I am a bootstrap node"
|
|
|
|
exec /usr/bin/wakunode\
|
|
--relay=true\
|
|
--keep-alive=true\
|
|
--max-connections=300\
|
|
--dns-discovery=true\
|
|
--discv5-discovery=true\
|
|
--discv5-enr-auto-update=True\
|
|
--log-level=INFO\
|
|
--metrics-server=True\
|
|
--metrics-server-address=0.0.0.0\
|
|
--nodekey=30348dd51465150e04a5d9d932c72864c8967f806cce60b5d26afeca1e77eb68\
|
|
--nat=extip:${IP}\
|
|
--rest=true\
|
|
--rest-admin=true\
|
|
--rest-private=true\
|
|
--rest-address=0.0.0.0 |