From 24c251c01f0d92aff2c2c33c53dea6b653cf5501 Mon Sep 17 00:00:00 2001 From: fryorcraken Date: Tue, 29 Jul 2025 10:26:50 +1000 Subject: [PATCH] Move RLN env to own example file --- .env.example | 15 --------------- .env.example.rln | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 .env.example.rln diff --git a/.env.example b/.env.example index cea37fc..785cc32 100644 --- a/.env.example +++ b/.env.example @@ -2,24 +2,9 @@ # e.g. https://linea-sepolia.infura.io/v3/123aa110320f4aec179150fba1e1b1b1 RLN_RELAY_ETH_CLIENT_ADDRESS=https://linea-sepolia.infura.io/v3/ -# 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= - -# 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. -# Use the following as a format example, but replace it with your own private key value -# e.g. ETH_TESTNET_KEY=abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234 -ETH_TESTNET_KEY= - # 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 -# Path and password if you have an existing RLN Membership - new membership registration is WIP -# RLN_RELAY_CRED_PATH="" -# RLN_RELAY_CRED_PASSWORD="" # Advanced. Can be left empty in normal use cases. NWAKU_IMAGE= diff --git a/.env.example.rln b/.env.example.rln new file mode 100644 index 0000000..a9c71e5 --- /dev/null +++ b/.env.example.rln @@ -0,0 +1,19 @@ +## RLN Credentials - EXPERIMENTAL +## If you have/want an RLN membership to send messages + +# 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= + +# Address of the RLN Membership Token contract on Linea Sepolia used to pay for membership. +TOKEN_CONTRACT_ADDRESS=0x185A0015aC462a0aECb81beCc0497b649a64B9ea + +# 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. +# Use the following as a format example, but replace it with your own private key value +# e.g. ETH_TESTNET_KEY=abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234 +ETH_TESTNET_KEY= + +# Path and password to the keystore file +RLN_RELAY_CRED_PATH= +RLN_RELAY_CRED_PASSWORD= \ No newline at end of file