This tutorial will walk you through writing a basic front-end app that uses RenVM to mint BTC to an Ethereum smart contract. It is designed to be a quick introduction to RenVM and should be read together with the other examples, which provide more in-depth explanations.

You'll get started by writing and deploying a smart contract to Ethereum Kovan, and then you'll use RenJS to build a simple user interface that can communicate with the smart contract. You'll end up with a website that you can use to deposit/withdraw testnet BTC to/from Kovan Ethereum using RenVM.

It will look like this:

Screenshot of the app that you will build. Try it here: https://renproject.github.io/renjs-tutorial

Let's begin with setting up the smart contract: