Leverage Compass Library for contracts
Compass library is a special type of contract provided by Satschain on Satschain network, it allows users to convert their BTC addresses to EVM compatible hexadecimal addresses.
Smart contract programmers on Satschain are advised to use this contract to convert BTC addresses to EVM addresses, rather than rolling out their own versions.
This library enables address conversions at runtime, over other several solutions that we pondered over which allowed only compile-time static conversions.
Last updated