File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # .env example for devnet network
2+ NETWORK=devnet
3+ ETH_RPC_URL=http://localhost:8545
4+ WS_ETH_RPC_URL=ws://localhost:8546
5+ BEACON_CLIENT_URL=http://localhost:58801
6+ PRIVATE_KEY_STORE_PATH=<PATH_TO_STATE_TRANSITION_OWNER_KEYSTORE>
7+ PRIVATE_KEY_STORE_PASSWORD=<STATE_TRANSITION_OWNER_KEYSTORE_PASSWORD>
8+ STATE_TRANSITION_CONTRACT_ADDRESS=<STATE_TRANSITION_CONTRACT_ADDRESS>
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ SHELL := /bin/bash
55gen_env_l2_holesky :
66 @cp .env.holesky .env
77
8+ gen_env_l2_devnet :
9+ @cp .env.devnet .env
10+
811run_l2 :
912 @cd crates/l2 && cargo run --release --bin main
1013
@@ -15,5 +18,8 @@ generate_program_id:
1518gen_env_contract_holesky :
1619 @cp ./contracts/.env.holesky ./contracts/.env
1720
21+ gen_env_contract_devnet :
22+ @cp ./contracts/.env.devnet ./contracts/.env
23+
1824deploy_contract :
1925 @. ./contracts/.env && . ./contracts/scripts/deploy.sh
Original file line number Diff line number Diff line change 1+ RPC_URL=http://localhost:8545
2+ # Initial state root of db, see in crates/l2/db.rs
3+ INITIAL_STATE_ROOT=0x3c1d1c01f8e0a4533085bc9d8a3829c5f6872e6d6cf62e04ae71acbc803747ce
4+ # You can read it from crates/l2/programs_ids.json and generate it via `make generate_program_id`
5+ PROGRAM_ID=<PROGRAM_ID>
6+ # Address of the wallet you want to set as owner
7+ OWNER_ADDRESS=<CONTRACT_OWNER_ADDRESS>
8+ # Private key used to deploy the contract
9+ PRIVATE_KEY=<PRIVATE_KEY_TO_DEPLOY>
10+ # This is the aligned proof aggregator address in devnet
11+ ALIGNED_PROOF_AGGREGATOR_ADDRESS=0xe84CD4084d8131841CE6DC265361f81F4C59a1d4
12+ ETHERSCAN_API_KEY=""
You can’t perform that action at this time.
0 commit comments