File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ REACT_APP_BOLTZ_ONION=http://random.onion
12
12
13
13
# API endpoint
14
14
# REACT_APP_BOLTZ_API=http://127.0.0.1:9002
15
- REACT_APP_BOLTZ_API = ${ REACT_APP_BOLTZ_API }
15
+ REACT_APP_BOLTZ_API = https://api.lnswap.org:9007
16
16
REACT_APP_BOLTZ_API_ONION = http://random.onion/api
17
17
18
18
# LND node URIs
@@ -24,7 +24,7 @@ REACT_APP_LITECOIN_LND_ONION=030bbf3ecfc370d2caff64858485c45b01b92b74a92c81d3955
24
24
25
25
# Network configurations
26
26
REACT_APP_NETWORK = mainnet
27
- REACT_APP_STACKS_NETWORK_TYPE = mocknet
27
+ REACT_APP_STACKS_NETWORK_TYPE = mainnet
28
28
29
29
REACT_APP_BITCOIN_EXPLORER = https://mempool.space
30
30
REACT_APP_LITECOIN_EXPLORER = https://127.0.0.1
Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ const createRefundTransaction = (
181
181
...detectSwap ( redeemScript , lockupTransaction ) ,
182
182
} ,
183
183
] ,
184
- // address.toOutputScript(destinationAddress, getNetwork(currency)), // mainnet
185
- address . toOutputScript ( destinationAddress , networks . regtest ) , // regtest
184
+ address . toOutputScript ( destinationAddress , getNetwork ( currency ) ) , // mainnet
185
+ // address.toOutputScript(destinationAddress, networks.regtest), // regtest
186
186
// refundFile.timeoutBlockHeight,
187
187
timeoutBlockHeight ,
188
188
feeEstimation [ currency ]
Original file line number Diff line number Diff line change @@ -386,8 +386,8 @@ const getClaimTransaction = (
386
386
swapInfo . invoice ,
387
387
swapInfo . quote ,
388
388
getNetwork ( swapInfo . quote ) ,
389
- // address.toOutputScript(swapInfo.invoice, getNetwork(swapInfo.quote)), // replace getNetwork with networks.regtest
390
- address . toOutputScript ( swapInfo . invoice , networks . regtest ) ,
389
+ address . toOutputScript ( swapInfo . invoice , getNetwork ( swapInfo . quote ) ) , // replace getNetwork with networks.regtest
390
+ // address.toOutputScript(swapInfo.invoice, networks.regtest),
391
391
) ;
392
392
393
393
return constructClaimTransaction (
@@ -406,8 +406,8 @@ const getClaimTransaction = (
406
406
} ,
407
407
] ,
408
408
// swapInfo.address
409
- // address.toOutputScript(swapInfo.invoice, getNetwork(swapInfo.quote)), // mainnet
410
- address . toOutputScript ( swapInfo . invoice , networks . regtest ) , // on regtest!
409
+ address . toOutputScript ( swapInfo . invoice , getNetwork ( swapInfo . quote ) ) , // mainnet
410
+ // address.toOutputScript(swapInfo.invoice, networks.regtest), // on regtest!
411
411
feeEstimation [ swapInfo . quote ]
412
412
// false
413
413
// swapResponse.timeoutBlockHeight // -> only for refund tx
You can’t perform that action at this time.
0 commit comments