Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1
- cd nwaku-compose
- #2
- docker-compose down
- #3
- sudo rm -r keystore rln_tree
- #4
- git reset --hard
- git pull origin master
- #5
- nano .env
- #6
- docker-compose up -d
- #7
- set -o allexport; source .env; set +o allexport
- ./register_rln.sh
- =====================================================
- # RPC URL for accessing testnet via HTTP.
- # e.g. https://linea-sepolia.infura.io/v3/123aa110320f4aec179150fba1e1b1b1
- RLN_RELAY_ETH_CLIENT_ADDRESS=https://linea-sepolia.infura.io/v3/<key>
- # Account of testnet where you have Linea Sepolia ETH that would be staked into RLN contract.
- # e.g.: ETH_TESTNET_ACCOUNT=0xbecd1546a397a6bad875247d51c4c6da0e469021
- ETH_TESTNET_ACCOUNT=<YOUR_TESTNET_ACCOUNT_ADDRESS_HERE>
- # Private key of testnet where you have Linea Sepolia ETH that would be staked into RLN contract.
- # Note: make sure you don't use the '0x' prefix.
- # e.g. ETH_TESTNET_KEY=0116196e9a8abed42dd1a22eb63fa2a5a17b0c27d716b87ded2c54f1bf192a0b
- ETH_TESTNET_KEY=<YOUR_TESTNET_PRIVATE_KEY_HERE>
- # Address of the RLN contract on Linea Sepolia.
- RLN_CONTRACT_ADDRESS=0xB9cd878C90E49F797B4431fBF4fb333108CB90e6
- # Address of the RLN Membership Token contract on Linea Sepolia used to pay for membership.
- TOKEN_CONTRACT_ADDRESS=0x185A0015aC462a0aECb81beCc0497b649a64B9ea
- # Password you would like to use to protect your RLN membership.
- RLN_RELAY_CRED_PASSWORD="my_secure_keystore_password"
- # Advanced. Can be left empty in normal use cases.
- NWAKU_IMAGE=
- NODEKEY=
- DOMAIN=
- EXTRA_ARGS=
- STORAGE_SIZE=
Advertisement
Add Comment
Please, Sign In to add comment