-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.example
More file actions
73 lines (58 loc) · 2.57 KB
/
.env.example
File metadata and controls
73 lines (58 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Copy this file to e2e-tests/.env and adjust values.
# Path to push-chain workspace root.
# Keep this empty to use auto-detection (parent of e2e-tests).
# PUSH_CHAIN_DIR=
# Local Push RPC
PUSH_RPC_URL=http://localhost:8545
# Local chain info
CHAIN_ID=localchain_9000-1
KEYRING_BACKEND=test
# Set to LOCAL to enable anvil/surfpool setup and local RPC rewrites in setup-environment/all
TESTING_ENV=
# Genesis key recovery/funding
GENESIS_KEY_NAME=genesis-acc-1
GENESIS_KEY_HOME=./e2e-tests/.pchain
# Optional local fallback file. If missing, setup.sh reads accounts from docker core-validator-1 (/tmp/push-accounts/genesis_accounts.json)
GENESIS_ACCOUNTS_JSON=./e2e-tests/genesis_accounts.json
# Optional: set to skip interactive mnemonic prompt
# GENESIS_MNEMONIC="word1 word2 ..."
# Address to fund from genesis account
FUND_TO_ADDRESS=push1w7xnyp3hf79vyetj3cvw8l32u6unun8yr6zn60
FUND_AMOUNT=1000000000000000000upc
POOL_CREATION_TOPUP_AMOUNT=50000000000000000000upc
GAS_PRICES=100000000000upc
# EVM private key used by forge/hardhat scripts
PRIVATE_KEY=0xYOURPRIVATEKEY
# External repositories
CORE_CONTRACTS_REPO=https://github.com/pushchain/push-chain-core-contracts.git
CORE_CONTRACTS_BRANCH=node-e2e
SWAP_AMM_REPO=https://github.com/pushchain/push-chain-swap-internal-amm-contracts.git
SWAP_AMM_BRANCH=e2e-push-node
GATEWAY_REPO=https://github.com/pushchain/push-chain-gateway-contracts.git
GATEWAY_BRANCH=e2e-push-node
PUSH_CHAIN_SDK_REPO=https://github.com/pushchain/push-chain-sdk.git
PUSH_CHAIN_SDK_BRANCH=outbound_changes
# push-chain-sdk core .env target path (relative to PUSH_CHAIN_SDK_DIR)
PUSH_CHAIN_SDK_CORE_ENV_PATH=packages/core/.env
# Local clone layout (outside push-chain directory)
E2E_PARENT_DIR=../
CORE_CONTRACTS_DIR=../push-chain-core-contracts
SWAP_AMM_DIR=../push-chain-swap-internal-amm-contracts
GATEWAY_DIR=../push-chain-gateway-contracts
PUSH_CHAIN_SDK_DIR=../push-chain-sdk
PUSH_CHAIN_SDK_E2E_DIR=packages/core/__e2e__/evm/inbound
# push-chain-sdk required env vars (mirrored into PUSH_CHAIN_SDK_DIR/packages/core/.env by setup-sdk)
# Defaults used by setup-sdk when omitted:
# EVM_PRIVATE_KEY <= PRIVATE_KEY
# EVM_RPC <= PUSH_RPC_URL
# PUSH_PRIVATE_KEY<= PRIVATE_KEY
EVM_PRIVATE_KEY=
EVM_RPC=
SOLANA_RPC_URL=https://api.devnet.solana.com
SOLANA_PRIVATE_KEY=
PUSH_PRIVATE_KEY=
# Tracking files
DEPLOY_ADDRESSES_FILE=./e2e-tests/deploy_addresses.json
TEST_ADDRESSES_PATH=../push-chain-swap-internal-amm-contracts/test-addresses.json
TOKEN_CONFIG_PATH=./config/testnet-donut/eth_sepolia/tokens/eth.json
CHAIN_CONFIG_PATH=./config/testnet-donut/eth_sepolia/chain.json