Compass Logic

The Compass module handles the core operations of converting addresses between BTC and EVM formats. This conversion is essential because the Sats Nuclei (the EVM engine) operates solely with EVM addresses, while users interact exclusively with BTC addresses.

The Compass module ensures that requests from users, which involve BTC addresses, are converted to EVM addresses for processing by the EVM engine. Conversely, responses from the EVM engine are converted back into BTC addresses, as users are uninterested in the internal EVM addresses.

Last updated