@@ -14,7 +14,7 @@ This document shows you how to integrate and configure the AggLayer into your st
1414
15151 . If you do not have a CDK chain set up with Polygon, [ make a request to register your chain] ( https://discord.gg/XvpHAxZ ) .
1616
17- You will be asked for the following data:
17+ We will ask you for the following data:
1818
1919 ``` json
2020 "rollupTypeID" : 0 ,
@@ -82,54 +82,6 @@ We then add your details to our AggLayer configuration file [`../agglayer/docker
8282* `[L1]` points to the corresponding L1 chain.
8383* The `[DB]` section has the managed database details.
8484
85- For example:
86-
87- ```sh
88- [FullNodeRPCs ]
89- # 0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82 = "http://zkevm-node:8123"
90- # {{ zkevm_l1_rollup_manager_addr }} = "http://int-rpc.{{ base_dn }}:{{ zkevm_rpc_server_port }}"
91- 1 = "http://int-rpc.{{ base_dn }}:{{ zkevm_rpc_server_port }}"
92-
93- [RPC ]
94- Host = "0.0.0.0"
95- Port = {{ zkevm_agglayer_server_port }}
96- ReadTimeout = "60s"
97- WriteTimeout = "60s"
98- MaxRequestsPerIPAndSecond = 5000
99-
100- [Log ]
101- Environment = "development" # "production" or "development"
102- Level = "debug"
103- Outputs = ["stderr"]
104-
105- [DB ]
106- User = "{{ zkevm_agglayer_db_user }}"
107- Password = "{{ zkevm_agglayer_db_password }}"
108- Name = "{{ zkevm_agglayer_db_name }}"
109- Host = "{{ zkevm_postgres_host }}"
110- Port = "5432"
111- EnableLog = false
112- MaxConns = 200
113-
114- [EthTxManager ]
115- FrequencyToMonitorTxs = "1s"
116- WaitTxToBeMined = "2m"
117- ForcedGas = 0
118- GasPriceMarginFactor = 1
119- MaxGasPriceLimit = 0
120- PrivateKeys = [
121- {Path = "/etc/agglayer/agglayer.keystore", Password = "{{ zkevm_agglayer_keystore_password }}"},
122- ]
123-
124- [L1 ]
125- ChainID = {{ zkevm_l1_chain_id }}
126- NodeURL = "{{ zkevm_l1_rpc }}"
127- RollupManagerContract = "{{ zkevm_l1_rollup_manager_addr }}"
128-
129- [Telemetry ]
130- PrometheusAddr = "0.0.0.0:2223"
131- ```
132-
13385## Step 3: External CDK chain configuration
13486
13587The last step is to update your node configuration to map to the Polygon Agglayer.
@@ -139,9 +91,9 @@ Open the `config.toml` file and include the following:
13991```sh
14092[Aggregator ]
14193SettlementBackend = "agglayer"
142- AggLayerURL = " https ://agglayer-test.polygon.technology "
94+ AggLayerURL = "http ://agglayer-001.{{ base_dn }}:{{ zkevm_agglayer_server_port }} "
14395AggLayerTxTimeout = "300s"
144- SenderAddress = " 0x0325686a18aA829B9FaaAD70f22ea0830aA6076F "
96+ SenderAddress = "0x0000000000000000000000000000000000000000 "
14597```
14698
14799You now have a fully integrated AggLayer in your Polygon CDK stack.
0 commit comments