EvenoR

WAKU Update

Jul 28th, 2025 (edited)
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.49 KB | None | 0 0
  1. #1
  2. cd nwaku-compose
  3. #2
  4. docker-compose down
  5. #3
  6. sudo rm -r keystore rln_tree
  7. #4
  8. git reset --hard
  9. git pull origin master
  10. #5
  11. nano .env
  12. #6
  13. docker-compose up -d
  14. #7
  15. set -o allexport; source .env; set +o allexport
  16. ./register_rln.sh
  17.  
  18.  
  19. =====================================================
  20.  
  21.  
  22. # RPC URL for accessing testnet via HTTP.
  23. # e.g. https://linea-sepolia.infura.io/v3/123aa110320f4aec179150fba1e1b1b1
  24. RLN_RELAY_ETH_CLIENT_ADDRESS=https://linea-sepolia.infura.io/v3/<key>
  25.  
  26. # Account of testnet where you have Linea Sepolia ETH that would be staked into RLN contract.
  27. # e.g.: ETH_TESTNET_ACCOUNT=0xbecd1546a397a6bad875247d51c4c6da0e469021
  28. ETH_TESTNET_ACCOUNT=<YOUR_TESTNET_ACCOUNT_ADDRESS_HERE>
  29.  
  30. # Private key of testnet where you have Linea Sepolia ETH that would be staked into RLN contract.
  31. # Note: make sure you don't use the '0x' prefix.
  32. #       e.g. ETH_TESTNET_KEY=0116196e9a8abed42dd1a22eb63fa2a5a17b0c27d716b87ded2c54f1bf192a0b
  33. ETH_TESTNET_KEY=<YOUR_TESTNET_PRIVATE_KEY_HERE>
  34.  
  35. # Address of the RLN contract on Linea Sepolia.
  36. RLN_CONTRACT_ADDRESS=0xB9cd878C90E49F797B4431fBF4fb333108CB90e6
  37. # Address of the RLN Membership Token contract on Linea Sepolia used to pay for membership.
  38. TOKEN_CONTRACT_ADDRESS=0x185A0015aC462a0aECb81beCc0497b649a64B9ea
  39.  
  40. # Password you would like to use to protect your RLN membership.
  41. RLN_RELAY_CRED_PASSWORD="my_secure_keystore_password"
  42.  
  43. # Advanced. Can be left empty in normal use cases.
  44. NWAKU_IMAGE=
  45. NODEKEY=
  46. DOMAIN=
  47. EXTRA_ARGS=
  48. STORAGE_SIZE=
  49.  
Advertisement
Add Comment
Please, Sign In to add comment