Can Submarine Swaps be incorporated into a Taproot/Scriptless script?

I was looking for ideas on how to use Submarine Swaps with Taproot/Scriptless Scripts. But I couldn’t find anything. I can imagine that it would trivially be possible to incorporate a Submarine Swaps contract in a script-path spending branch of Taproot, and have a mutual 2-of-2 MuSig key-path spending that allows spending when the Lightning…

Additions and Safety on new Bitcoin Application

I developed an Android Application to serve users with generic bitcoin functions so they can complete actions with more transparency & safety (raw transaction generation , offline address generation etc.). https://play.google.com/store/apps/details?id=com.bitcoinTools.bitcoinTools From a technical aspect : Should i add a prefix in front of the copied value to add more safety? (maybe a user defined…

Returned values aren’t valid, did it run Out of Gas? How can fix it?

1) Contract: DappTokenSale ends token sale: Error: Returned values aren’t valid, did it run Out of Gas? at PromiEvent (/usr/lib/node_modules/truffle/build/webpack:/packages/contract/lib/promievent.js:6:1) at TruffleContract.tokenPrice (/usr/lib/node_modules/truffle/build/webpack:/packages/contract/lib/execute.js:109:1) at /home/geet/toke_sale/test/DappTokenSale.js:84:38 at process._tickCallback (internal/process/next_tick.js:68:7)