Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/api",
"version": "0.2.0",
"version": "0.2.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can revert these version bumps, I'll release the new API version through CI once this is merged.

"description": "Snowbridge API client",
"license": "Apache-2.0",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion web/packages/base-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/base-types",
"version": "0.2.0",
"version": "0.2.1",
"description": "Snowbridge Base Types",
"license": "Apache-2.0",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion web/packages/contract-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/contract-types",
"version": "0.2.0",
"version": "0.2.1",
"description": "Snowbridge contract type bindings",
"license": "Apache-2.0",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion web/packages/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/contracts",
"version": "0.2.0",
"version": "0.2.1",
"description": "Snowbridge contract source and abi.",
"license": "Apache-2.0",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion web/packages/registry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snowbridge/registry",
"version": "0.2.0",
"version": "0.2.1",
"description": "Snowbridge Asset Registry",
"license": "Apache-2.0",
"repository": {
Expand Down
19 changes: 17 additions & 2 deletions web/packages/registry/src/polkadot_mainnet.registry.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"timestamp": "2025-10-07T21:35:27.436Z",
"timestamp": "2025-10-19T20:14:50.232Z",
"environment": "polkadot_mainnet",
"ethChainId": 1,
"gatewayAddress": "0x27ca963c279c93801941e1eb8799c23f407d68e7",
Expand Down Expand Up @@ -217,6 +217,13 @@
"decimals": 18,
"deliveryGas": "bigint:80000"
},
"0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf": {
"token": "0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf",
"name": "vTAO",
"symbol": "vTAO",
"decimals": 18,
"deliveryGas": "bigint:80000"
},
Comment on lines +220 to +226
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

"0x196c20da81fbc324ecdf55501e95ce9f0bd84d14": {
"token": "0x196c20da81fbc324ecdf55501e95ce9f0bd84d14",
"name": "Polkadot",
Expand Down Expand Up @@ -581,6 +588,14 @@
"decimals": 18,
"isSufficient": false
},
"0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf": {
"token": "0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf",
"name": "vTAO",
"minimumBalance": "bigint:1",
"symbol": "vTAO",
"decimals": 18,
"isSufficient": false
},
Comment on lines +591 to +598
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you use script NODE_ENV=polkadot_mainnet npx ts-node build.ts to generate the registry, the metadata actually looks like this:

Suggested change
"0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf": {
"token": "0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf",
"name": "vTAO",
"minimumBalance": "bigint:1",
"symbol": "vTAO",
"decimals": 18,
"isSufficient": false
},
"0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf": {
"token": "0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf",
"name": "",
"minimumBalance": "bigint:1",
"symbol": "",
"decimals": 0,
"isSufficient": false
},

That is because the metadata fetched here is from AssetHub. Do you have plans to open a ref on OpenGov to set the metadata for the token?

"0x196c20da81fbc324ecdf55501e95ce9f0bd84d14": {
"token": "0x196c20da81fbc324ecdf55501e95ce9f0bd84d14",
"name": "",
Expand Down Expand Up @@ -1671,4 +1686,4 @@
"assetHubParaId": 1000,
"bridgeHubParaId": 1002
}
}
}
Loading