In this post and video i want to share the steps and requirenments to use the RSK-BTC bridge, also known as Two-Way Peg.
Requisites
- A BTC Wallet with funds
- Whitelist your address here: https://github.com/rsksmart/rskj/wiki/Whitelisting-in-RSK
Steps
1. Get the federation address by calling the Bridge contract
Navigate to https://mycrypto.com/contracts/interact and select from the network list in the right top corner “RSK”. then click on the “contracts” option in the menu.
Finally, to get the address, select the “bridge” contract, access it, select the “getFederationAddress” function and click on the “read” button to get the address.
2. Send funds to the Bridge
PLEASE, don’t follow this step until you are whitelisted!!!
Using your whitelisted address in BTC, send the amount to be converted to SBTC (Smart Bitcoin) to the federation address obtained in the previous step. Use the wallet you want. It’s just a BTC transaction.
The amount should be between 0.1 to 10 BTCs, no less, no more
3. Check the funds converted in RSK
In order to check the funds in RSK we need 2 tools:
- RSK Utils: converts the BTC address into an RSK address
- Navigate to https://utils.rsk.co
- Or, run this tool locally by downloading the code and run it from here: https://github.com/rsksmart/utils
- RSK Explorer: https://explore.rsk.co
[…] RSK – Bitcoin bridge (2-way peg) https://blog.alebanzas.com.ar/2018/07/rsk-bitcoin-bridge-2-way-peg/ […]