Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Update main_function.js
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o authored Jan 17, 2024
1 parent 923e8e9 commit 5d907b1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/coinjoin/main_function.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ const explorer = 'https://mempool.space/testnet/tx'

// WIP PTG function

const coinjoin = new bitcoin.coijoin({network})
const stats_tx_fee = 10000

const btc_to_satoshis (atm) {
return (btc_to_satoshis);

class satoshis_to_btc (atm) {


// Forward to each final participant about UTXO
Expand Down Expand Up @@ -84,6 +89,7 @@ psbt.finalizeAllInputs()
console.log('Transaction hexadecimal:')
console.log(psbt.extractTransaction().toHex())
console.log(taproot.extractTransaction().toHex())
console.log(btc_to_sats.extractTransaction.toHex())



Expand Down

0 comments on commit 5d907b1

Please sign in to comment.