You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then you need to obtain some funds to pay for gas and proof verification.
80
-
You can do this by using this [faucet](https://cloud.google.com/application/web3/faucet/ethereum/holesky)
81
-
82
-
*This same wallet is used to send the proof via aligned, so you'll also need to fund it on aligned. Follow this [guide](https://docs.alignedlayer.com/guides/0_submitting_proofs#id-2.-send-funds-to-aligned).*
83
-
84
-
### 2. Deploy the contract
85
-
86
-
- Generate the base `.env`:
87
-
88
-
```shell
89
-
make gen_env_contract_holesky
90
-
```
91
-
92
-
- Get the program ID of the l2 program you are proving:
93
-
94
-
```shell
95
-
make generate_program_id
96
-
```
97
-
98
-
- Complete the following fields `contracts/.env` file:
99
-
100
-
-`PROGRAM_ID=` (use the previously generated ID, you can re check with a `cat ./crates/l2/programs_ids.json` )
101
-
-`PRIVATE_KEY`: the private key used for the deployment, it needs to have some funds to pay for the deployment.
102
-
-`OWNER_ADDRESS`: you have to provide the *address of the wallet created in step `1.`*.
103
-
104
-
- Deploy the contracts with:
105
-
106
-
```shell
107
-
make deploy_contract
108
-
```
109
-
110
-
*Save the output contract address.*
111
-
112
-
### 3. Setup the L2
113
-
114
-
- Generate the base `.env` run:
115
-
116
-
```shell
117
-
make gen_env_l2_holesky
118
-
```
119
-
120
-
- Complete the missing fields on the `.env`:
121
-
122
-
-`PRIVATE_KEY_STORE_PATH`: The path to the keystore created in `1.`.
123
-
-`PRIVATE_KEY_STORE_PASSWORD`: The password of the keystore crated in step `1.`.
124
-
-`STATE_TRANSITION_CONTRACT_ADDRESS`: The address of the contract deployed in step `2.`
0 commit comments