Skip to main content

What is Data Tunnel?

warning

We are excited to announce that the Band v3 testnet is currently under development!

During this period, you may encounter intermittent updates, changes, and limited availability as we work to enhance its features and performance.

We appreciate your patience and understanding as we aim to deliver a robust and improved testing experience. Stay tuned for more updates and release information!

In BandChain v3, price data are constantly and automatically updated through the concurrent price stream module. These price data can be publci accessible and can be used off-chain without any charge. However, to utilize the price data on a different blockchain, the price data needs to be passed through data tunnel to ensure data integrity.

BandChain allows developers to create a tunnel specifying the pricing symbols (signals), the feeding interval, and the price deviation triggering condition. Once registered, BandChain continuously and automatically checks for data delivery conditions, which are met if any of the following occurs:

  • The time since the last feeding interval delivery exceeds the specified feeding interval.
  • The last fed price of the signal differs from the current price by more than the specified price deviation.

Each time price data is delivered, BandChain incurs a cost to the tunnel creator. Tunnel creators are responsible for monitoring the tunnel’s balance and depositing more BAND to ensure continuous availability. If the tunnel runs out of funds, it will be deactivated and stop triggering price feeds.