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
- Get an API KEY from Etherescan to verify the contracts. You can follow this [guide](https://docs.etherscan.io/getting-started/viewing-api-usage-statistics).
23
-
24
-
- You need a hot wallet with some ETH to deploy the contracts. The deployment cost is approximately 30M gas units.
25
-
26
-
You can create a hot wallet with cast using the following command:
27
-
28
-
```bash
29
-
cast wallet new
30
-
```
31
-
32
-
33
22
## AlignedServiceManager Contracts
34
23
35
-
This section will guide you through the deployment of the Aligned Layer contracts.
36
-
37
-
After finishing the deployment, you will have the deployed contract addresses.
38
-
39
-
### Set .env variables
40
-
41
-
To deploy the contracts, you need to set the `PRIVATE_KEY` and `ETHERSCAN_API_KEY` variables in the `.env` file.
24
+
1 You should have a keystore forthe Aggregator, with the seedphrase saved on paper
25
+
1. If you don't have an API Key on Etherscan, create one following this guide [guide](https://docs.etherscan.io/getting-started/viewing-api-usage-statistics).
26
+
2. If you don't have it, create a wallet to deploy Aligned with ```cast wallet new```. and keep the ```Address``` and ```Private Key```values
27
+
3. Transfer around 35M gas to the ```Address```
28
+
4. ```CD``` into the Aligned repo
29
+
5. Set the ```PRIVATE_KEY``` and ```ETHERSCAN_API_KEY```on the ```.env``` used to deploy. ```contracts/scripts/.env.mainnet``` or ```contracts/scripts/.env.holesky``` or ```contracts/scripts/.env.sepolia```
30
+
6. Set `owner`, `upgrader`, `churner`, `ejector` and `deployer` values of ```contracts/script/deploy/config/mainnet/aligned.holesky.config.json``` to the multisig controlling this processes, or the owner of the deploying address, depending on what you want
42
31
43
-
For **Mainnet** deployment, the `env` file is available [here](../../contracts/scripts/.env.mainnet).
44
-
45
-
For **Holesky** deployment, the `env` file is available [here](../../contracts/scripts/.env.holesky).
32
+
You need to set the following address in the config file:
46
33
47
-
For **Sepolia** deployment, the `env` file is available [here](../../contracts/scripts/.env.sepolia).
34
+
- `aggregator`: Address that will be the aggregator of Aligned.
48
35
49
-
### Set DEPLOY_CONFIG_PATH file
50
36
51
-
You need to set the following address in the config file:
52
37
53
38
- `owner`: Address that will be the owner of the contracts. This address can be a multisig or a normal wallet.
54
-
- `aggregator`: Address that will be the aggregator of Aligned.
55
39
- `upgrader`: Address that will be the upgrader of the contracts. This address can be a multisig or a normal wallet.
56
40
- `churner`: Address that will be the churner of the contracts. This address can be a multisig or a normal wallet.
57
41
- `ejector`: Address that will be the ejector of the contracts. This address can be a multisig or a normal wallet.
0 commit comments