
The wallet drawer holds the backup, restore, wipe, export, and network controls
Send leftover sats
Swaptopia shows sats left in the wallet in a banner on the swap screen: “N sats from an earlier swap are in this wallet. They join your next swap.” Leftover sats come from a failed payout you put off with Later, bitcoin that arrives after you cancel, a deposit over the maximum per swap, or a restore. Leftover sats join your next swap on their own. The quote then shows “Includes N sats already in this wallet from an earlier swap.” To send them out now instead:Set where the sats go
Select Send now in the banner
Paste the destination
Select Swap
Keep leftover sats from expiring
Leftover sats have a limited lifetime on Ark. Each time you open Swaptopia while it holds sats, it makes sure a refresh is booked with the Ark server for about two days before they expire. The server runs the refresh whether or not this page is open. Swaptopia collects the refreshed sats the next time you open it. You need to act in three cases:- The drawer says it could not check when the sats expire: Open Swaptopia again later, so it can book the refresh.
- The drawer says no refresh could be booked: Open Swaptopia again before the expiry the drawer shows.
- A banner on the swap screen asks you to swap the sats out: The sats expire within about a week. Send them on their own, or let them join a swap before then. The banner appears even when Swaptopia has booked a refresh.
Restore your wallet from the seed phrase
Restoring pulls the wallet’s sats on Ark back from the Ark server’s records. You need the 12 words you wrote down when you backed up the wallet.Open the restore screen
Enter the 12 words
Select Restore
The banner on the swap screen reports what the scan recovered
Wipe the wallet from this browser
Wiping deletes the wallet from this browser, on mainnet and on signet, and creates a new one with a new seed phrase.Select Wipe
Confirm the deletion
Back up the new wallet
Export the wallet data for an emergency exit (optional)
If the Ark server stops cooperating, Swaptopia cannot move your sats out on its own. If you run the Bark CLI, this export and your seed phrase let you run an emergency exit instead. Select Wallet > Export wallet data. Swaptopia saves a file namedswaptopia-bitcoin-wallet-<YYYY-MM-DD>.json on mainnet (swaptopia-signet-wallet-<YYYY-MM-DD>.json on signet), in the format of the Bark CLI’s wallet.json. The file holds none of your wallet’s keys, so it cannot spend without your seed phrase. It does record your addresses and payment history, so keep it private.
Run the emergency exit with the Bark CLI
Run the emergency exit with the Bark CLI
- Your 12-word seed phrase.
- The exported file.
- The Bark CLI installed on your computer.
Install the Bark CLI
bark --version answers.Create a wallet from your seed phrase
exit that uses Bark’s file storage, pointed at Second’s Ark server and Esplora. Replace the 12 words with your own.bark create contacts the Ark server. If the server does not answer, add --force to create the wallet without it. --force also deletes everything already in ./exit except config.toml and log files.Replace wallet.json with your export
./exit/wallet.json, keeping that name. Bark opens wallet.json whenever it exists in the data directory.Check that the Bark CLI sees your sats
amount_sat. An empty list means the file did not copy, or the wallet held no VTXOs when you exported it.Fund the on-chain wallet for the exit fees
exit_broadcast_fee_sat figure to that address, with a margin on top. The emergency exit walkthrough suggests at least 15,000 sats per VTXO. Wait for one confirmation before you start the exit.Start the exit for every VTXO
Progress the exit until it completes
--wait keeps the command running and rechecking every minute. Each VTXO needs several on-chain transactions to confirm, then a timelock to pass, so this can take hours or days. Without --wait, run the command again until its output reports "done": true.Claim the exited bitcoin
Test a swap on signet
Signet bitcoin has no value, so a mistake costs nothing.Switch to signet
Get signet sats from the faucet
- Bitcoin to Lightning: At the Send bitcoin stage, ask the faucet to send the amount shown to the funding address. Have a signet Lightning wallet app ready to create the invoice.
- Lightning to bitcoin: At the Pay this invoice stage, paste the invoice into the faucet. Have a signet
tb1…address ready to receive.
Run the swap