Getting Started with RenJS

This tutorial will walk you through writing a basic front-end app that uses RenVM to shift 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 with writing and deploying the smart contract to Ethereum Kovan, and then you'll use RenJS to build a simple user interface that can communicate the smart contract. You'll end up with a website that you can use to deposit/withdraw BTC to/from Ethereum Kovan 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: