-
Notifications
You must be signed in to change notification settings - Fork 137
add vTAO to AssetHub #1606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
add vTAO to AssetHub #1606
Conversation
claravanstaden
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding :)
| { | ||
| "name": "@snowbridge/api", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", |
There was a problem hiding this comment.
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.
| "0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf": { | ||
| "token": "0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf", | ||
| "name": "vTAO", | ||
| "minimumBalance": "bigint:1", | ||
| "symbol": "vTAO", | ||
| "decimals": 18, | ||
| "isSufficient": false | ||
| }, |
There was a problem hiding this comment.
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:
| "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?
| "0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf": { | ||
| "token": "0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf", | ||
| "name": "vTAO", | ||
| "symbol": "vTAO", | ||
| "decimals": 18, | ||
| "deliveryGas": "bigint:80000" | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
|
Hey @camfairchild, let me know if you still want to list your token on Snowbridge? |
Hey ya. |
|
@camfairchild let us know if you need any help, @alistair-singh is our local XCM expert. |
Adds vTAO from Ethereum to AssetHub.
vTAO is a TAO LST bridged to Eth via LayerZero on Bittensor's frontier EVM
Etherscan: https://etherscan.io/token/0xe9f6d9898f9269b519e1435e6ebaff766c7f46bf
Project Website: https://www.tao.app/bridge