Satz
  • 👋Welcome
  • 🤝Introduction
    • What is SatsChain?
    • How is SatsChain different from L2s?
    • What is the security paradigm for SatsChain?
  • 📇Use Cases
    • Cerebrum (Retail use cases)
    • Institutional use cases
    • Anchoring L2s on BTC
  • 🖥️For Developers
  • 📝Smart Contracts
    • What is smart contract?
    • Build a Contract
    • Leverage Compass Library for contracts
    • What type of contracts can be supported?
  • 🔐Contract Deployment
    • Deploy smart contract on SatsChain
  • ⛓️Core Principles
    • What are Inscriptions?
    • Taproot/native-segwit user addresses
    • What is EVM?
    • What is Solidity?
    • How BTC connects with EVM?
  • 🛠️Sats Infrastructure
    • Leveraging OP_RETURN
    • Sats Intel
    • Sats Nuclei
    • Sats Reverse Processor (SRP)
    • Sats connector
    • Compass (EVM <> BTC)
      • Compass Solidity Library
      • Compass Logic
      • Rainbow table
  • ⚙️Configurations
    • Testnet
    • Mainnet
  • 📚Developer Guide
    • Deploy contract
    • Anchoring of L2s
    • How to interact with Smart Contract?
    • Fetching current state via JSON RPC integration
    • How to integrate compass library in solidity code
  • Website
  • WhitePaper
  • Twitter
Powered by GitBook
On this page
  1. Sats Infrastructure

Compass (EVM <> BTC)

PreviousSats connectorNextCompass Solidity Library

Last updated 11 months ago

Compass is a pivotal component in Satschain's architecture that enables the seamless integration and interoperability between the Bitcoin blockchain and the Ethereum Virtual Machine (EVM). It collectively represents a group of logic that facilitates the conversion of Bitcoin (BTC) addresses to hexadecimal EVM-compatible addresses and vice versa.

Satschain has developed a method to establish a 1-to-1 correspondence between Native-segwit addresses and EVM’s 20-byte hexadecimal addresses. Additionally, a workaround using a rainbow table is provided to handle the conversion of longer Taproot addresses on the chain.

The formal implementation of Compass functionality is achieved through the following three components:

🛠️
Compass Solidity Library
Compass Logic
Rainbow table