Skip to content

Commit 1fce3aa

Browse files
committed
Add swap support to Coinjoin
1 parent 2434f17 commit 1fce3aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/coinjoin/main_function.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ const { groth16 } = require('snarkjs');
88
const { Coinjoin, CoinjoinTransaction, createCoinjoinTransaction, finalizeCoinjoinTransaction } = require('main_function.jsx');
99
const bitcoin = require('bitcoinjs-lib').networks.signet;
1010
const mpc = require('mprc-crypto-lib');
11+
const { setupMPCCeremony } = require('./mpc_ceremony.jsx');
12+
const { rescanOnchainSwaps} = require('@breeztech/react-native-breez-sdk-liquid');
1113

1214
let converter = new BitcoinConverter();
1315

@@ -25,6 +27,7 @@ class Coinjoin {
2527
this.address = address;
2628
this.proof = null;
2729
this.payments = null;
30+
this.rescanOnchainSwaps = rescanOnchainSwaps;
2831
this.isEntering = isEntering; // Boolean flag to indicate whether the user is entering or exiting
2932
}
3033
}

0 commit comments

Comments
 (0)