forked from ethereum-optimism/superchain-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
37 lines (29 loc) · 1.89 KB
/
.env.example
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
# Your chain must be listed in https://github.com/ethereum-lists/chains
# And you must use the exact same name in this field:
SCR_CHAIN_NAME="awesomechain"
# The superchain that this chain will belong to (mainnet or sepolia)
SCR_SUPERCHAIN_TARGET=mainnet
# The short name will be used to identify the chain within the registry.
# Ideally it does not contain spaces.
# Not that this is _NOT_ the short name from https://github.com/ethereum-lists/chains.
# It does not need to be globally unique, only unique within the particular superchain.
# In this repository, the chain is identified by {SCR_SUPERCHAIN_TARGET}/{SCR_CHAIN_SHORT_NAME}
# For example, mainnet/op and sepolia/op have the same chain short name.
SCR_CHAIN_SHORT_NAME=awsm
# Set to true to run most of the validation checks for standard chains
SCR_STANDARD_CHAIN_CANDIDATE=false
# This is the path to your local fork of the github.com/ethereum-optimism/optimism monorepo
# It is defined for convenience and reuse by other vars below
SCR_MONOREPO_DIR=../optimism # path to local "ethereum-optimism/optimism" monorepo
# The following vars point to three input files required for adding a chain
# Data will be scraped from these files in order to construct the required registry data
SCR_DEPLOYMENTS_DIR=${SCR_MONOREPO_DIR}/packages/contracts-bedrock/deployments/getting-started
SCR_ROLLUP_CONFIG=${SCR_MONOREPO_DIR}/op-node/rollup.json
SCR_GENESIS=${SCR_MONOREPO_DIR}/op-node/genesis.json
# Your chain's endpoint for ETHEREUM JSON-RPC requests
SCR_PUBLIC_RPC="http://awe.some.rpc" # new OP Stack L2 RPC URL
# Your chain's sequencer endpoint for eth_sendRawTransaction.
# This can be set the same as SCR_PUBLIC_RPC if you don't have a separate endpoint.
SCR_SEQUENCER_RPC="http://awe.some.seq.rpc" # new OP Stack L2 sequencer RPC URL
# Your chain's block explorer (e.g. Blockscout, Etherscan)
SCR_EXPLORER="https://awesomescan.org" # new OP Stack L2 block explorer URL