Skip to content

Commit c439631

Browse files
committed
feat(integrations): ✨ Polygon Amoy testnet integration
Based on info provided in: https://github.com/bcnmy/product-private/issues/75
1 parent 1cf8244 commit c439631

2 files changed

Lines changed: 33 additions & 19 deletions

File tree

config/default.json

Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
1, 80001, 137, 97, 56, 1442, 1101, 42161, 42170, 420, 10, 43113, 43114,
44
84531, 8453, 59140, 59144, 5000, 5001, 204, 5611, 88888, 592, 88882, 81,
55
1115, 1116, 169, 3441005, 91715, 9980, 421614, 11155111, 84532, 168587773,
6-
80085, 81457, 534351, 534352, 56400, 7000, 11155420
6+
80085, 81457, 534351, 534352, 56400, 7000, 11155420, 80002
77
],
88
"EIP1559SupportedNetworks": [
99
1, 80001, 137, 42161, 420, 10, 43114, 43113, 84531, 8453, 59140, 59144, 204,
1010
5611, 421614, 11155111, 84532, 168587773, 80085, 81457, 42170, 169, 56400,
11-
11155420
11+
11155420, 80002
1212
],
1313
"testnetNetworks": [
1414
5, 80001, 97, 1442, 421613, 420, 43113, 84531, 59140, 5001, 5611, 81, 88882,
1515
59144, 421614, 11155111, 1115, 3441005, 84532, 168587773, 80085, 534351,
16-
56400, 11155420
16+
56400, 11155420, 80002
1717
],
1818
"nonRM2SupportedNetworks": [
1919
97, 1442, 1101, 42170, 420, 10, 43113, 43114, 84531, 8453, 59140, 59144,
2020
5000, 5001, 204, 5611, 88888, 592, 88882, 81, 1115, 1116, 169, 3441005,
2121
91715, 9980, 421614, 11155111, 84532, 168587773, 80085, 81457, 534351,
22-
534352, 56400, 7000, 11155420
22+
534352, 56400, 7000, 11155420, 80002
2323
],
2424
"supportedTransactionType": {
2525
"1": ["AA", "SCW", "BUNDLER"],
@@ -68,7 +68,8 @@
6868
"534352": ["AA", "BUNDLER"],
6969
"56400": ["AA", "BUNDLER"],
7070
"7000": ["AA", "BUNDLER"],
71-
"11155420": ["AA", "BUNDLER"]
71+
"11155420": ["AA", "BUNDLER"],
72+
"80002": ["AA", "BUNDLER"]
7273
},
7374
"chains": {
7475
"providers": {
@@ -156,7 +157,8 @@
156157
"534352": "ETH",
157158
"56400": "ZERO",
158159
"7000": "ZETA",
159-
"11155420": "ETH"
160+
"11155420": "ETH",
161+
"80002": "MATIC"
160162
},
161163
"decimal": {
162164
"5": 18,
@@ -205,7 +207,8 @@
205207
"534352": 18,
206208
"56400": 18,
207209
"7000": 18,
208-
"11155420": 18
210+
"11155420": 18,
211+
"80002": 18
209212
},
210213
"retryTransactionInterval": {
211214
"5": 220000,
@@ -254,7 +257,8 @@
254257
"534352": 220000,
255258
"56400": 220000,
256259
"7000": 220000,
257-
"11155420": 220000
260+
"11155420": 220000,
261+
"80002": 120000
258262
},
259263
"updateFrequencyInSeconds": {
260264
"5": 60,
@@ -303,7 +307,8 @@
303307
"534352": 60,
304308
"56400": 60,
305309
"7000": 60,
306-
"11155420": 60
310+
"11155420": 60,
311+
"80002": 60
307312
}
308313
},
309314
"defaultGasOverheads": {
@@ -370,7 +375,8 @@
370375
"534352": 2,
371376
"56400": 100,
372377
"7000": 2,
373-
"11155420": 2
378+
"11155420": 2,
379+
"80002": 2
374380
},
375381
"maxRelayerCount": {
376382
"5": 10,
@@ -419,7 +425,8 @@
419425
"534352": 5,
420426
"56400": 120,
421427
"7000": 5,
422-
"11155420": 5
428+
"11155420": 5,
429+
"80002": 5
423430
},
424431
"inactiveRelayerCountThreshold": {
425432
"5": 5,
@@ -468,7 +475,8 @@
468475
"534352": 5,
469476
"56400": 80,
470477
"7000": 3,
471-
"11155420": 3
478+
"11155420": 3,
479+
"80002": 3
472480
},
473481
"pendingTransactionCountThreshold": {
474482
"5": 15,
@@ -517,7 +525,8 @@
517525
"534352": 15,
518526
"56400": 15,
519527
"7000": 15,
520-
"11155420": 15
528+
"11155420": 15,
529+
"80002": 15
521530
},
522531
"fundingRelayerAmount": {
523532
"5": 0.001,
@@ -566,7 +575,8 @@
566575
"534352": 0.03,
567576
"56400": 0.5,
568577
"7000": 5,
569-
"11155420": 0.01
578+
"11155420": 0.01,
579+
"80002": 1
570580
},
571581
"fundingBalanceThreshold": {
572582
"5": 0.03,
@@ -615,7 +625,8 @@
615625
"534352": 0.015,
616626
"56400": 0.2,
617627
"7000": 2,
618-
"11155420": 0.005
628+
"11155420": 0.005,
629+
"80002": 0.5
619630
},
620631
"newRelayerInstanceCount": {
621632
"5": 3,
@@ -664,7 +675,8 @@
664675
"534352": 2,
665676
"56400": 2,
666677
"7000": 2,
667-
"11155420": 2
678+
"11155420": 2,
679+
"80002": 2
668680
}
669681
},
670682
{
@@ -953,7 +965,7 @@
953965
59140, 59144, 5000, 5001, 5611, 204, 84532, 168587773
954966
],
955967
"BNB": [97, 56],
956-
"MATIC": [8995, 80001, 15001, 16110, 137],
968+
"MATIC": [8995, 80001, 15001, 16110, 137, 80002],
957969
"BERA": [80085]
958970
},
959971
"symbolMapByChainId": {
@@ -977,7 +989,7 @@
977989
1, 5, 80001, 137, 97, 56, 1442, 1101, 421613, 42161, 420, 10, 43114,
978990
84531, 8453, 59140, 59144, 592, 81, 204, 5611, 5000, 5001, 169, 3441005,
979991
1115, 1116, 91715, 9980, 421614, 11155111, 84532, 168587773, 43113,
980-
80085, 81457, 42170, 534351, 534352, 56400, 7000, 11155420
992+
80085, 81457, 42170, 534351, 534352, 56400, 7000, 11155420, 80002
981993
]
982994
},
983995
"0x00000061fefce24a79343c27127435286bb7a4e1": {
@@ -1046,7 +1058,8 @@
10461058
"168587773": 0.15,
10471059
"84532": 0.15,
10481060
"80085": 0.1,
1049-
"81457": 0.15
1061+
"81457": 0.15,
1062+
"80002": 0.1
10501063
},
10511064
"socketService": {
10521065
"wssUrl": "wss://sdk-ws.prod.biconomy.io/connection/websocket",

src/common/constants/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,7 @@ export enum BLOCKCHAINS {
13591359
SCROLL_SEPOLIA_TESTNET = 534351,
13601360
SCROLL_MAINNET = 534352,
13611361
ZEROONE_TESTNET = 56400,
1362+
POLYGON_AMOY_TESTNET = 80002,
13621363
}
13631364

13641365
export const MANTLE_L1_ROLL_UP_FEE_DIVISION_FACTOR = 10000000000n;

0 commit comments

Comments
 (0)