@semaphore-protocol/utils 4.13.1 → 4.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/index.cjs +53 -1
- package/dist/index.js +53 -1
- package/dist/lib.commonjs/constants.cjs +1 -1
- package/dist/lib.commonjs/decode-message.cjs +1 -1
- package/dist/lib.commonjs/index.cjs +1 -1
- package/dist/lib.commonjs/networks/deployed-contracts.json.cjs +41 -1
- package/dist/lib.commonjs/networks/index.cjs +1 -1
- package/dist/lib.commonjs/networks/supported-networks.cjs +13 -1
- package/dist/lib.commonjs/semaphore-interface.json.cjs +1 -1
- package/dist/lib.esm/constants.js +1 -1
- package/dist/lib.esm/decode-message.js +1 -1
- package/dist/lib.esm/index.js +1 -1
- package/dist/lib.esm/networks/deployed-contracts.json.js +41 -1
- package/dist/lib.esm/networks/index.js +1 -1
- package/dist/lib.esm/networks/supported-networks.js +13 -1
- package/dist/lib.esm/semaphore-interface.json.js +1 -1
- package/dist/types/networks/supported-networks.d.ts +12 -0
- package/package.json +1 -1
- package/src/networks/deployed-contracts.json +40 -0
- package/src/networks/supported-networks.ts +12 -0
package/LICENSE
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.14.0
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2025
|
|
6
6
|
* @license MIT
|
|
@@ -1218,6 +1218,46 @@ var deployedContracts = [
|
|
|
1218
1218
|
startBlock: 11979239
|
|
1219
1219
|
}
|
|
1220
1220
|
]
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
network: "gnosis-chiado",
|
|
1224
|
+
contracts: [
|
|
1225
|
+
{
|
|
1226
|
+
name: "SemaphoreVerifier",
|
|
1227
|
+
address: "0x4DeC9E3784EcC1eE002001BfE91deEf4A48931f8",
|
|
1228
|
+
startBlock: 18246899
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
name: "PoseidonT3",
|
|
1232
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
1233
|
+
startBlock: 18246899
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
name: "Semaphore",
|
|
1237
|
+
address: "0x8A1fd199516489B0Fb7153EB5f075cDAC83c693D",
|
|
1238
|
+
startBlock: 18246899
|
|
1239
|
+
}
|
|
1240
|
+
]
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
network: "gnosis",
|
|
1244
|
+
contracts: [
|
|
1245
|
+
{
|
|
1246
|
+
name: "SemaphoreVerifier",
|
|
1247
|
+
address: "0x4DeC9E3784EcC1eE002001BfE91deEf4A48931f8",
|
|
1248
|
+
startBlock: 42592252
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
name: "PoseidonT3",
|
|
1252
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
1253
|
+
startBlock: 42592252
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
name: "Semaphore",
|
|
1257
|
+
address: "0x8A1fd199516489B0Fb7153EB5f075cDAC83c693D",
|
|
1258
|
+
startBlock: 42592252
|
|
1259
|
+
}
|
|
1260
|
+
]
|
|
1221
1261
|
}
|
|
1222
1262
|
];
|
|
1223
1263
|
|
|
@@ -1299,6 +1339,18 @@ var supportedNetworks = {
|
|
|
1299
1339
|
url: "https://sepolia-rpc.scroll.io",
|
|
1300
1340
|
chainId: 534351,
|
|
1301
1341
|
explorer: "https://sepolia.scrollscan.com"
|
|
1342
|
+
},
|
|
1343
|
+
"gnosis-chiado": {
|
|
1344
|
+
name: "Gnosis Chiado",
|
|
1345
|
+
url: "https://rpc.chiadochain.net",
|
|
1346
|
+
chainId: 10200,
|
|
1347
|
+
explorer: "https://blockscout.com/gnosis/chiado"
|
|
1348
|
+
},
|
|
1349
|
+
gnosis: {
|
|
1350
|
+
name: "Gnosis",
|
|
1351
|
+
url: "https://rpc.gnosischain.com",
|
|
1352
|
+
chainId: 100,
|
|
1353
|
+
explorer: "https://gnosisscan.io"
|
|
1302
1354
|
}
|
|
1303
1355
|
};
|
|
1304
1356
|
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.14.0
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2025
|
|
6
6
|
* @license MIT
|
|
@@ -1216,6 +1216,46 @@ var deployedContracts = [
|
|
|
1216
1216
|
startBlock: 11979239
|
|
1217
1217
|
}
|
|
1218
1218
|
]
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
network: "gnosis-chiado",
|
|
1222
|
+
contracts: [
|
|
1223
|
+
{
|
|
1224
|
+
name: "SemaphoreVerifier",
|
|
1225
|
+
address: "0x4DeC9E3784EcC1eE002001BfE91deEf4A48931f8",
|
|
1226
|
+
startBlock: 18246899
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
name: "PoseidonT3",
|
|
1230
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
1231
|
+
startBlock: 18246899
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
name: "Semaphore",
|
|
1235
|
+
address: "0x8A1fd199516489B0Fb7153EB5f075cDAC83c693D",
|
|
1236
|
+
startBlock: 18246899
|
|
1237
|
+
}
|
|
1238
|
+
]
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
network: "gnosis",
|
|
1242
|
+
contracts: [
|
|
1243
|
+
{
|
|
1244
|
+
name: "SemaphoreVerifier",
|
|
1245
|
+
address: "0x4DeC9E3784EcC1eE002001BfE91deEf4A48931f8",
|
|
1246
|
+
startBlock: 42592252
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
name: "PoseidonT3",
|
|
1250
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
1251
|
+
startBlock: 42592252
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
name: "Semaphore",
|
|
1255
|
+
address: "0x8A1fd199516489B0Fb7153EB5f075cDAC83c693D",
|
|
1256
|
+
startBlock: 42592252
|
|
1257
|
+
}
|
|
1258
|
+
]
|
|
1219
1259
|
}
|
|
1220
1260
|
];
|
|
1221
1261
|
|
|
@@ -1297,6 +1337,18 @@ var supportedNetworks = {
|
|
|
1297
1337
|
url: "https://sepolia-rpc.scroll.io",
|
|
1298
1338
|
chainId: 534351,
|
|
1299
1339
|
explorer: "https://sepolia.scrollscan.com"
|
|
1340
|
+
},
|
|
1341
|
+
"gnosis-chiado": {
|
|
1342
|
+
name: "Gnosis Chiado",
|
|
1343
|
+
url: "https://rpc.chiadochain.net",
|
|
1344
|
+
chainId: 10200,
|
|
1345
|
+
explorer: "https://blockscout.com/gnosis/chiado"
|
|
1346
|
+
},
|
|
1347
|
+
gnosis: {
|
|
1348
|
+
name: "Gnosis",
|
|
1349
|
+
url: "https://rpc.gnosischain.com",
|
|
1350
|
+
chainId: 100,
|
|
1351
|
+
explorer: "https://gnosisscan.io"
|
|
1300
1352
|
}
|
|
1301
1353
|
};
|
|
1302
1354
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.14.0
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2025
|
|
6
6
|
* @license MIT
|
|
@@ -268,6 +268,46 @@ var deployedContracts = [
|
|
|
268
268
|
startBlock: 11979239
|
|
269
269
|
}
|
|
270
270
|
]
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
network: "gnosis-chiado",
|
|
274
|
+
contracts: [
|
|
275
|
+
{
|
|
276
|
+
name: "SemaphoreVerifier",
|
|
277
|
+
address: "0x4DeC9E3784EcC1eE002001BfE91deEf4A48931f8",
|
|
278
|
+
startBlock: 18246899
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
name: "PoseidonT3",
|
|
282
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
283
|
+
startBlock: 18246899
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
name: "Semaphore",
|
|
287
|
+
address: "0x8A1fd199516489B0Fb7153EB5f075cDAC83c693D",
|
|
288
|
+
startBlock: 18246899
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
network: "gnosis",
|
|
294
|
+
contracts: [
|
|
295
|
+
{
|
|
296
|
+
name: "SemaphoreVerifier",
|
|
297
|
+
address: "0x4DeC9E3784EcC1eE002001BfE91deEf4A48931f8",
|
|
298
|
+
startBlock: 42592252
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
name: "PoseidonT3",
|
|
302
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
303
|
+
startBlock: 42592252
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
name: "Semaphore",
|
|
307
|
+
address: "0x8A1fd199516489B0Fb7153EB5f075cDAC83c693D",
|
|
308
|
+
startBlock: 42592252
|
|
309
|
+
}
|
|
310
|
+
]
|
|
271
311
|
}
|
|
272
312
|
];
|
|
273
313
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.14.0
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2025
|
|
6
6
|
* @license MIT
|
|
@@ -86,6 +86,18 @@ var supportedNetworks = {
|
|
|
86
86
|
url: "https://sepolia-rpc.scroll.io",
|
|
87
87
|
chainId: 534351,
|
|
88
88
|
explorer: "https://sepolia.scrollscan.com"
|
|
89
|
+
},
|
|
90
|
+
"gnosis-chiado": {
|
|
91
|
+
name: "Gnosis Chiado",
|
|
92
|
+
url: "https://rpc.chiadochain.net",
|
|
93
|
+
chainId: 10200,
|
|
94
|
+
explorer: "https://blockscout.com/gnosis/chiado"
|
|
95
|
+
},
|
|
96
|
+
gnosis: {
|
|
97
|
+
name: "Gnosis",
|
|
98
|
+
url: "https://rpc.gnosischain.com",
|
|
99
|
+
chainId: 100,
|
|
100
|
+
explorer: "https://gnosisscan.io"
|
|
89
101
|
}
|
|
90
102
|
};
|
|
91
103
|
|
package/dist/lib.esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.14.0
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2025
|
|
6
6
|
* @license MIT
|
|
@@ -266,6 +266,46 @@ var deployedContracts = [
|
|
|
266
266
|
startBlock: 11979239
|
|
267
267
|
}
|
|
268
268
|
]
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
network: "gnosis-chiado",
|
|
272
|
+
contracts: [
|
|
273
|
+
{
|
|
274
|
+
name: "SemaphoreVerifier",
|
|
275
|
+
address: "0x4DeC9E3784EcC1eE002001BfE91deEf4A48931f8",
|
|
276
|
+
startBlock: 18246899
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
name: "PoseidonT3",
|
|
280
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
281
|
+
startBlock: 18246899
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
name: "Semaphore",
|
|
285
|
+
address: "0x8A1fd199516489B0Fb7153EB5f075cDAC83c693D",
|
|
286
|
+
startBlock: 18246899
|
|
287
|
+
}
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
network: "gnosis",
|
|
292
|
+
contracts: [
|
|
293
|
+
{
|
|
294
|
+
name: "SemaphoreVerifier",
|
|
295
|
+
address: "0x4DeC9E3784EcC1eE002001BfE91deEf4A48931f8",
|
|
296
|
+
startBlock: 42592252
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
name: "PoseidonT3",
|
|
300
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
301
|
+
startBlock: 42592252
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
name: "Semaphore",
|
|
305
|
+
address: "0x8A1fd199516489B0Fb7153EB5f075cDAC83c693D",
|
|
306
|
+
startBlock: 42592252
|
|
307
|
+
}
|
|
308
|
+
]
|
|
269
309
|
}
|
|
270
310
|
];
|
|
271
311
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.14.0
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2025
|
|
6
6
|
* @license MIT
|
|
@@ -84,6 +84,18 @@ var supportedNetworks = {
|
|
|
84
84
|
url: "https://sepolia-rpc.scroll.io",
|
|
85
85
|
chainId: 534351,
|
|
86
86
|
explorer: "https://sepolia.scrollscan.com"
|
|
87
|
+
},
|
|
88
|
+
"gnosis-chiado": {
|
|
89
|
+
name: "Gnosis Chiado",
|
|
90
|
+
url: "https://rpc.chiadochain.net",
|
|
91
|
+
chainId: 10200,
|
|
92
|
+
explorer: "https://blockscout.com/gnosis/chiado"
|
|
93
|
+
},
|
|
94
|
+
gnosis: {
|
|
95
|
+
name: "Gnosis",
|
|
96
|
+
url: "https://rpc.gnosischain.com",
|
|
97
|
+
chainId: 100,
|
|
98
|
+
explorer: "https://gnosisscan.io"
|
|
87
99
|
}
|
|
88
100
|
};
|
|
89
101
|
|
|
@@ -77,5 +77,17 @@ declare const _default: {
|
|
|
77
77
|
chainId: number;
|
|
78
78
|
explorer: string;
|
|
79
79
|
};
|
|
80
|
+
"gnosis-chiado": {
|
|
81
|
+
name: string;
|
|
82
|
+
url: string;
|
|
83
|
+
chainId: number;
|
|
84
|
+
explorer: string;
|
|
85
|
+
};
|
|
86
|
+
gnosis: {
|
|
87
|
+
name: string;
|
|
88
|
+
url: string;
|
|
89
|
+
chainId: number;
|
|
90
|
+
explorer: string;
|
|
91
|
+
};
|
|
80
92
|
};
|
|
81
93
|
export default _default;
|
package/package.json
CHANGED
|
@@ -258,5 +258,45 @@
|
|
|
258
258
|
"startBlock": 11979239
|
|
259
259
|
}
|
|
260
260
|
]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"network": "gnosis-chiado",
|
|
264
|
+
"contracts": [
|
|
265
|
+
{
|
|
266
|
+
"name": "SemaphoreVerifier",
|
|
267
|
+
"address": "0x4DeC9E3784EcC1eE002001BfE91deEf4A48931f8",
|
|
268
|
+
"startBlock": 18246899
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "PoseidonT3",
|
|
272
|
+
"address": "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
273
|
+
"startBlock": 18246899
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "Semaphore",
|
|
277
|
+
"address": "0x8A1fd199516489B0Fb7153EB5f075cDAC83c693D",
|
|
278
|
+
"startBlock": 18246899
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"network": "gnosis",
|
|
284
|
+
"contracts": [
|
|
285
|
+
{
|
|
286
|
+
"name": "SemaphoreVerifier",
|
|
287
|
+
"address": "0x4DeC9E3784EcC1eE002001BfE91deEf4A48931f8",
|
|
288
|
+
"startBlock": 42592252
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "PoseidonT3",
|
|
292
|
+
"address": "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
293
|
+
"startBlock": 42592252
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "Semaphore",
|
|
297
|
+
"address": "0x8A1fd199516489B0Fb7153EB5f075cDAC83c693D",
|
|
298
|
+
"startBlock": 42592252
|
|
299
|
+
}
|
|
300
|
+
]
|
|
261
301
|
}
|
|
262
302
|
]
|
|
@@ -76,5 +76,17 @@ export default {
|
|
|
76
76
|
url: "https://sepolia-rpc.scroll.io",
|
|
77
77
|
chainId: 534351,
|
|
78
78
|
explorer: "https://sepolia.scrollscan.com"
|
|
79
|
+
},
|
|
80
|
+
"gnosis-chiado": {
|
|
81
|
+
name: "Gnosis Chiado",
|
|
82
|
+
url: "https://rpc.chiadochain.net",
|
|
83
|
+
chainId: 10200,
|
|
84
|
+
explorer: "https://blockscout.com/gnosis/chiado"
|
|
85
|
+
},
|
|
86
|
+
gnosis: {
|
|
87
|
+
name: "Gnosis",
|
|
88
|
+
url: "https://rpc.gnosischain.com",
|
|
89
|
+
chainId: 100,
|
|
90
|
+
explorer: "https://gnosisscan.io"
|
|
79
91
|
}
|
|
80
92
|
}
|