This version of the 2-Way Peg App takes advantage of the new features introduced in the Rootstock Iris network upgrade, allowing users to select the Rootstock account where they want to receive the funds.
Additionally, users can check the status of their peg-in transactions within the app, making it easy to have an estimate of the time remaining until the funds are credited to the RSK account.
Future versions of the 2-way peg app will include support for software wallets and fast BTC-RBTC conversions (using the Flyover protocol), among other things.
Please be aware that this is a beta release and your feedback is welcome, you can drop a message on the RSK Open Slack.
Go to the Rootstock 2 Way Peg application page.
The switch at the top right allows you to switch from dark to light mode.
To swap from BTC to RBTC, you need to connect a hardware wallet. At the moment, only Ledger and Trezor are supported, but support for other wallets, including software wallets, will be available soon. Metamask and Wallet Connect can be connected to your RBTC receiving address.
Before you start, you must accept the terms and conditions by clicking I acknowledge and accept terms and conditions.
Click on the BTC TO RBTC box, it will ask you to connect your hardware wallet with the Rootstock account. As this example was made with Ledger, you must log in to the RSK app on your Ledger.
After logging in you will see this screen. Although it doesn't say so, you must now exit the RSK app on your Ledger and enter the Bitcoin app so that the app can see the funds you wish to enter into Rootstock.
Click on your device, in this case, Ledger.
If you did not previously log in to the Bitcoin app on your Ledger, it will give an error, but when you close it will show you the following screen to connect your Ledger.
Your Ledger is already connected otherwise it will not let you perform the first step, so just make sure you log in to the Bitcoin app to continue.
Once connected, this screen will appear so that you can complete the data of the sticker.
You must select the type of account from which you are going to transfer the funds, type the amount minus the fees indicated below, and select the destination address in Rootstock.
Then, under Features, you will see the details of the transaction.
Finally, a summary is displayed to verify all the data entered.
If everything is in order, click on confirm. It will then show you all the interactions you need to do in your Ledger. Click the button to send the funds to the Pow Peg.
Done, you have sent the funds and after the estimated confirmation time, you will receive the RBTC.
Copy the transaction ID so you can view the status at a later time.
If you click on See Transaction, you will see the initial details of the transaction.
After the wait, you will have the funds available to mine DOC or BPRO to make DeFi in Bitcoin.
The Peg Out process is as easy as the Peg In. Go to the 2way Peg App and connect your wallet.
Select the wallet of your choice and sign the message. More options will be available soon.
The app uses one unified interface to guide you through the entire peg-out process. When prompted, input the required fields.
Keep in mind that you should check the Bitcoin on-chain fees. The 2way Peg app is meant for big amounts. The minimum accepted value is rBTC 0.004.
There's a method (getEstimatedFeesForNextPegOutEvent) to estimate peg-out fees on Rootstock's Github.
Otherwise, you can check it when you fill out the peg-out form.
You can check the Bitcoin destination address although this is optional. Then click Send and check the status of the transaction.