Liquality builds solutions for a more open and equitable future, where anyone can access the global digital economy in a free, secure, and efficient way. Enabling easy, free, secure, and efficient atomic swaps is the first step towards realizing that vision.
Liquality currently offers three solutions:
All of our software is free and open source, and we've also completed a smart contract audit by ConsenSys Diligence. Liquality is currently incubated by ConsenSys.
You can follow us on Twitter, subscribe to our newsletter, read more about Liquality in our Blog, contribute to / follow our development progress on our Github, and join the community discussion on our Discord.
We also have Youtube tutorials on using the Liquality Wallet as well as the Atomic Swap Interface.
You do not need to register to access Liquality. Down the line we will consider enabling optional KYC integrations for institutions who need to meet specific compliance measures, while assuring that an alternative remains in place for everyone.
Liquality currently supports Bitcoin (BTC), Ethereum (ETH), and ERC20s Dai (DAI), USD Coin (USDC), Tether (USDT), Wrapped Bitcoin (WBTC), Uniswap (UNI), Rootstock (RBTC), NEAR (NEAR), and Polygon (MATIC) for atomic swaps.
In the Liquality Wallet, users can manage additional ERC20s (as of version 0.7.0) though atomic swap functionality is still limited to the tokens listed above.
Moving forward, we plan to support more chains and tokens for atomic swaps, including: Liquid Network, Monero (XMR), Zcash (ZEC), Litecoin (LTC), and more. If you would like to integrate a specific token / chain into our cross-chain atomic swap protocol, please check out and contribute to the open source Chain Abstraction Layer.
Since launching our web extension wallet in late September 2020, Liquality continues to prioritize and build features based off user feedback. Over the coming months, users can expect the following features in the wallet:
Whether you are using the Liquality Wallet or Swap Interface for atomic swaps, you are always in complete control and custody of your funds. When a user initiates an atomic swap, their funds are locked in an escrow (HTLC) until the counterparty has locked their funds in an escrow - these escrows cannot be tampered with or hacked and they are bound by the parties' private keys. In other words, the atomic swap is programmatically guaranteed to ensure a successful swap or refund to both parties. As long as you properly secure your private keys, your funds are safe.
Contributors are staunch advocates for the "Don't trust; verify" movement. You don't have to trust Liquality, and you shouldn't need to. Here are some factors that may affect your decision to use the interface: 1) There is no third party in Liquality swaps as users own and deploy their own contracts for each atomic swap; 2) atomic swap parameters are verified by your browser to make sure you are running the latest version of the code and deploying the correct contracts; and 3) everything we do is completely open source so you can explore, download, run, and fork our repositories at any time.
We also made a list of the known limitations of atomic swaps and Liquality software - feel free to check it out in this blog post!
Liquality does not and could not charge an exchange fee, as atomic swaps are entirely peer-to-peer via user-owned-and-deployed contracts. This makes using Liquality cheaper and more secure than existing alternatives, like Changelly, ShapeShift, etc. Users still have to pay mining fees on the respective blockchains they are swapping on, and those will vary depending on each network's transaction congestion.
We believe the exchange of value is a universal human right - the base layer for exchange should remain accessible, neutral, and censorship-resistant, not monetized by unnecessary intermediaries.
Liquality can make money by providing users with useful products and value-add services that sit on top of the base layer of exchange, bringing us closer to shared, accessible, and efficient liquidity networks. For example, Liquality can operate a market maker for atomic swaps, enabling users to simply atomic swap with the market maker and not have to search for a counterparty.
We recommend reading our blog post that covers exactly this topic! The blog post describes the following items as well as how Liquality addresses them:
We aim to be as transparent with our users as possible and identify where we can turn our weaknesses into strengths. If you have questions or comments, feel free to reach us on Twitter or Discord.
Because atomic swaps are executed on-chain, they will move at the speed of the slowest chain - if a swap involves Bitcoin, each step that involves a Bitcoin transaction will on average take ~10 min (longer if the network is congested). This means that most swaps (eg. between Bitcoin and Ethereum/ERC20 tokens) will take ~11 minutes, and under 1 minute if the swap is solely based on Ethereum tokens.
We are considering other configurable options to speed up cross-chain swaps, including near-real-time swaps via Layer 2 solutions and 0 confirmation Bitcoin swaps. In the meantime, users can use faster network fees to ensure their transactions are confirmed by miners as quickly as possible.
Yes - please leave your browser window open and connected to the Internet.
Also, if you are using the Atomic Swap Interface, please make sure to save your backup link so that you can get back to your swap without any issues.
Atomic swaps enables the peer-to-peer exchange of one cryptocurrency for another without trusted third parties.
In order for a swap to be "atomic" - to either happen successfully or not at all - both parties of a swap must acknowledge the receipt of funds within a specified timeframe using a cryptographic hash function. If one of the parties fails to confirm the transaction within the timeframe, then the entire swap is voided and the escrowed funds are refunded to the respective parties. Note that there are no scenarios in which one party controls both coins simultaneously, minimizing counterparty risk and exchange fees. Learn more on our Atomic Swaps Explainer, as well as our Hash Time Locked Contract (HTLC) explainer.
Hash Time Locked Contracts (HTLCs) are just like escrows in that they enable conditional payments. Atomic Swaps, the Lightning Network, and other technologies are based off HTLCs.
As its name denotes, an HTLC is a time-bound smart contract between parties that involves the generation of a cryptographic hash function, which can be verified between them. HTLCs form the foundation for atomic swaps - a user and her counterparty create these HTLC escrows on their respective chains, and the funds that are deposited into the two escrows of the swap are properly locked and released. This dual escrow mechanism reduces the need to trust the counterparty for proper execution of the trade. Liquality's cross-chain atomic swaps are a modification to the Tier Nolan approach to atomic swaps and leverages HTLC standards BIP199 and ERC1630.
Whereas existing decentralized exchanges force users to swap cryptocurrencies through a centrally-owned hub contract (where the admins of the contract control its functionality - e.g. Bancor's kill switch), Liquality empowers its users to easily own and deploy contracts for each atomic swap. The Liquality open-source smart contract templates leverage community standards for HTLCs, have been reviewed by professional security experts, and are unique / disposable to each swap.
This makes atomic swaps of cryptocurrencies:
Learn more about why decentralized exchanges (DEX) are insecure and why user owned-and-deployed disposable contracts are beneficial.
Currently, the Liquality Atomic Swap Wallet and Atomic Swap Interface work on both Chrome and Brave browsers.
We will be adding support for other browsers, such as Firefox and Safari over the coming months.
As of this writing (November 2020), we do not yet support mobile for cross-chain atomic swaps although it is on our medium term roadmap. If you have the technical skills and interest, please check out the Chain Abstraction Layer and expand it to support mobile transactions - we have made the Chain Abstraction Layer modular and simple enough so that the community can expand it beyond our imagination!
The Liquality Wallet is our flagship product. It's a web extension for accessing Bitcoin, Ethereum Web3, and Rootstock applications in your browser. This MetaMask alternative supports multiple blockchains and provides the easiest way to flip between BTC, ETH/ERC20s, RSK, and NEAR tokens with built-in one-click atomic swaps.
Check out our Basics Guide and Youtube tutorial here
Please use the Intercom support chat on the bottom right corner on our website. If you do not see the Intercom icon, please email us at info@liquality.io.
First, you’ll need to check if that fractional status is red. To do so, open your wallet, select the asset you were selling, click on the swap in progress to display a dialog window, scroll to the bottom, then click the “Retry” option.
If your transaction has not yet been confirmed, you can also speed up your transaction. Click on your pending swap to expand the swap details. You’ll see a timeline of transactions pertaining to your atomic swap, like “Locking BTC” or “Claim ETH”. Click “Speed Up” on the relevant transaction, highlighted in purple. Increase the mining fees you are willing to pay, using the average and fast prices as a guide. Once you are happy with the number you’ve inputted, click “Update”. This will speed up your transaction.
If the fractional status is not red, then please contact us via Intercom support on the bottom right corner on our website and a team member will assist you in recovering your swap. If you do not see the Intercom icon, please email us at info@liquality.io. Your funds are likely safe and refundable, though your atomic swap may not have executed within the expiration time. Please do not uninstall your extension from your browser.
First, you’ll need to check if that fractional status is red. To do so, open your wallet, select the asset you were selling, click on the swap in progress to display a dialog window, scroll to the bottom, then click the “Retry” option.
If your transaction has not yet been confirmed, you can also speed up your transaction. Click on your pending swap to expand the swap details. You’ll see a timeline of transactions pertaining to your atomic swap, like “Locking BTC” or “Claim ETH”. Click “Speed Up” on the relevant transaction, highlighted in purple. Increase the mining fees you are willing to pay, using the average and fast prices as a guide. Once you are happy with the number you’ve inputted, click “Update”. This will speed up your transaction.
If the fractional status is not red, then please contact us via Intercom support on the bottom right corner on our website and a team member will assist you in recovering your swap. If you do not see the Intercom icon, please message our support channel in our Discord or email us at info@liquality.io. Your funds are likely safe and refundable, though your atomic swap may not have executed within the expiration time. Please do not uninstall your extension from your browser.
If your transaction has not yet been confirmed, you can speed up your transaction. Click on your pending swap to expand the swap details. You’ll see a timeline of transactions pertaining to your atomic swap, like “Locking BTC” or “Claim ETH”. Click “Speed Up” on the relevant transaction, highlighted in purple. Increase the mining fees you are willing to pay, using the average and fast prices as a guide. Once you are happy with the number you’ve inputted, click “Update”. This will speed up your transaction.
Please contact us via Intercom support on the bottom right corner on our website and a team member will assist you in recovering your swap. If you do not see the Intercom icon, please message our support channel in our Discord or email us at info@liquality.io. Please do not uninstall your extension from your browser.
If you uninstall the extension, you will lose your history as it lives inside that extension. If you had a pending swap during which you uninstalled the extension, please contact us via Intercom support on the bottom right corner on our website and we will help you recover your swap. If you do not see the Intercom icon, please message our support channel in our Discord or email us at info@liquality.io.
Yes - Liquality adheres to the BIP39 seed phrase mnemonic standard, so any other wallet that supports the BIP39 standard should allow you to import your recovery words into them. Please be careful about where you input your seed phrase!
At the time of writing (2021-06-27), yes you can!
Just Chrome and Brave for now. You can install our Chrome extension here, and for instructions on installing the Liquality Atomic Swap Wallet on Brave, please view this guide.
The Liquality Atomic Swap Interface enables users to atomic swap cryptocurrency across blockchains without having to trust a custodian or counterparty. The interface currently supports BTC, ETH, DAI, USDT, USDC, WBTC, UNI, RBTC, NEAR, and MATIC.
If the quote timer has expired, you’ll be taken to a refund screen. You’ll be able to reclaim your funds here. Just click “Reclaim,” and follow the prompts on your wallet. Note: this refunding transaction will incur network fees (eg. mining, gas), so make sure you have a balance greater than the amount you are looking to trade. See How does the “Quote Expires” timer impact my trade? for more info.
If you haven’t yet initiated your swap then you can simply press the “Cancel” button to abort the trade.
However, if you’ve already initiated your swap, you can no longer cancel your swap as blockchain transactions are irreversible. Your swap will execute at the fixed rate you were quoted. If you choose not to claim your funds during the established swap period, you will be able to refund your locked funds by coming back to the page, using your swap link, and clicking on “Reclaim”. Note: this refunding transaction will incur network fees (eg. mining, gas), so make sure you have a balance greater than the amount you are looking to trade.
When you “Get a Quote” for a trading pair, Liquality produces a quote that is available for you to trade for a limited period of time. If you initiate a swap during this time, you are guaranteed to trade at the given fixed rate - you will face no volatility during this time as prices are locked in. However, if you fail to initiate a swap with Liquality during the quote period, or your initiating transaction does not confirm on the blockchain in time, the quote will expire and you will have to start a new swap.
To accept the quote, you must connect your wallets and initiate the first transaction of a swap.
Note: the Quote Timer (how long the rate provided is valid for) differs from the escrow timer (maximum amount of time your funds could be locked during the swap) .
We are working on adding this feature. Please check back in the coming months.
The quoted rate is calculated using one whole denomination of the asset you have and are looking to trade. For example, if you have 0.05 BTC and want ETH, the quoted rate is the amount of ETH equal to 1 BTC. At the time of writing, the quote is 1 BTC about 46 ETH, so for your 0.05 BTC, you can expect to receive ~2.3 ETH.
Select the “Change Wallet” option, and then select “Cancel”.
The user interface should prompt you to connect your wallet when required. If you have disconnected your wallet, you can reconnect it by selecting the “Connect Wallet” option. If you are using your Ledger, please make sure you are in the correct coin’s account (e.g. the Bitcoin app on your Ledger) when connecting your wallet.
First, you must select the assets and amount you want to trade. For example, you might be looking to swap 1 BTC for DAI. Click “Get a Quote” to see your exchange rate for this trade.
If the quoted rate looks good to you, then “Connect Wallets To Accept Quote”. Connect your wallets and then “Initiate Swap.” Once you click “Initiate Swap,” your wallet will prompt you to sign and broadcast your transaction to its respective blockchain network to lock in your quote and initiate the swap. In this example, you will be locking in your 1 BTC into a smart contract on the Bitcoin blockchain. Note: your initiating transaction will incur network fees (eg. mining, gas), so make sure you have a sufficient balance to cover the fees and amount for the swap.
After you’ve initiated the swap, your trading partner (Liquality) will reciprocate the trade, by creating its own respective escrow. Following the example above, Liquality will be locking DAI into a smart contract on the Ethereum blockchain. Upon confirmation of Liquality’s transaction, you will then have the ability to claim your DAI. Note: claiming your DAI will incur network fees (eg. mining, gas), so make sure you have a balance greater than the amount you are looking to trade. Additionally, you can only claim your DAI during the claim time window.
In order to claim, you need a balance to pay for the claiming transaction. For example, if you’re claiming DAI, you’ll need some ETH to pay for the claiming transaction’s gas. If you are claiming Bitcoin, you don’t need to have Bitcoin already in your wallet, as the mining fees are drawn from the existing bitcoin contract you are claiming from.
After you’ve claimed your funds, your side of the swap is complete. You can see that your claim has been confirmed on its respective blockchain using a block explorer like EtherScan.io for Ethereum-based transactions, Blockstream.info for Bitcoin transactions, and RSK Explorer for Rootstock transactions. We are working on a more comprehensive dashboard that will show you all your completed swaps.
A block explorer is a piece of software used to view all transactions for a particular blockchain network. Etherscan is an Ethereum-focused block explorer, Blockstream is a Bitcoin-focused block explorer, RSK Explorer is a Rootstock-focused one, and NEAR Explorer is a NEAR-focused one; these represent industry standards.
Blockchain network congestion and fee spikes may impact the execution of your atomic swap. For example, if you were atomic swapping your BTC for ETH and initiated your BTC transaction at 1 satoshi / byte, and the network fees jumped to 20 satoshis / byte, miners would deprioritize including and confirming your BTC transaction in the next block. You may want to "speed up" / fee bump your pending transaction if you are in a hurry.
For Bitcoin-based transactions: To see the state of your Bitcoin transaction, you can use the
Blockstream block explorer link we provide. To see the state of the Bitcoin network, you can use tools like Johoe’s Bitcoin Mempool Statistics to view spikes in network congestion and unconfirmed transactions’ fees.
For Ethereum-based transactions: To see the state of your Ethereum-based transaction (ETH, ERC20), you can use the Etherscan block explorer link we provide. To see the state of the Ethereum network, you can use tools like Etherscan’s Gas Tracker, to view spikes in network congestion and unconfirmed transactions’ fees.
For Rootstock-based transactions: To see the state of your Rootstock-based transaction, you can use the RSK Explorer link we provide.
If you haven’t copied your backup link after initiating your swap or when your swap was in progress, please contact support through our Intercom chat in the bottom right corner of the screen (screenshot). Make sure to copy and paste your backup link somewhere safe next time.
Information for recovering your previous swaps should be available from data stored on your local browser’s local storage. We provide a very simple interface which provides you access to your previous swaps here.
Clicking the Swap Link Copy button on the “Awaiting Confirmation” changes the current URL. But don’t worry - your swap is still intact. If you’d like to make sure, you can paste your copied link in a new browser tab and see the same details as your current tab.
The wallets we support like MetaMask and Ledger only support ERC20s like DAI, USDC, USDT, WBTC, and UNI on mainnet, not testnet. We’ve deployed a dummy data ERC20 coin called MIDMAN on testnet for testing purposes. MIDMAN has no tradeable value.
Currently, Liquality will reciprocate your trade after your transaction is confirmed 1-10x depending on which blockchain you’re using. In the future, we will enable users to configure their preferred number of confirmations.
Currently, you only need to wait for Liquality’s reciprocating transaction to confirm once before claiming your funds. In the future, we will enable users to configure their preferred number of confirmations.
Currently, you need to wait for one confirmation after claiming your funds to spend them. In the future, we will explore making the number of confirmations a configurable parameter.
There are two transactions involved in doing ERC20 token swaps. The first is for deploying the escrow contract for the terms of the swap and the second a transaction instructing the token contract to transfer funds to the aforementioned swap contract. In this scenario, you’d have to wait for two confirmations (one from each transaction) for your swap initiation.
This is in contrast to wrapping ETH in order to trade ERC20s on Ethereum-based Decentralized Exchanges.
This happens when you are initiating a swap for an ERC20 token. See “Why is there a long delay when initiating a swap from an ERC20 token?”
We currently have a fee estimation system which determines the fee based on the best probability of being included in the next block. We are looking at adding a feature where you can set and configure this based on your own preferences.
You might see something like: “This transaction could save 46% on fees by upgrading to native SegWit-Bech32 or 34% by upgrading to SegWit-P2SH”. We offer users the ability to trade bitcoin using their native SegWit-Bech32 addresses. Native SegWit transactions are more cost-efficient when compared to legacy transactions, have greater likelihoods to confirm faster than legacy transactions, and help the network scale.
Bitcoin addresses that start with a `bc1` represent the native version of SegWit addresses; users will gain all the benefits listed above.
Bitcoin addresses that start with a `3` represent the backwards-compatible version of SegWit addresses (nested p2sh); users will gain all the benefits listed above, but to a lesser degree. We currently do NOT support this wrapped version of SegWit.
Bitcoin addresses that start with a `1` represent legacy addresses - these are not SegWit addresses, and users will not gain the benefits listed above.
You can follow this blog post tutorial if you'd like to gain the benefits of Native SegWit. Please note that at this time, Liquality only supports the first BIP44 account for Ledger devices.
We recommend that users use a native segwit bitcoin wallet as that will essentially save them more on transaction fees than a non-segwit wallet will. As noted above, Liquality currently only supports the first BIP44 account for Ledger devices. To see which of your current accounts is the first, go through the following steps:Check Ledger Live → Accounts → Pick an Account → Click the Wrench on the top right (Edit Account) → Advanced Logs → “freshAddressPath” → See that it follows the scheme
There are currently technical challenges preventing the execution of atomic swaps using wrapped Segwit addresses.
Please refer to (LINK: Q: The Blockstream.info block explorer shows I could’ve saved x% by using Native SegWit. How do I use Native SegWit transactions to get those fee savings?) and (LINK: Q: What is the difference between “Legacy” and “Native Segwit”?) for more information.
We currently support using the first account which needs to meet the requirements for doing a swap. BIP44 1st account, see above (LINK: Q: What is the difference between “Legacy” and “Native Segwit”?).
BIP44 1st account, see above (LINK: Q: What is the difference between “Legacy” and “Native Segwit”?).
The “Data Present” Ledger warning occurs when you are calling any function on a smart contract. If you have other questions regarding this Ledger-specific quirk, please contact Ledger support.
Your wallet might be showing “Amount: ETH: 0” because it does not yet include support for showing balances for tokens other than the blockchain’s native asset or because it is unable to read Hash Time Locked Contracts properly. For example, your Ledger may support showing ETH balances when signing transactions, but not ERC20s. Regardless, you will be able to claim your funds successfully in the amount shown in the swap interface.
If you’d like to see another token supported by our atomic swaps, please reach out on Telegram.
External contributions to extend our open-source libraries to include other tokens are welcome. Our Chain Abstraction Layer currently supports UTXO-based, account-based blockchains, and ERC20s.
Depending on the asset being swapped, atomic swaps collectively involve 4 transactions collectively, two on each side of the swap (A initiates, B reciprocates, A claims, and B claims). The exception of this relates to ERC20 tokens, which require an additional transaction for transferring to the swap contract.
Signing messages when generating secrets required for the swap.
Signing transactions which deploy the swap contract.
Signing transactions for funding contracts and claims or refunds.
In order to gain its benefits and guarantees, atomic swaps require multiple transactions, as highlighted above. The process for signing messages and approving swaps depend on the wallet vendor’s security implementations.
See more: (Q: How many transactions are required for an atomic swap?).
To understand the wallet interactions behind each signature, see our answer to (Q: What are the prompts my wallet is requesting from me?).
Please make sure you are using the latest version. At the time of writing, the version is: 7.7.8.
Please make sure you are using the latest version. As of writing, the version is: Version 80.0.3987.149 (Official Build) (64-bit).
Please make sure you are running the latest firmware and software on your Ledger device and applications. At the time of writing, the latest versions for a Ledger Nano S are:
Live 2.0.1
Secure Element SE 1.6.0
Microcontroller MC 1.12
ETH 1.2.12
BTC 1.3.21
BTC Test 1.3.21
For Ethereum, there are special requirements:
Debug Data: (1) Login to your Ledger device using your pin, (2) Select the Ethereum wallet App, (3) Select “Settings”, (4) Select and Turn off “Debugging information” or “Display Data”
Contract Data: (1) Login to your Ledger device using your pin, (2) Select the Ethereum wallet App, (3) Select “Settings”, (4) Ensure “Contract Data” is “Allowed”
(1) Log in to ledger live. (2) Select the settings “cog” top right. (3) Click on the “Experimental features” tab. (4) Enable “Developer Mode”. (5) Go to Ledger Live’s Manager and you should now see the testnet option for Bitcoin. Nothing is required on the Ethereum side.
Open MetaMask. On the top right, you’ll see a network settings button. Click the button and select the “Rinkeby Test Network” option from the dropdown menu. For more MetaMask related questions, explore their FAQ.
The swap interface will need access to your exported xpubkey to enhance the user experience when determining wallet balances and spendable amounts.
We pull from price feeds like Coinbase, Coinmarketcap, BitMEX, etc. and include a competitive spread. This quoted rate does not include network fees (gas, mining).
We are working to make network fees more transparent and for users to be able to customize them.
So you’ve just initiated a swap by sending a transaction to a blockchain. The transaction is awaiting confirmation from the network. For Bitcoin transactions, this typically takes 10 minutes; for Ethereum-based transactions, this typically takes 30 seconds.
So you’ve just claimed your funds by issuing a “claim” transaction to a blockchain. The transaction is awaiting confirmation from the network. For Bitcoin transactions, this typically takes 10 minutes; for Ethereum-based transactions, this typically takes 15 seconds.
The differences in amounts is from the network fees paid from each transaction of the atomic swap (eg. mining, gas).
Currently the fees required for claiming or refunding bitcoin are subtracted from the swap amount. For ethereum, the fee is taken from your wallet balance. We are looking at enabling ways that allow you to pay fees for bitcoin claims using funds from your wallet instead of from the hash time locked contract. See (Q: I’m trying to claim my funds, but don’t have enough funds to claim?) for more info.
Liquality requires trading amounts above a threshold, to ensure that the value of the swap exceeds the network fees required. If an amount is too low, make sure to increase it to cover all the network fees a blockchain takes. This means that the amount you are going to send and the amount you are going to get should be enough to cover input and output network fees taken by a blockchain.
We are not an exchange. Instead, users swap assets peer-to-peer using transactions they themselves own and issue. We developed this peer-to-peer software to mitigate the threat of reincarnated intermediaries on decentralized networks.
Liquality does not have control or a role in these peer to peer transactions. Liquality cannot stop trades or kill contracts. Liquality does not introduce a token that creates friction for a user’s swap experience. Liquality software is fully open source and users are able to run the application on their own. Liquality is cross-chain and architected to be blockchain agnostic, therefore removing liquidity siloes from single chains.
All interactions are intentionally developed to ensure that you can run the Liquality stack on your own equipment without any dependence on a third party. The Liquality stack includes:
Nodes [Bitcoin, Ethereum]
Block explorers [Liquality Transaction API, Esplora]
Exchange rates fees [Configurable options]
This is due to mining fees that are taken out of users' swaps. Liquality's interface estimates mining fees in real time so that your swap is included and mined within the next two blocks. These mining fees will vary depending on each network's transaction congestion and will be shown to you in your MetaMask or Ledger wallet respectively.
If a counterparty backs out of a swap, you will be able to refund your assets after the lock up period (in the Alpha launch, the lock up period is set for 12 hours - this parameter will be configurable moving forward). After the lock up period, a refund screen will appear on the interface so you can refund your assets. You will need your wallet to sign another transaction in order to unlock and refund the funds held in the HTLC escrow. There will never be a situation where you give away your assets without getting the counterparty's assets in return. The atomic swap either happens for both parties or none at all and you all get your assets back.