BTC-RelayΒΆ

The BTC-Relay is responsible for storing Bitcoin block headers and maintaining the current longest chain. We can use the stored block headers to verify transaction inclusion in Bitcoin. Further, BTC_Relay exposes functions to validate that the contents of a transactions are as expected.

The specification of the BTC-Relay is found here: https://onebtc-relay.web.app.