Connecting to Merlin via BTC wallet

Connecting to Merlin via BTC wallet

Merlin is working with Particle Network to provide a simple mechanism to use Merlin Chain via native Bitcoin wallets through BTC Connect. If you want your dApp to support Bitcoin users natively, either continue reading this document or visit Particle Network's BTC Connection Documentation.

High-Level Overview of BTC Connect

BTC Connect refers to a technology built by Particle Network, allowing Bitcoin users to connect with (EVM-compatible) applications on Merlin Chain through Bitcoin native wallets, such as UniSat, OKX, Bitget and so on.In short, BTC Connect offers a simple, easy-to-integrate SDK that facilitates native Bitcoin wallet connection and interactions. Since native Bitcoin accounts are incompatible with EVM environments, BTC Connect generates and deploys a smart account on Merlin Chain, signed and authenticated by the user's Bitcoin wallet.Beyond the benefit of allowing a path for native Bitcoin accounts to interact with your application, BTC Connect leverages ERC-4337 account abstraction (hence the utilization of a smart account). This allows you to sponsor the gas fees users leveraging BTC Connect, execute batched transactions, etc.An overview of this dynamic between a user's native Bitcoin account and their associated smart account deployed on Merlin Chain can be found below:

Last updated