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. Developer Guide

How to integrate compass library in solidity code

PreviousFetching current state via JSON RPC integration

Last updated 10 months ago

The Compass Library in Solidity is a critical component of the Compass Module. It is itself just another smart contract deployed on Satschain.

It provides functions for converting Bitcoin addresses to EVM-compatible addresses within Solidity smart contracts inside the Satschain ecosystem.

This library is essential for developers working on smart contracts on SatsChain, ensuring that their contracts can interact using Bitcoin addresses seamlessly, by converting them to EVM addresses at run time using a contract call.

You may connect with our team at , to get the hold of our most recent deployment of Compass library.

📚
query@satschian.xyz