-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathdev.env
65 lines (49 loc) · 2.73 KB
/
dev.env
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
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Development Environment Variables
#
# WARNING: This file is part of the git repo. DO NOT INCLUDE SENSITIVE DATA!
#
# The environment variables are read by
# - Solidity scripts in script/
# - forge commands
#
# Note that the variables need to be exported in order for make to read them
# directly.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ------------------------------------------------------------------------------
# RPC endpoints (these are public links, substitute with alchemy or similar for less rate limiting)
export RPC_URL="http://127.0.0.1:8545" # Local anvil node
export SEPOLIA_RPC_URL=https://sepolia.drpc.org
export OPTIMISM_SEPOLIA_RPC_URL=https://sepolia.optimism.io
export POLYGON_AMOY_RPC_URL=https://rpc-amoy.polygon.technology/
export POLYGON_CARDONA_RPC_URL=https://rpc.cardona.zkevm-rpc.com
# ------------------------------------------------------------------------------
# Wallets
# Default Anvil Wallet
export ANVIL_WALLET_DEPLOYER=0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
export ANVIL_WALLET_DEPLOYER_PK=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
# Deployer Wallet
# (Note that for this example we are reusing anvil's default wallets.)
export DEPLOYER_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
# ------------------------------------------------------------------------------
# Multisig Addresses
export COMMUNITY_MULTISIG_ADDRESS=0x0000000000000000000000000000000000000000
export TEAM_MULTISIG_ADDRESS=0x0000000000000000000000000000000000000000
# ------------------------------------------------------------------------------
# Treasury Addresses
export TREASURY_ADDRESS=0x0000000000000000000000000000000000000000
# ------------------------------------------------------------------------------
# DETERMINISTIC_FACTORY_ADDRESS
export DETERMINISTIC_FACTORY_ADDRESS=0x0000000000000000000000000000000000000000
# ------------------------------------------------------------------------------
# Contract Verification
# Etherscan API Keys
export ETHERSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
export POLYGONSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
export OP_ETHERSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
# ------------------------------------------------------------------------------
# Command to run a deployment script
# In general, the command to run a deployment script will look like this:
# forge script script/deploymentScript/DeploymentScript.s.sol --rpc-url $SEPOLIA_RPC_URL --chain-id 11155111 --private-key $WALLET_DEPLOYER_PK --etherscan-api-key $ETHERSCAN_API_KEY --verify --broadcast --legacy -vvv
# @todo Move the last part to readme