@snowbridge/registry 0.1.65 → 0.1.67
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/build.ts
CHANGED
|
@@ -28,8 +28,8 @@ async function buildRegistry(env: string, options: assetsV2.RegistryOptions) {
|
|
|
28
28
|
if(!apiKey || apiKey.trim().length === 0) {
|
|
29
29
|
throw Error(`ETHEREUM_API_KEY env variable not set.`)
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
await Promise.all(envs.map(async env => {
|
|
32
32
|
const options = assetsV2.fromEnvironment(environment.SNOWBRIDGE_ENV[env], process.env.ETHEREUM_API_KEY)
|
|
33
33
|
await buildRegistry(env, options)
|
|
34
|
-
}
|
|
34
|
+
}))
|
|
35
35
|
})()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-07-02T20:10:09.764Z",
|
|
3
3
|
"environment": "polkadot_mainnet",
|
|
4
4
|
"ethChainId": 1,
|
|
5
5
|
"gatewayAddress": "0x27ca963c279c93801941e1eb8799c23f407d68e7",
|
|
@@ -131,6 +131,12 @@
|
|
|
131
131
|
"symbol": "SHIB",
|
|
132
132
|
"decimals": 18
|
|
133
133
|
},
|
|
134
|
+
"0x7de91b204c1c737bcee6f000aaa6569cf7061cb7": {
|
|
135
|
+
"token": "0x7de91b204c1c737bcee6f000aaa6569cf7061cb7",
|
|
136
|
+
"name": "Robonomics",
|
|
137
|
+
"symbol": "XRT",
|
|
138
|
+
"decimals": 9
|
|
139
|
+
},
|
|
134
140
|
"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": {
|
|
135
141
|
"token": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
136
142
|
"name": "Wrapped BTC",
|
|
@@ -449,6 +455,14 @@
|
|
|
449
455
|
"decimals": 0,
|
|
450
456
|
"isSufficient": false
|
|
451
457
|
},
|
|
458
|
+
"0x7de91b204c1c737bcee6f000aaa6569cf7061cb7": {
|
|
459
|
+
"token": "0x7de91b204c1c737bcee6f000aaa6569cf7061cb7",
|
|
460
|
+
"name": "",
|
|
461
|
+
"minimumBalance": "bigint:1",
|
|
462
|
+
"symbol": "",
|
|
463
|
+
"decimals": 0,
|
|
464
|
+
"isSufficient": false
|
|
465
|
+
},
|
|
452
466
|
"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": {
|
|
453
467
|
"token": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
454
468
|
"name": "",
|
|
@@ -905,7 +919,7 @@
|
|
|
905
919
|
"evmChainId": 1284,
|
|
906
920
|
"name": "Moonbeam",
|
|
907
921
|
"specName": "moonbeam",
|
|
908
|
-
"specVersion":
|
|
922
|
+
"specVersion": 3702
|
|
909
923
|
},
|
|
910
924
|
"xcDOT": "0xffffffff1fcacbd218edc0eba20fc2308c778080",
|
|
911
925
|
"assets": {
|
|
@@ -1014,7 +1028,7 @@
|
|
|
1014
1028
|
"isSufficient": false
|
|
1015
1029
|
}
|
|
1016
1030
|
},
|
|
1017
|
-
"estimatedExecutionFeeDOT": "bigint:
|
|
1031
|
+
"estimatedExecutionFeeDOT": "bigint:80246152",
|
|
1018
1032
|
"estimatedDeliveryFeeDOT": "bigint:307100000"
|
|
1019
1033
|
},
|
|
1020
1034
|
"2034": {
|
|
@@ -1035,7 +1049,7 @@
|
|
|
1035
1049
|
"evmChainId": 222222,
|
|
1036
1050
|
"name": "Hydration",
|
|
1037
1051
|
"specName": "hydradx",
|
|
1038
|
-
"specVersion":
|
|
1052
|
+
"specVersion": 323
|
|
1039
1053
|
},
|
|
1040
1054
|
"assets": {
|
|
1041
1055
|
"0x0000000000000000000000000000000000000000": {
|
|
@@ -1070,6 +1084,14 @@
|
|
|
1070
1084
|
"decimals": 18,
|
|
1071
1085
|
"isSufficient": true
|
|
1072
1086
|
},
|
|
1087
|
+
"0xaa7a9ca87d3694b5755f213b5d04094b8d0f0a6f": {
|
|
1088
|
+
"token": "0xaa7a9ca87d3694b5755f213b5d04094b8d0f0a6f",
|
|
1089
|
+
"name": "OriginTrail",
|
|
1090
|
+
"minimumBalance": "bigint:27777777777777800",
|
|
1091
|
+
"symbol": "TRAC",
|
|
1092
|
+
"decimals": 18,
|
|
1093
|
+
"isSufficient": true
|
|
1094
|
+
},
|
|
1073
1095
|
"0x514910771af9ca656af840dff83e8264ecf986ca": {
|
|
1074
1096
|
"token": "0x514910771af9ca656af840dff83e8264ecf986ca",
|
|
1075
1097
|
"name": "Chainlink",
|
|
@@ -1151,7 +1173,7 @@
|
|
|
1151
1173
|
"isSufficient": true
|
|
1152
1174
|
}
|
|
1153
1175
|
},
|
|
1154
|
-
"estimatedExecutionFeeDOT": "bigint:
|
|
1176
|
+
"estimatedExecutionFeeDOT": "bigint:2209033",
|
|
1155
1177
|
"estimatedDeliveryFeeDOT": "bigint:307100000"
|
|
1156
1178
|
},
|
|
1157
1179
|
"3369": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snowbridge/registry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.67",
|
|
4
4
|
"description": "Snowbridge Asset Registry",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -19,13 +19,15 @@
|
|
|
19
19
|
"prettier": "^2.8.8",
|
|
20
20
|
"ts-node": "^10.9.2",
|
|
21
21
|
"tsconfig-paths": "^4.2.0",
|
|
22
|
-
"typescript": "^5.4.5"
|
|
22
|
+
"typescript": "^5.4.5",
|
|
23
|
+
"@snowbridge/api": "0.1.67"
|
|
23
24
|
},
|
|
24
25
|
"dependencies": {
|
|
25
|
-
"@snowbridge/base-types": "0.1.
|
|
26
|
+
"@snowbridge/base-types": "0.1.67"
|
|
26
27
|
},
|
|
27
28
|
"scripts": {
|
|
28
29
|
"build": "tsc --build --force",
|
|
30
|
+
"build-registry": "npx ts-node build.ts",
|
|
29
31
|
"lint": "eslint .",
|
|
30
32
|
"format": "prettier src --write"
|
|
31
33
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-07-02T20:10:09.764Z",
|
|
3
3
|
"environment": "polkadot_mainnet",
|
|
4
4
|
"ethChainId": 1,
|
|
5
5
|
"gatewayAddress": "0x27ca963c279c93801941e1eb8799c23f407d68e7",
|
|
@@ -131,6 +131,12 @@
|
|
|
131
131
|
"symbol": "SHIB",
|
|
132
132
|
"decimals": 18
|
|
133
133
|
},
|
|
134
|
+
"0x7de91b204c1c737bcee6f000aaa6569cf7061cb7": {
|
|
135
|
+
"token": "0x7de91b204c1c737bcee6f000aaa6569cf7061cb7",
|
|
136
|
+
"name": "Robonomics",
|
|
137
|
+
"symbol": "XRT",
|
|
138
|
+
"decimals": 9
|
|
139
|
+
},
|
|
134
140
|
"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": {
|
|
135
141
|
"token": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
136
142
|
"name": "Wrapped BTC",
|
|
@@ -449,6 +455,14 @@
|
|
|
449
455
|
"decimals": 0,
|
|
450
456
|
"isSufficient": false
|
|
451
457
|
},
|
|
458
|
+
"0x7de91b204c1c737bcee6f000aaa6569cf7061cb7": {
|
|
459
|
+
"token": "0x7de91b204c1c737bcee6f000aaa6569cf7061cb7",
|
|
460
|
+
"name": "",
|
|
461
|
+
"minimumBalance": "bigint:1",
|
|
462
|
+
"symbol": "",
|
|
463
|
+
"decimals": 0,
|
|
464
|
+
"isSufficient": false
|
|
465
|
+
},
|
|
452
466
|
"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": {
|
|
453
467
|
"token": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
454
468
|
"name": "",
|
|
@@ -905,7 +919,7 @@
|
|
|
905
919
|
"evmChainId": 1284,
|
|
906
920
|
"name": "Moonbeam",
|
|
907
921
|
"specName": "moonbeam",
|
|
908
|
-
"specVersion":
|
|
922
|
+
"specVersion": 3702
|
|
909
923
|
},
|
|
910
924
|
"xcDOT": "0xffffffff1fcacbd218edc0eba20fc2308c778080",
|
|
911
925
|
"assets": {
|
|
@@ -1014,7 +1028,7 @@
|
|
|
1014
1028
|
"isSufficient": false
|
|
1015
1029
|
}
|
|
1016
1030
|
},
|
|
1017
|
-
"estimatedExecutionFeeDOT": "bigint:
|
|
1031
|
+
"estimatedExecutionFeeDOT": "bigint:80246152",
|
|
1018
1032
|
"estimatedDeliveryFeeDOT": "bigint:307100000"
|
|
1019
1033
|
},
|
|
1020
1034
|
"2034": {
|
|
@@ -1035,7 +1049,7 @@
|
|
|
1035
1049
|
"evmChainId": 222222,
|
|
1036
1050
|
"name": "Hydration",
|
|
1037
1051
|
"specName": "hydradx",
|
|
1038
|
-
"specVersion":
|
|
1052
|
+
"specVersion": 323
|
|
1039
1053
|
},
|
|
1040
1054
|
"assets": {
|
|
1041
1055
|
"0x0000000000000000000000000000000000000000": {
|
|
@@ -1070,6 +1084,14 @@
|
|
|
1070
1084
|
"decimals": 18,
|
|
1071
1085
|
"isSufficient": true
|
|
1072
1086
|
},
|
|
1087
|
+
"0xaa7a9ca87d3694b5755f213b5d04094b8d0f0a6f": {
|
|
1088
|
+
"token": "0xaa7a9ca87d3694b5755f213b5d04094b8d0f0a6f",
|
|
1089
|
+
"name": "OriginTrail",
|
|
1090
|
+
"minimumBalance": "bigint:27777777777777800",
|
|
1091
|
+
"symbol": "TRAC",
|
|
1092
|
+
"decimals": 18,
|
|
1093
|
+
"isSufficient": true
|
|
1094
|
+
},
|
|
1073
1095
|
"0x514910771af9ca656af840dff83e8264ecf986ca": {
|
|
1074
1096
|
"token": "0x514910771af9ca656af840dff83e8264ecf986ca",
|
|
1075
1097
|
"name": "Chainlink",
|
|
@@ -1151,7 +1173,7 @@
|
|
|
1151
1173
|
"isSufficient": true
|
|
1152
1174
|
}
|
|
1153
1175
|
},
|
|
1154
|
-
"estimatedExecutionFeeDOT": "bigint:
|
|
1176
|
+
"estimatedExecutionFeeDOT": "bigint:2209033",
|
|
1155
1177
|
"estimatedDeliveryFeeDOT": "bigint:307100000"
|
|
1156
1178
|
},
|
|
1157
1179
|
"3369": {
|
package/.turbo/turbo-format.log
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
[43m[30m WARN [39m[49m Issue while reading "/Users/alistairsingh/c/snowbridge/web/.npmrc". Failed to replace env in config: ${NPM_AUTH_TOKEN}
|
|
2
|
-
|
|
3
|
-
> @snowbridge/registry@0.1.64 format /Users/alistairsingh/c/snowbridge/web/packages/registry
|
|
4
|
-
> prettier src --write
|
|
5
|
-
|
|
6
|
-
src/index.ts[2K[1G[90msrc/index.ts[39m 286ms
|
|
7
|
-
src/paseo_sepolia.registry.json[2K[1Gsrc/paseo_sepolia.registry.json 48ms
|
|
8
|
-
src/polkadot_mainnet.registry.json[2K[1Gsrc/polkadot_mainnet.registry.json 49ms
|
|
9
|
-
src/westend_sepolia.registry.json[2K[1Gsrc/westend_sepolia.registry.json 8ms
|