NOTE: THIS IS NOT PRODUCTION READY - NOT YET RELEASED

Preface

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>

Table of Contens

Prerequisites

The refund script should be executed in a Linux environment.

0. WSL

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

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

image.png

It’s possible you’re asked to provide a new user name and password.

1. Updates

After installing WSL Ubuntu 22.04 LTS, updates need to be downloaded and applied