Bitcoin

Hash Time Lock Contract – Is there a browser wallet that supports custom Bitcoin scripts?

I am creating an atomic swap interface between Bitcoin and EVM using hashed timelock contracts as the underlying swapping mechanism. The idea is to support atomic exchanges through the browser using a browser-based wallet.

This requires a web interface that allows you to programmatically create Bitcoin scripts and create transactions to which those scripts are attached. Metamask uses Web3.js for the EVM side of this transaction, but I’m not sure which browser-based Bitcoin wallets have similar functionality.

It must support a Bitcoin wallet that can call new Bitcoin scripts through JavaScript and create transactions based on those scripts. Are there browser-based wallets for Bitcoin?

I’ve looked at Xverse and Trust wallets, but there doesn’t seem to be any such support.

question:

Is there a browser-based Bitcoin wallet that can support programmatic creation of transactions containing custom Bitcoin scripts?

Related Articles

Back to top button