BTC can be recovered from the tBTC v2 bridge after the expiration of the “refundLockPeriod” which is currently set 9 months. The reasons for this time frame are beyond the scope of this article.
<aside> 🚨
The official docs are available here:
https://github.com/keep-network/tbtc-v2/blob/main/typescript/scripts/README.adoc
</aside>
The refund script should be executed in a Linux environment.
If you’re on Windows, you can use WSL, Windows Subsystem for Linux. It’s a free app from the Windows App Store. Search for “WSL Ubuntu 22.04 and install.
Ubuntu 22.04 LTS in the Microsoft Windows App Store
Start the application once it’s installed.
You should see a terminal command prompt similar to
It’s possible you’re asked to provide a new user name and password.
After installing WSL Ubuntu 22.04 LTS, updates need to be downloaded and applied