Book Image

Ripple Quick Start Guide

By : Febin John James
Book Image

Ripple Quick Start Guide

By: Febin John James

Overview of this book

This book starts by giving you an understanding of the basics of blockchain and the Ripple protocol. You will then get some hands-on experience of working with XRP. You will learn how to set up a Ripple wallet and see how seamlessly you can transfer money abroad. You will learn about different types of wallets through which you can store and transact XRP, along with the security precautions you need to take to keep your money safe. Since Ripple is currency agnostic, it can enable the transfer of value in USD, EUR, and any other currency. You can even transfer digital assets using Ripple. You will see how you can pay an international merchant with their own native currency and how Ripple can exchange it on the ?y. Once you understand the applications of Ripple, you will learn how to create a conditionally-held escrow using the Ripple API, and how to send and cash checks. Finally, you will also understand the common misconceptions people have about Ripple and discover the potential risks you must consider before making investment decisions. By the end of this book, you will have a solid foundation for working with Ripple's blockchain. Using it, you will be able to solve problems caused by traditional systems in your respective industry.
Table of Contents (7 chapters)

Setting up the development environment

You need to have NodeJS and npm installed in your system (node version 4.x or higher).

Let's start by creating a directory. The command is the one given in the following:

mkdir MyFirstRippleApp && cd MyFirstRippleApp

Now, let's create package.json in our newly created directory as shown in the following, which will install the dependencies we need to work with Ripple's APIs:

"name": "my_ripple_experiment",
"version": "0.0.1",
"license": "MIT",
"private": true,
"//": "Change the license to something appropriate. You may want to use 'UNLICENSED' if you are just starting out.",
"dependencies": {
"ripple-lib": "*",
"babel-cli": "^6.0.0",