how bitcoin bridges work
How Bitcoin Bridges Work: SPV Light Clients Explained
An Ethereum smart contract can't see Bitcoin. It can't open a socket to a Bitcoin node, read the mempool, or query a block explorer. Even so, some contracts mint tokens only after confirming that a particular Bitcoin transaction exists, with no custodian vouching for it. How?