Skip to content

Commit 03b2f0a

Browse files
committed
refactor: update environment variable placeholders in .env.example
1 parent debbe76 commit 03b2f0a

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

packages/relayer/.env.example

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
CORE_CONTRACT_ADDRESS=0xeA1001AE28da904744fdd5167A4EbF1f2f546fab # Address of the deployed wallet contract, default for base sepolia
2-
PRIVATE_KEY= # Private key for Relayer's account.
3-
CHAIN_RPC_PROVIDER=https://base-sepolia.g.alchemy.com/v2/<alchemy-api-key>
4-
CHAIN_RPC_EXPLORER=https://base-sepolia.blockscout.com/
5-
CHAIN_ID=84532 # Chain ID of the testnet.
1+
CORE_CONTRACT_ADDRESS= # Address of the deployed wallet contract
2+
PRIVATE_KEY= # Private key for Relayer's account.
3+
CHAIN_RPC_PROVIDER=
4+
CHAIN_RPC_EXPLORER=
5+
CHAIN_ID=
66

77
CANISTER_ID=fxmww-qiaaa-aaaaj-azu7a-cai
88
PEM_PATH=./.ic.pem
99
IC_REPLICA_URL=https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fxmww-qiaaa-aaaaj-azu7a-cai
1010
WALLET_CANISTER_ID=
1111

1212

13-
ERROR_EMAIL_ADDRESSES=[email protected] # change this to your email address
14-
RELAYER_EMAIL_ADDR=[email protected] # change this to your email address
15-
RELAYER_HOSTNAME="gmail.com"
13+
ERROR_EMAIL_ADDRESSES= # change this to your email address
14+
RELAYER_EMAIL_ADDR= # change this to your email address
15+
RELAYER_HOSTNAME=
1616

17-
SMTP_SERVER=http://localhost:3000/api/sendEmail
18-
DATABASE_URL= "postgres://emailWallet:emailWallet_password@localhost:5432/emailWallet"
17+
SMTP_SERVER=<host>/api/sendEmail
18+
DATABASE_URL=
1919
PROVER_ADDRESS=https://zkemail--email-wallet-relayer-v1-2-0-flask-app.modal.run/
2020
SUBGRAPH_URL=https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/AFNg1WfLo4dv1tfixaKCvWTVnFGEsVhVKx2Kef1dbt9G # Please replace [api-key] with your TheGraph API key
2121

22-
FEE_PER_GAS=0 # Fee per gas in wei.
22+
FEE_PER_GAS=0 # Fee per gas in wei.
2323
WEB_SERVER_ADDRESS="0.0.0.0:4500"
24-
CIRCUITS_DIR_PATH=../circuits #Path to email-wallet/packages/circuits
25-
INPUT_FILES_DIR_PATH=./input_files/ #Path to email-wallet/packages/relayer/input_files
26-
EMAIL_TEMPLATES_PATH=./eml_templates/ #Path to email templates, e.g. ./packages/relayer/eml_templates/
24+
CIRCUITS_DIR_PATH=../circuits #Path to email-wallet/packages/circuits
25+
INPUT_FILES_DIR_PATH=./input_files/ #Path to email-wallet/packages/relayer/input_files
26+
EMAIL_TEMPLATES_PATH=./eml_templates/ #Path to email templates, e.g. ./packages/relayer/eml_templates/
2727

28-
ONBOARDING_TOKEN_ADDR=0x12Cee57B10AadAb156F61F757Aaf61FeE7d5f0Cb
28+
ONBOARDING_TOKEN_ADDR=
2929
ONBOARDING_TOKEN_AMOUNT=100
3030
ONBOARDING_TOKEN_DISTRIBUTION_LIMIT=10
3131
ONBOARDING_REPLY="You received 100 TEST!"
@@ -34,20 +34,21 @@ SAFE_API_ENDPOINT="https://safe-transaction-base-sepolia.safe.global/api"
3434

3535
JSON_LOGGER=false
3636

37+
# SMPT and IMAP env variables are used by the local docker compose. Ignore if not testing locally
3738
# SMTP service - for sending emails to users
3839
SMTP_PORT=3000
3940
SMTP_INTERNAL_SERVER_HOST=0.0.0.0
4041
SMTP_INTERNAL_SERVER_PORT=3000
41-
SMTP_DOMAIN_NAME=smtp.gmail.com
42-
SMTP_LOGIN_ID=[email protected] # IMAP login id - usually your email address.
43-
SMTP_LOGIN_PASSWORD= # IMAP password - usually your email password.
44-
SMTP_MESSAGE_ID_DOMAIN=mail.gmail.com
42+
SMTP_DOMAIN_NAME=
43+
SMTP_LOGIN_ID= # IMAP login id - usually your email address.
44+
SMTP_LOGIN_PASSWORD= # IMAP password - usually your email password.
45+
SMTP_MESSAGE_ID_DOMAIN=
4546
SMPT_JSON_LOGGER=true
4647

4748
# Imap service - for receiving emails from users
48-
IMAP_LOGIN_ID=[email protected]
49-
IMAP_LOGIN_PASSWORD= # IMAP password - usually your email password.
50-
IMAP_DOMAIN_NAME=imap.gmail.com
51-
IMAP_PORT=993
49+
IMAP_LOGIN_ID=
50+
IMAP_LOGIN_PASSWORD= # IMAP password - usually your email password.
51+
IMAP_DOMAIN_NAME=
52+
IMAP_PORT=
5253
IMAP_AUTH_TYPE=password
5354
IMAP_JSON_LOGGER=true

0 commit comments

Comments
 (0)