Skip to content

Commit 9aebf30

Browse files
EVM bridge vtao (#111)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
1 parent 7553d95 commit 9aebf30

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

docs/evm-tutorials/bridge-vtao.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: "Token Bridging"
3+
---
4+
5+
# Token Bridging
6+
7+
This guide provides an overview of two related topics:
8+
- how to moves TAO between Substrate-style wallets (SS58) and the Etherum style wallets on Bittensor EVM
9+
- how to use vTAO as a token bridge between Bittensor EVM and other EVM chains.
10+
11+
:::info
12+
Bittensor EVM smart contracts are executed solely on the **Bittensor blockchain, _not_ on the Ethereum blockchain.**
13+
:::
14+
15+
## Transferring liquidity between Substrate and EVM Wallets on Bittensor Chain
16+
17+
**TAO** is the native token of the Bittensor network it exists on Subtensor, Bittensor's blockchain, which is built on top of Substrate. Hence, TAO is normally held in Substrate-style, ss58-format wallets, which can be used to execute Subtensor blockchain extrinsics, including through the Bittensor Python SDK and BTCLI.
18+
19+
See [Wallets, Coldkeys and Hotkeys in Bittensor](../keys/wallets)
20+
21+
If TAO is transferred to an Ethereum-style h160 wallet, it can be used in Bittensor's EVM layer. This is the same token, just represented in a different account format.
22+
23+
You can move TAO back and forth between Substrate and EVM wallets several ways:
24+
Use example scripts:
25+
- [Transfer TAO from H160 to SS58](./convert-h160-to-ss58)
26+
- [Transfer TAO from SS58 to H160](./transfer-from-metamask-to-ss58)
27+
- Using [`tao.app/bridge`](https://tao.app/bridge).
28+
29+
- Using OTF's EVM Bridge: [`bridge.bittensor.com/`](https://bridge.bittensor.com/)
30+
31+
## Bridge to other EVM Chains with vTAO
32+
33+
vTAO is a liquid-staked TAO token on the Subtensor EVM, available through ['tao.app/bridge'](https://tao.app/bridge).
34+
35+
- vTAO is minted by depositing TAO into a staking contract, the vTAO can later be redeemed for an amount of TAO depending on the exchange rate.
36+
- Your wallet balance in vTAO stays the same, but the underlying TAO locked in the contract increases with staking rewards.
37+
- vTAO can be bridged between supported EVM chains.
38+
39+
:::tip
40+
vTAO conceptually similar to [Lido's wstETH](https://docs.lido.fi/contracts/wsteth/).
41+
:::
42+
43+

sidebars.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,13 @@ const sidebars = {
258258
items: [
259259
"evm-tutorials/index",
260260
"evm-tutorials/subtensor-networks",
261-
261+
"evm-tutorials/bridge-vtao",
262262
"evm-tutorials/evm-testnet-with-metamask-wallet",
263263
"evm-tutorials/evm-localnet-with-metamask-wallet",
264264
"evm-tutorials/evm-mainnet-with-metamask-wallet",
265265
"evm-tutorials/hardhat-config-for-subtensor-evm",
266266
"evm-tutorials/remix-config-for-subtensor-evm",
267+
"evm-tutorials/bridge-vtao",
267268
"evm-tutorials/troubleshooting",
268269
],
269270
},

0 commit comments

Comments
 (0)