Skip to content

Peg using Trezor

Meri Herrera edited this page Nov 28, 2018 · 6 revisions

Summary

This document explains how to try the 2-way peg mechanism using Trezor. You can use 2-way peg in both Testnet and Mainnet.

General Requirements

From BTC to RBTC

Before start: read lock requirements

  1. Open trezor-peg.html in your web browser.

  2. Get your BTC Address clicking "Get BTC Address" button on the left top.

Get BTC Address

  1. Send this BTC address to RSK in Gitter in order to be added to Peg Whitelist.

  2. Go to some BTC Testnet Faucet and send some BTC to this address.

  3. Get your RSK Address clicking "Get RSK Address" button on the right top and keep it. You will use it to receive your RBTC from Bridge.

Get RSK Address

  1. Complete "From address Path" field using the given format.

  2. Get RSK Federation Address from "Get Federation Address" button, then complete "Federation Address" field.

Get RSK Federation Address

  1. Complete Transaction Amount in satoshis value.

  2. Complete "Input UTXO ID" with the hash of the UTXO that you will use. An easier way to find UTXO information is using this API replacing %address with your BTC address.

  3. Complete "Input UTXO Index" with the index of the same UTXO.

  4. Finally set "Input UTXO Amount", remember it has to be enough to complete the transaction.

Get RSK Fedetation Address

  1. Once the transaction is signed, press the link and set the tx hash in bitcoin explorer to broadcast.

Signed Transaction

  1. Wait the stipulated time.

  2. Then use our Testnet Explorer or Mainnet Explorer to see your RBTC balance.

From RBTC to BTC

Before start: read release requirements.

  1. Go to "Release process" section at the bottom.

  2. Get RSK Address clicking "Get RSK Address" button on the right top and keep it. Put this value in "From RSK Address" field.

  3. Set this RSK Address in the field.

  4. Set the tx Amount.

Release Process Fields

Release Process Completed

  1. Once you see the tx hash press the link, you will go to MyCrypto site. Set the hash in the field and send it.

Field:

My Crypto Step 1

Once completed:

My Crypto Step 2

Success:

My Crypto Step 3

  1. Wait the stipulated time.
Clone this wiki locally