Skip to content

Commit e6e52c5

Browse files
Remove Setup holesky section on readme
1 parent ae77b3e commit e6e52c5

File tree

1 file changed

+1
-66
lines changed

1 file changed

+1
-66
lines changed

examples/l2/README.md

Lines changed: 1 addition & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -56,75 +56,10 @@ make submodules
5656
```
5757

5858
You can run the example on:
59-
- [Holesky](#setup-holeksy)
59+
6060
- [Hoodi](#setup-hoodi)
6161
- [Localnet](#setup-localnet)
6262

63-
## Setup Holeksy
64-
65-
### 1. Create keystore
66-
67-
You can use cast to create a local keystore. If you already have one you can skip this step.
68-
69-
```bash
70-
cast wallet new-mnemonic
71-
```
72-
73-
Then you can import your created keystore using:
74-
75-
```bash
76-
cast wallet import --interactive <path_to_keystore.json>
77-
```
78-
79-
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.`
125-
126-
Finally [run the l2](#running-the-l2).
127-
12863
## Setup Hoodi
12964

13065
### 1. Create keystore

0 commit comments

Comments
 (0)