Understanding the required environment variables
.env
file that is used by many of the scripts available to you. You’ll need to add sensitive values to this file for the scripts to run.
.env
to your own copy of the repository.Consider removing the .env
file from tracking and adding to .gitignore
to avoid accidentally commiting sensitive values to version control.
How to untrack the environment file for safety
RULE_PROCESSOR_DIAMOND
RULE_PROCESSOR_DIAMOND
as 0xe96ab6faa3a186b667136f8974d767a6f060fa1b
, which is indicated in the supported chains table for the Amoy network.
ETH_RPC_URL
http://localhost:8545
.
CHAIN_ID
ChainID List
Chain | Chain ID |
---|---|
Base | 8453 |
Ethereum | 1 |
Polygon POS | 137 |
Arbitrum Sepolia | 421614 |
Base Sepolia | 84532 |
Binance Smart Chain Test | 97 |
Ethereum Sepolia | 11155111 |
Optimism Sepolia | 11155420 |
Polygon Amoy | 80002 |
Reach Testnet | 243 |
GAS_NUMBER
20
is a good number to use generally)
DEPLOYMENT_OWNER
and DEPLOYMENT_OWNER_KEY
SUPER ADMIN
of your App Manager contract. You can propose a new Super admin and transfer ownership if you wish.
APP_ADMIN
and APP_ADMIN_PRIVATE_KEY
HANDLER_DIAMOND_TO_DEPLOY