File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 33## Unreleased
44
55- added: (LI.FI) Add SUI blockchain support for swaps via Aftermath and Bluefin7k DEXs
6+ - changed: Include ` orderUri ` on Bridgeless swaps
67- fixed: Fix ` bridgeless ` Zano burn asset params
78
89## 2.33.0 (2025-09-09)
Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ const swapInfo: EdgeSwapInfo = {
4040 pluginId,
4141 displayName : 'Bridgeless' ,
4242 isDex : true ,
43- orderUri : undefined ,
44434544}
4645
4746const BASE_URL = 'https://rpc-api.node0.mainnet.bridgeless.com'
47+ const ORDER_URL = 'https://tss1.mainnet.bridgeless.com'
4848
4949const EDGE_PLUGINID_CHAINID_MAP : Record < string , string > = {
5050 bitcoin : '0' ,
@@ -237,11 +237,18 @@ export function makeBridgelessPlugin(
237237 }
238238 }
239239
240+ // chainId/txid/outputIndex
241+ // output index is 0 for both Bitcoin (output of actual deposit) and Zano (index of serviceEntries with deposit instructions)
242+ // txid must be 0x prefixed
243+ const orderId = `${ fromChainId } /0x{{TXID}}/0`
244+
240245 const assetAction : EdgeAssetAction = {
241246 assetActionType : 'swap'
242247 }
243248 const savedAction : EdgeTxActionSwap = {
244249 actionType : 'swap' ,
250+ orderId,
251+ orderUri : `${ ORDER_URL } /check/${ orderId } ` ,
245252 swapInfo,
246253 isEstimate : false ,
247254 toAsset : {
You can’t perform that action at this time.
0 commit comments